summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/if_gem_pci.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove some includes include-what-you-use claims don'tjsg2015-03-141-2/+1
| | | | | | | have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@
* unifdef INETtedu2014-12-221-3/+1
|
* Use <sys/endian.h> instead of <machine/endian.h>guenther2014-12-191-3/+2
| | | | ok dlg@ mpi@ bcook@ millert@ miod@
* Remove uneeded <net/bpf.h> include which was never used as itjsg2012-10-161-5/+1
| | | | was protected by #if NBPFILTER > 0 and "bpfilter.h" wasn't included.
* Simplify the gem(4) variant detection code a bit.brad2012-09-301-14/+11
| | | | ok haesbaert@
* use nitems(); no binary change for drivers that are compiled on amd64.jasper2011-04-031-2/+2
| | | | ok claudio@
* Add detach support to a few more drivers, and in others do the neccessaryderaadt2009-10-151-7/+28
| | | | | | operations in the detach function in the right order. Also ensure that the interrupt handlers not trust registers that go away. read over very carefully by dms, tested by me
* Use pci_mapreg_map() to map ROM.kettenis2009-07-231-12/+7
|
* make various strings ("can't map mem space" and similar) more consistentsthen2009-03-291-2/+2
| | | | | | | between instances, saving space in the kernel. feedback from many (some incorporated, some left for future work). ok deraadt, kettenis, "why not" miod.
* Cleanup phy selection code, simplifying the code considerably. Attach onlykettenis2007-04-191-8/+8
| | | | | | one phy on Sun ERI; gets rid of the duplicate phy on the blade1k. tested by many, ok drahn@
* betetr yet, just nuke sc_enaddr all together, just fill in arpcom andjason2006-12-211-5/+5
| | | | everybody is happy
* ANSIbrad2006-11-251-8/+3
|
* Split the GEM registers into two halfs and provide a bus_space_handle_tbrad2006-11-251-3/+10
| | | | | | for each. While there, fix a typo in gem_bitwait(). From martin@NetBSD
* Fix last commit.kettenis2006-10-151-2/+3
|
* Get MAC address from VPD, just like we already do for hme(4).kettenis2006-10-151-7/+104
| | | | ok brad@
* recognize the Intrepid 2 GMACbrad2006-04-101-1/+4
|
* - unmap resources allocated by pci_mapreg_map() on failure to attachbrad2005-11-021-13/+15
| | | | | - fixup PCI interrupt string printing and surrounding code to be more consistent with other drivers
* Start using the unused sc_variant to identify the GMAC vendor and chipsetbrad2005-10-171-1/+16
| | | | | | | model to the MI part of the driver. On Apple systems only attach the PHY to location 0, unless using a K2 GMAC, then use location 1. Tested by drahn@ and kettenis@
* update names.brad2005-10-011-5/+5
|
* Add support for K2 GMAC.kettenis2005-09-301-1/+2
|
* Add support for Shasta GMAC.kettenis2005-09-291-1/+2
| | | | ok drahn@
* remove whitespacebrad2005-08-011-7/+7
|
* sparc -> sparc64brad2005-04-221-3/+3
|
* take 2 times less room in dmesg, prettier toopvalchev2004-06-201-14/+9
| | | | | allocate interrupts early on (before PHY attachment, etc) just like all other drivers do to allow the above; ok mcbride
* no vtophys(), don't need uvm_extern.h anymore.brad2003-12-291-3/+1
| | | | | | tested on alpha, i386, macppc and sparc64. ok millert@ mickey@
* Grrr, missed this in the pci id matchjason2002-11-201-1/+2
|
* Add a simplistic table driven lookup routine and use it where appropriate.jason2002-11-191-15/+10
|
* Recognize additional gem pci id, from NetBSD.drahn2002-07-261-2/+3
|
* Try 'local-mac-address' before myetheraddr(). This allows us to correctlyjason2002-03-151-10/+8
| | | | | get the mac address on the second ethernet of a Netra T1 AC200; tested by Joey Coleman <joeycoleman@acm.org>
* First round of __P removal in sysmillert2002-03-141-4/+4
|
* Revert to previous (non hacked =) version now that the iommu is handledjason2002-02-221-5/+14
| | | | correctly and it doesn't crash
* Re-port the NetBSD driver, but rewrite tx logic to use static buffers (andjason2002-01-281-14/+5
| | | | copies). This makes the Blade100 gem stable for me.
* $OpenBSD$drahn2001-12-141-0/+1
|
* changes to work with 32bit platforms and get ethernet address on powerpc.drahn2001-12-131-0/+3
| | | | Inspired by NetBSD.
* Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.miod2001-11-061-1/+0
| | | | (Look ma, I might have broken the tree)
* Pretty the printout (don't know if it's right, but it does the job).art2001-09-291-0/+1
|
* Driver for Sun GEM ethernet. Not ready yet.art2001-09-211-0/+193
From NetBSD