summaryrefslogtreecommitdiffstats
path: root/sys/dev/gem/if_gem_pci.c
Commit message (Collapse)AuthorAgeFilesLines
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-061-1/+1
|
* Add missing <sys/module.h> includes currently relying on nested includephk2004-06-031-0/+1
| | | | in <sys/kernel.h>
* Convert callers to the new bus_alloc_resource_any(9) API.njl2004-03-171-4/+4
| | | | | Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde
* Add new Apple GEM PCI id.grehan2004-02-021-0/+1
|
* Properly initialize all members of the sentinel entry.obrien2003-12-261-1/+1
|
* Preparatory commit to allow prototypes in ofw_machdep.h to containmarcel2003-09-021-0/+1
| | | | | | | both newbus types and OFW types. This involves either including <machine/bus.h> or <dev/ofw/openfirm.h>. Reviewed by: jake, jmg, tmm
* Use __FBSDID().obrien2003-08-241-1/+3
| | | | Also some minor style cleanups.
* Some gem and hme hardware bogusly has the intpin register hardwired totmm2003-07-011-3/+6
| | | | | 0; detect this case and correct it. While being there, clean up nearby comments.
* - Don't call pci_enable_io() in drivers (unless needed for resume).mdodd2003-04-161-1/+0
| | | | | - Don't test memory/port status and emit an error message; the PCI bus code will do this now.
* - Express hard dependencies on bus (pci, isa, pccard) andmdodd2003-04-151-1/+3
| | | | | | | | network layer (ether). - Don't abuse module names to facilitate ifconfig module loading; such abuse isn't really needed. (And if we do need type information associated with a module then we should make it explicit and not use hacks.)
* Free resources when failing to set up the interrupt.tmm2003-01-211-0/+1
|
* Add detach, shutdown, suspend and resume methods. The latter two aretmm2003-01-081-1/+45
| | | | not really tested, but are derived from the original NetBSD version.
* Incorporate changes made to the NetBSD version of this driver.benno2002-07-101-4/+9
| | | | | | | | | | | | | | - Remove some obsolete code (NetBSD gem.c r1.12) - Clean up how the local MAC address is programmed (NetBSD gem.c r1.13) - Make the driver work on PowerMacs with gigabit interfaces (NetBSD gem.c r1.14 and r1.15, gemreg.h r1.3 and r1.4, gemvar.h r1.6 and 1.7) - Suppress RX_MAC interrutps regarding the FRAME_COUNT register. (NetBSD gem.c r1.16 and r1.17) - Fix receiver lockups. (NetBSD gem.c r1.18, gemvar.h r1.8) - Distinguish between Apple and Sun variants (NetBSD if_gem_pci.c r1.9) Reviewed by: tmm Obtained from: NetBSD
* Remove __P.alfred2002-03-201-2/+2
|
* Use the pci_enable_* functions instead of manually fiddling with thetmm2002-03-111-6/+4
| | | | | | command register. Pointed out by: msmith
* Set the busmaster enable bit in the PCI command register, as the firmwaretmm2002-03-091-0/+9
| | | | | of sparc64 machines will not do this for us if the interface is not used for booting over the network.
* Add a driver for the Sun GEM (Gigabit) and ERI (100 Mb/s) PCI ethernettmm2002-02-271-0/+192
adaptors, ported from NetBSD.
OpenPOWER on IntegriCloud