diff options
| author | martin <martin@NetBSD.org> | 2010-08-01 20:09:33 +0000 |
|---|---|---|
| committer | martin <martin@NetBSD.org> | 2010-08-01 20:09:33 +0000 |
| commit | d235e83c9d6e1b3b2c64c40c587108686732d8ff (patch) | |
| tree | 2b43302baeab6d96d6b36da9564cce6d006a2663 /sys/dev/microcode | |
| parent | 45a4c8de5d0f092c77714f5ddeaad224f752a279 (diff) | |
Remove old style firmware hooks for undistributable bootloader of Diehl
active ISDN cards.
Diffstat (limited to 'sys/dev/microcode')
| -rw-r--r-- | sys/dev/microcode/daic/Makefile | 35 | ||||
| -rw-r--r-- | sys/dev/microcode/daic/dnload.h-dist | 49 | ||||
| -rw-r--r-- | sys/dev/microcode/daic/gendnloadh | 54 |
3 files changed, 0 insertions, 138 deletions
diff --git a/sys/dev/microcode/daic/Makefile b/sys/dev/microcode/daic/Makefile deleted file mode 100644 index b34bddb5519..00000000000 --- a/sys/dev/microcode/daic/Makefile +++ /dev/null @@ -1,35 +0,0 @@ -# The Microcode for the Eicon.Diehl active ISDN cards comes in two parts. -# A tiny bootstrap loader delivered by Diehl as "dnload.bin" and a -# D-channel protocol specific file, e.g. "te_etsi.sx" for the SX card -# running E-DSS1. -# We can not deliver either of these files. The user is assumed to use -# the ones distributed with his card or download the newest version from -# http://www.diehl.de. -# The bootstrap loader is compiled into the kernel, as it is needed to -# identify the card. The protocol specific part is later downloaded by -# the ISDN management daemon. - -.NOPATH: dnload.bin -.if exists(dnload.bin) -# Real part - the bootstrap image is available. We convert it into a -# static byte array via the "gendnloadh" shell script. -dnload.h: dnload.bin - @rm -f dnload.h - @${HOST_SH} ./gendnloadh -.else -# Fake part - user did not copy the necessary file here. Compilation will -# fail with an error explaining his fault. -dnload.h: dnload.h-dist - cp dnload.h-dist dnload.h -.endif - -clean: - rm -f dnload.h - -cleandir: clean - -all: includes - -includes: dnload.h - -.include <bsd.kinc.mk> diff --git a/sys/dev/microcode/daic/dnload.h-dist b/sys/dev/microcode/daic/dnload.h-dist deleted file mode 100644 index 88cbc7cbd1a..00000000000 --- a/sys/dev/microcode/daic/dnload.h-dist +++ /dev/null @@ -1,49 +0,0 @@ -/* $NetBSD: dnload.h-dist,v 1.6 2008/04/28 20:23:53 martin Exp $ */ - -/*- - * Copyright (c) 2002 The NetBSD Foundation, Inc. - * All rights reserved. - * - * This code is derived from software contributed to The NetBSD Foundation - * by Martin Husemann <martin@NetBSD.org>. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -/* - * File: dnload.h - * This file is usualy generated from the binary bootstrap image - * delivered with the ISDN controller. Just copy the file "dnload.bin" - * to this directory, run "make" here and the kernel will compile fine. - * If you don't have this software, download the newest version of - * the DOS driver software for your card from http://www.diehl.de, - * extract the archive and copy "dnload.bin" here. - */ - -#error "You did not copy 'dnload.bin' to sys/dev/microcode/daic and ran 'make' there" - -/* ------------------------------------------------------------------------- */ -static u_int8_t dnload[] = { - 0 -}; - -/* ------------------------------------------------------------------------- */ diff --git a/sys/dev/microcode/daic/gendnloadh b/sys/dev/microcode/daic/gendnloadh deleted file mode 100644 index aae1b31e221..00000000000 --- a/sys/dev/microcode/daic/gendnloadh +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/sh - -# -# Copyright (c) 2002 The NetBSD Foundation, Inc. -# All rights reserved. -# -# This code is derived from software contributed to The NetBSD Foundation -# by Martin Husemann <martin@NetBSD.org>. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS -# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS -# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -echo "Generating dnload.h from dnload.bin" - -cat << EOF > dnload.h -/* - * File: dnload.h - * Generated from: `ls -lT dnload.bin | awk '{print $10, $6, $7, $8, $9}'` - * By: `id -un`@`hostname`, `date` - * - * DO NOT EDIT THIS FILE! - */ - -/* ------------------------------------------------------------------------- */ -static u_int8_t dnload[] = { -EOF - -hexdump -v -e '" /* %04.4_ax */\t" 8/1 "0x%02x, " "\n"' -s 0x200 dnload.bin >> dnload.h - -cat << EOF >> dnload.h - 0 -}; - -/* ------------------------------------------------------------------------- */ -EOF |
