Date: Tue, 3 Feb 1998 11:00:01 -0800 (PST) From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-bugs Subject: Re: docs/5614: Typos in ifconfig(8) and ep(4) man pages Message-ID: <199802031900.LAA13049@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/5614; it has been noted by GNATS. From: J Wunsch <j@uriah.heep.sax.de> To: Steve Price <sprice@hiwaay.net> Cc: =?iso-8859-1?Q?Dag-Erling_Coidan_Sm=F8rgrav?= <dag-erli@ifi.uio.no>, gibbs@FreeBSD.ORG, freebsd-gnats-submit@FreeBSD.ORG Subject: Re: docs/5614: Typos in ifconfig(8) and ep(4) man pages Date: Tue, 3 Feb 1998 19:34:05 +0100 As Steve Price wrote: > > Ah, I see. elink.h defines ELINK_ID_PORT to 0x100, hence the confusion. > > Hmm... > > steve[/usr/src/sys]$ find . | xargs grep EP_ID_PORT > ./i386/boot/netboot/3c509.c: int data, j, io_base, id_port = > EP_ID_PORT; > ./i386/boot/netboot/3c509.h:#define EP_ID_PORT 0x100 > ./i386/isa/if_epreg.h:#define EP_ID_PORT 0x110 > ./pc98/boot/netboot/3c509.c: int data, j, io_base, id_port = > EP_ID_PORT; > ./pc98/boot/netboot/3c509.h:#define EP_ID_PORT 0x100 > ./pc98/boot/netboot/if_epreg.h:#define EP_ID_PORT 0x100 > steve[/usr/src/sys]$ find . | xargs grep ELINK_ID_PORT > ./i386/isa/elink.c: outb(ELINK_ID_PORT, ELINK_RESET); > ./i386/isa/elink.c: outb(ELINK_ID_PORT, c); > ./i386/isa/elink.h:#define ELINK_ID_PORT 0x71d0 > ./i386/isa/elink.h:#define ELINK_ID_PORT 0x100 > ./i386/isa/if_ep.c: int data, i, j, id_port = ELINK_ID_PORT; > ^^^^^^^^^^^^^ > This is why you experienced the problem. This should be > EP_ID_PORT or ELINK_ID_PORT should be changed 0x110. Joerg? Hmm, i simply forgot about the netboot stuff. It would probably be better if netboot included the /usr/src/sys/ files anyway. (I think biosboot does it this way for the serial line stuff.) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802031900.LAA13049>