bouyer
61f82d5486
Write the station address using 8-bits writes instead of 16-bits.
...
This is what the linux driver does, and makes the DGE-550T work without the
STGE_CU_BUG hack. So remove the STGE_CU_BUG hack.
Set bit 0x0020 in STGE_DebugCtrl too, the linux driver does it (the comments
note this as a workaround, without more details. This doesn't seem to make
things worse).
Also initialize STGE_RxDMABurstThresh and STGE_RxDMAUrgentThresh, using
values from the linux driver.
Approved by Jason Thorpe.
2005-06-25 21:43:38 +00:00
bouyer
d3f9123bd5
Fix some big-endian issues. stge(4) now works on sparc64 with hardware
...
checksums.
2005-05-16 21:35:32 +00:00
wiz
c5fa1fbb8b
Fix typo reported by Brad at comstyle com.
2005-05-13 06:36:22 +00:00
yamt
330cc0a11e
split IFCAP_CSUM_xxx to IFCAP_CSUM_xxx_Rx and IFCAP_CSUM_xxx_Tx.
2005-05-02 15:34:31 +00:00
perry
f31bd063e9
nuke trailing whitespace
2005-02-27 00:26:58 +00:00
jdolecek
2a0d290c56
use VLAN_* macros for VLAN tag extraction/addition
2005-02-20 15:56:03 +00:00
thorpej
e9818f5b5e
When adding/deleting multicast addresses, only whack the address
...
filter if the interface is marked RUNNING.
Fixes kern/27678.
2004-10-30 18:08:34 +00:00
wiz
1486617536
Fix typo reported by Alexander Yurchenko in private mail.
2004-10-02 21:20:12 +00:00
thorpej
d17a849385
Use ANSI function decls and make use of static.
2004-08-21 22:48:18 +00:00
mjacob
67427c17a2
Argh. Commited the wrong file.
2003-03-01 19:49:45 +00:00
mjacob
74c56226fb
Fix RFD_TCI macro.
2003-03-01 19:30:30 +00:00
christos
84168d80ce
Centralize the interrupt bits for the 3 registers where they are being used.
2003-02-10 21:10:06 +00:00
christos
2411f49e72
make this compile again.
2003-02-10 17:18:33 +00:00
mjacob
5f882f6f98
Add in h/w VLAN tag support.
...
Put in code that, if enabled, makes *my* copper Sundance TI cards work-
promiscuous mode is needed for this for now. The default is to have this
off until I or somebody figures out what is broken- I think it's stuff
with the Marvell PHY.
2003-02-10 09:00:38 +00:00
tsutsui
238efe4697
Replace magic numbers for power management control with PCI_PMCSR* macros.
...
XXX Should we use pci_get_powerstate() and pci_set_powerstate() in pci.c?
2002-12-23 02:58:36 +00:00
fair
2104199dc3
Change the "dontcare bits" argument to ifmedia_init() to IFM_IMASK
...
so that it is possible select PHY instances other than the first
one (instance zero), if there is more than one PHY attached.
2002-10-21 23:38:10 +00:00
thorpej
b75a007d9f
Add trailing ; to CFATTACH_DECL.
2002-10-02 16:51:16 +00:00
thorpej
387fc6dc87
Use CFATTACH_DECL().
2002-09-30 20:37:04 +00:00
thorpej
f818766afe
Declare all cfattach structures const.
2002-09-27 20:31:45 +00:00
lukem
9048aaae21
add RCSID
2001-11-13 07:48:40 +00:00
mjacob
c0018ebdfe
The flow control registers are 16 bits wide, not 32.
2001-10-10 03:41:24 +00:00
thorpej
c2a1bef2f3
Create the Tx DMA maps with a size large enough for a jumbo Ethernet
...
frame.
2001-10-06 00:14:59 +00:00
thorpej
8fc6974449
Oops, make Rx interrupt deferral actually work.
2001-07-30 20:12:10 +00:00
thorpej
fab087b3a2
Tell the MII layer to advertise PAUSE capability, and configure
...
the chip's PAUSE threshold.
2001-07-27 22:46:20 +00:00
thorpej
799abef5f4
Jumbo frames do not currently work (chip goes catatonic -- silicon bug?),
...
so don't set the capability.
2001-07-25 15:44:48 +00:00
thorpej
1dfe605642
Match the Antares Gigabit Ethernet.
2001-07-25 01:48:14 +00:00
thorpej
6b0e779ce6
Remove a debugging #define.
2001-07-25 00:12:33 +00:00
thorpej
3939c2a6c7
Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
...
controller.
2001-07-25 00:11:51 +00:00