Thomas Moestl
9bb711b95d
Fully reset a gem on some error conditions; otherwise it would hang in
...
about 1 of 10 cases.
Proposed and tested by: phk
2002-05-24 12:47:41 +00:00
Mike Barcroft
a30d4b3270
Move the new byte order function prototypes from <sys/param.h> to
...
<sys/endian.h>. This puts us in line with NetBSD and OpenBSD.
2002-04-26 22:48:23 +00:00
Thomas Moestl
0d80b9bd88
In some cases, RX descriptors that are signalled to have been completed
...
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.
2002-03-23 19:43:15 +00:00
Alfred Perlstein
e51a25f850
Remove __P.
2002-03-20 02:08:01 +00:00
Thomas Moestl
49921f1e25
Use the pci_enable_* functions instead of manually fiddling with the
...
command register.
Pointed out by: msmith
2002-03-11 02:37:19 +00:00
Thomas Moestl
e64a9d374a
Set the busmaster enable bit in the PCI command register, as the firmware
...
of sparc64 machines will not do this for us if the interface is not used
for booting over the network.
2002-03-09 21:52:31 +00:00
Thomas Moestl
42c1b001f7
Add a driver for the Sun GEM (Gigabit) and ERI (100 Mb/s) PCI ethernet
...
adaptors, ported from NetBSD.
2002-02-27 17:41:06 +00:00