Date: Tue, 23 Jul 1996 11:54:16 -0400 (EDT) From: Martin Renters <martin@tdc.on.ca> To: phk@critter.tfs.com (Poul-Henning Kamp) Cc: dk+@ua.net, freebsd-hackers@freebsd.org Subject: Re: lp booting: first cut Message-ID: <199607231554.LAA28863@tdc.on.ca> In-Reply-To: <3892.838134990@critter.tfs.com> from "Poul-Henning Kamp" at Jul 23, 96 05:16:30 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> There is some utterly disgusting code that tries to find a ed%d interface > to use in the kernel. That would be a problem. You need to explain > to it that it's a lp0 interface instead in this case. The right medium > for this explanation is the struct nfs_diskless (?) and since you change > that you need to change the version# of it, and then locore.s to copy > the right number of bytes. (Yes, I hate it too) I don't think you need to change the nfs_diskless structure. It already contains the interface to use (it gets filled in by the netboot code in main.c). Just make sure that your lpt.c initializes 'eth_driver' to "lp0" and it should do the right thing. It works with the 3C509 which doesn't use the ed0 driver. Martin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607231554.LAA28863>