Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: NetBSD master CVS tree commits
On 7 Dec 1996 source%NetBSD.ORG@localhost wrote:
..
.. cjs
.. Sat Dec 7 00:33:08 PST 1996
.. Update of /a/cvsroot/src/sys/dev/ic
.. In directory netbsd1:/var/slash-tmp/cvs-serv7246
..
.. Modified Files:
.. elink3.c
.. Log Message:
.. Print the memory size on startup.
.. Add newline to `Interface disabled' printf and clean up formatting.
.. Change packet read/write code to align all reads and writes into
.. memory to an appropriate boundary for the I/O size. This also fixes
.. a bug where the trailing unaligned bytes (1-3 of them) would be
.. put in an additional mbuf even if there was enough space for them
.. in the one we were currently filling.
.. This has been tested on a 3c905 in an Alpha (32-bit I/O, alignment
.. required), a 3c905 in an i386 (32-bit I/O, alignment not required)
.. and a 3c509 in an i386 (16-bit I/O, alignment not required). It
.. should be tested on a 3c509 in an Alpha with an ISA bus, if somone
.. can manage to get the two items together.
.. There are still some bugs in the driver relating to initialisation;
.. on my Alpha with a 3c905 you need to do an `ifconfig ep0 down;
.. ifconfig ep0 up' after the initial ifconfig to make it start working.
.. Apparently there are also some problems with a 3c579 in an i386,
.. although a 3c905 in an i386 works just fine.
..
This patch is incomplete:
cc -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes -I.
-I../../../../arch -I../../../.. -nostdinc -DSWAPPAGER -DVNODEPAGER
-DDEVPAGER -DEXEC_AOUT -DEXEC_SCRIPT -DI586_CPU -DXSERVER -DUCONSOLE
-DINSECURE -DNTP -DSYSVMSG -DSYSVSEM -DSYSVSHM -DLKM -DFFS -DMFS
-DNFSCLIENT -DCD9660 -DMSDOSFS -DFDESC -DFIFO -DKERNFS -DUNION -DINET
-DGENERIC -DPCIVERBOSE -DMAXUSERS=32 -D_KERNEL -Di386 -c
../../../../dev/ic/elink3.c
../../../../dev/ic/elink3.c: In function `epconfig':
../../../../dev/ic/elink3.c:115: `EP_W3_INTERNAL_CONFIG' undeclared (first
use this function)
../../../../dev/ic/elink3.c:115: (Each undeclared identifier is reported
only once
../../../../dev/ic/elink3.c:115: for each function it appears in.)
cc1: warnings being treated as errors
../../../../dev/ic/elink3.c:109: warning: `r' might be used uninitialized
in this function
Home |
Main Index |
Thread Index |
Old Index