Date: Sat, 18 Jan 2003 16:23:59 -0800 (PST) From: Thomas Moestl <tmm@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_xl.c if_xlreg.h Message-ID: <200301190023.h0J0Nx0N068255@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
tmm 2003/01/18 16:23:59 PST
Modified files:
sys/pci if_xl.c if_xlreg.h
Log:
Make the xl driver work on sparc64:
- Add conversions to/from little endian for fields that the NIC accesses
by DMA as required.
- Add some bus_dmamap_sync() calls, and correct some existing ones.
- Read the receiver information from the EEPROM in an endian-neutral
manner.
- Load all RX and TX descriptors in a single DMA map up front, and
get the bus addresses of individual descriptors by address arithmetic;
this fixes multiple use of the descriptor tags, which would have
undesired effects.
It seems that xl still does not work on e250 boxen, for reasons which
are not clear yet.
Reviewed by: mux
Revision Changes Path
1.122 +99 -67 src/sys/pci/if_xl.c
1.42 +1 -0 src/sys/pci/if_xlreg.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301190023.h0J0Nx0N068255>
