From owner-freebsd-hackers Mon Apr 10 20:33:14 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id UAA06490 for hackers-outgoing; Mon, 10 Apr 1995 20:33:14 -0700 Received: from hq.icb.chel.su (icb-rich-gw.icb.chel.su [193.125.10.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id UAA06480 for ; Mon, 10 Apr 1995 20:32:43 -0700 Received: from localhost (babkin@localhost) by hq.icb.chel.su (8.6.5/8.6.5) id JAA01234; Tue, 11 Apr 1995 09:30:31 -0500 From: "Serge A. Babkin" Message-Id: <199504111430.JAA01234@hq.icb.chel.su> Subject: Re: netboot for each card? To: martin@victor.innovus.com (Martin Renters) Date: Tue, 11 Apr 1995 09:30:30 -0500 (GMT-0500) Cc: freebsd-hackers@FreeBSD.org In-Reply-To: <199504110311.XAA06229@victor.innovus.com> from "Martin Renters" at Apr 10, 95 11:11:04 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1370 Sender: hackers-owner@FreeBSD.org Precedence: bulk > I spent some time looking at how to fix the Makefile to build a version of > netboot for each type of card we support. I looked through ether.c (actually > while trying to fix some breakage that occured to the SMC driver > during the 3C509 additions) and came to the conclusion that probably the > best approach is to separate out the two drivers and put each one in > its own source file. (8390 boards in ns8390.c and 3c509 in 3c509.c) I agree. > What I would like to do is put all the ethernet specific code in the > source file for that driver. Currently, the 3c503 driver has some ifdefs > in main.c and bootmenu.c to deal with the transceiver. I'd like to remove > ifdefs and make 'trans' a standard command. As far as the eth_fillname May be we need a global variable like 'ether_trans' too. Initial value may be set using defines in Makefile, and then they may be changed using 'trans' command. It must have at least 4 possible values: "bnc","aui","utp","determined by hardware". The reason for this is that 'trans' command should be entered from keyboard and this may be inconvenient. > I'd be willing to do the ns8390 based boards, and hopefully Serge will > take the 3c509 driver. (If not I can look at that one too since I now OK. Serge Babkin ! (babkin@hq.icb.chel.su) ! Headquarter of Joint Stock Bank "Chelindbank" ! Chelyabinsk, Russia