aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/gem
Commit message (Collapse)AuthorAgeFilesLines
* Call bpf_mtap() on outgoing packets.Thomas Moestl2002-10-261-3/+6
| | | | Notes: svn path=/head/; revision=105982
* Fix warning.Jake Burkholder2002-07-241-0/+4
| | | | Notes: svn path=/head/; revision=100587
* Incorporate changes made to the NetBSD version of this driver.Benno Rice2002-07-104-87/+159
| | | | | | | | | | | | | | | | | - 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 Notes: svn path=/head/; revision=99726
* Fully reset a gem on some error conditions; otherwise it would hang inThomas Moestl2002-05-241-0/+4
| | | | | | | | | about 1 of 10 cases. Proposed and tested by: phk Notes: svn path=/head/; revision=97240
* Move the new byte order function prototypes from <sys/param.h> toMike Barcroft2002-04-261-0/+1
| | | | | | | <sys/endian.h>. This puts us in line with NetBSD and OpenBSD. Notes: svn path=/head/; revision=95533
* In some cases, RX descriptors that are signalled to have been completedThomas Moestl2002-03-232-3/+26
| | | | | | | | | by the hardware are still marked as owned. Handle this by installing a timeout handler to collect this descriptor to avoid having received packets remain unhandled until the next one arrives. Notes: svn path=/head/; revision=93045
* Remove __P.Alfred Perlstein2002-03-203-46/+44
| | | | Notes: svn path=/head/; revision=92739
* Use the pci_enable_* functions instead of manually fiddling with theThomas Moestl2002-03-111-6/+4
| | | | | | | | | command register. Pointed out by: msmith Notes: svn path=/head/; revision=92046
* Set the busmaster enable bit in the PCI command register, as the firmwareThomas Moestl2002-03-091-0/+9
| | | | | | | | of sparc64 machines will not do this for us if the interface is not used for booting over the network. Notes: svn path=/head/; revision=91963
* Add a driver for the Sun GEM (Gigabit) and ERI (100 Mb/s) PCI ethernetThomas Moestl2002-02-274-0/+2989
adaptors, ported from NetBSD. Notes: svn path=/head/; revision=91398