tsutsui
14dfb0043c
- KNF, ANSIfy, TAB/space cleanup
...
- unwrap some lines
- u_intNN_t -> uintNN_t
2007-02-18 12:16:14 +00:00
dsl
cb94bcc573
Remove some ancient debugging leftovers left in by Michael Lorenz.
2007-02-10 12:22:26 +00:00
macallan
5c1aad3ad0
add a quirks entry for the DEC21140 found on UMAX E100 cards
2007-02-09 21:39:38 +00:00
christos
168cd830d2
__unused removal on arguments; approved by core.
2006-11-16 01:32:37 +00:00
christos
4d595fd7b1
- sprinkle __unused on function decls.
...
- fix a couple of unused bugs
- no more -Wno-unused for i386
2006-10-12 01:30:41 +00:00
rumble
cc8a477ce5
Add quirks for the Phobos GIO Fast Ethernet boards.
2006-08-30 23:32:07 +00:00
itohy
ae1a2ff3d3
Remove ADM9511's "signature".
...
I don't think it is used anywhere.
2006-07-26 14:21:20 +00:00
gdamore
e3a079b540
Update ADMtek pci device ids to match data sheets. While here, add the 9513
...
device (although I've never seen one, I have a datasheet for it. :-)
2006-07-21 17:20:20 +00:00
itohy
67d67209d7
Make new device (vendor 0x1317, product 0x9511) work as AN983.
2006-07-18 14:26:57 +00:00
christos
63bbcb495a
re-factor the pci powestate api. reviewed by gimpy
2006-06-17 23:34:26 +00:00
rpaulo
d330ad3005
The check for LMC cards should return NULL, not 0.
...
No functional change.
2006-05-20 14:23:07 +00:00
thorpej
fb44a8574b
Remove the devprop API and switch everthing over to the new proplib. Add
...
a new device_properties() accessor for device_t that returns the device's
property dictionary.
2006-05-05 18:04:41 +00:00
christos
700c4bf2b7
Put back the code that avoids matching the lmc card. As pointed out by David
...
Boggs, it does not matter if the lmc driver routine returns 100 for the match,
because if the lmc driver is loaded via an LKM after boot, the other drivers
would have claimed the card already.
2006-04-20 17:08:20 +00:00
rpaulo
4ed37fa0d7
Add support for the Conexant RS7112. From Frank Wille <frank@phoenix.owl.de>.
2006-03-25 23:10:50 +00:00
thorpej
4d51b7cce7
Use device_parent().
2006-03-25 04:08:45 +00:00
thorpej
680d9eea68
- Don't expose dev_propdb directly -- provide devprop_*() wrappers instead.
...
- Rework the ARMADILLO / epe device properties interaction so that it actually
associates the MAC address property with the epe device instance.
2006-02-18 05:04:11 +00:00
thorpej
cb468f2eff
Remove the ugly algor_get_ethaddr() hack. We have a properties infrastructure
...
now, so use that to provide the Ethernet address of the built-in Ethernet.
XXX Still a little ugly in the tlp driver, but fixing that would require
XXX reworking the SROM usage in a broader sense.
While here, do the P4032 DMA window hack in device_register() as well.
2006-02-16 18:20:31 +00:00
christos
1839ea54c0
Remove the "don't match lmc cards" test, because the lmc driver returns a
...
match of 100 which will supersede the de and tlp match if present. If not
present, then these two drivers will fail to match an mii. Thanks to thorpej
for the explanation.
2005-12-06 18:37:57 +00:00
thorpej
62d2755224
Don't use magic constants in previous. (Not that we should be doing this
...
here in the first place...)
2005-12-06 15:40:16 +00:00
christos
4178b4005f
Don't match lmc cards by accident.
2005-12-06 03:30:12 +00:00
rpaulo
ca2db1fe2b
If the DEC board name is not known, remove the leading whitespace in
...
sc_name.
This closes PR#30458.
ok'ed Jason Thorpe.
2005-07-17 00:44:13 +00:00
rpaulo
ec4e36b7c2
Add support for ASIX AX88140A/AX88141 chipsets using only
...
the 10/100 MII with inspiration from FreeBSD dc(4) driver.
Tested on i386 and macppc.
Reviewed by Jason Thorpe and ok'ed by Hubert Feyrer.
2005-06-23 23:51:41 +00:00
tron
1981d397d6
Also use prom_getether() under NetBSD-sparc(64) if the MAC address
...
retrieved from the PROM starts with ff:ff:ff. The driver now works with
the onboard interface in the Tadpole SPARCle.
2005-06-13 16:37:38 +00:00
perry
f31bd063e9
nuke trailing whitespace
2005-02-27 00:26:58 +00:00
thorpej
d0fcfb4c3a
Use ANSI function decls and make use of static.
2004-08-21 23:48:33 +00:00
martin
fde39f7603
For sparc*: myetheraddr is no more
2004-03-17 13:54:09 +00:00
cube
c5529ef807
Add support for the 3com OfficeConnect 10/100B card, which has an ADMtek
...
AN985 controller, handled by tlp(4).
From Mike M. Volokhov <mishka AT terabyte DOT com DOT ua> in
current-users.
2003-11-28 06:03:09 +00:00
ichiro
8b115395c7
Fix uninitialized variable warnings
2003-11-03 03:05:25 +00:00
itohy
d031823b2b
Properly reset PHY on ZNYX boards which are composed of
...
21143 and Quality Semiconductor QS6611 PHY.
QS6611 requires explicit reset on some hardware configuration. See
``Using the Intel 21143 with the Quality Semiconductor QS6611 Revision D4''
<http://www.intel.com/design/network/applnots/278239.htm > for details.
Models which should be supported by this change are
ZX345Q, ZX346Q, ZX348Q, (non-Q versions use different PHYs)
ZX414, ZX412, ZX444,
ZX442, ZX212, ZX214,
ZX374, ZX372, ZX244,
ZX424, ZX422.
Tested on ZX346Q.
Some information is from the ZNYX driver source code available from
the ZNYX web site <http://www.znyx.com/ >.
2003-06-27 12:25:38 +00:00
thorpej
5d036d28d6
Fix an error message.
2003-03-10 20:50:22 +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
jdolecek
d679e94c87
tlp_pci_vpc_21140_quirks(): make agnostic to signed/unsigned char; fixes
...
compile on cats
2002-10-09 16:59:19 +00:00
minoura
5139f048fb
Add quirk for Connectix VirtualPC emulated 21140, just to print the name
...
from the SROM.
2002-10-08 15:09:54 +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
mycroft
88e968078c
Remove TLP_MATCH_* options.
2002-04-17 02:19:13 +00:00
chs
e340f273c4
add support for Cogent EM100 (aka Adaptec ANA-6910) TX and FX.
2002-04-04 05:45:54 +00:00
thorpej
a1808a4556
Add support for the Netwinder on-board 21143 (but don't try using it
...
yet; there are still some problems).
2002-04-03 20:52:42 +00:00
chs
23825982c3
add support for SMC 9332DST.
2002-03-26 07:57:16 +00:00
chs
9a418970cf
decode the sub-system IDs on adaptec cards so we can differentiate between
...
multi-port cards (which need the shared-rom/intr stuff) and single-port cards
(which must not have it). previously we enabled sharing for all adaptec cards,
which caused problems if you had multiple single-port cards on the same PCI bus.
2002-03-16 18:44:17 +00:00
chs
5d8f761ba0
support the 4-port boards with the Cogent OUI as well.
2002-03-13 05:05:38 +00:00
chs
fcbc075a7a
support ANA-6944A boards (in addition to ANA-6922).
2002-03-13 04:15:05 +00:00
chs
4ee45f845f
add support for Adaptec ANA-69xx multi-port cards.
2002-02-14 07:59:55 +00:00
tsutsui
b87a051ec8
Call malloc(9) with M_ZERO flag instead of memset() after malloc().
2002-01-12 16:17:05 +00:00
matt
ee7afa77b2
Fix sense of if to grab address from alternation if srom is not in isv
...
format on Davicom chips. Add sparc specific case in this case to call
myetheraddr if oui is all 0s (for Netra X1).
2001-12-07 21:13:58 +00:00
lukem
9048aaae21
add RCSID
2001-11-13 07:48:40 +00:00
thorpej
3d98de578f
Remove unnecessary include files. From Onno van der Linden.
2001-07-08 17:55:50 +00:00
thorpej
9988acd41e
Don't need INET or NS includes here.
2001-06-12 22:28:15 +00:00
thorpej
ebf9e47c26
Add quirks for the Algorithmics P-5064 on-board 21143, and a way to
...
get the Ethernet address from it (they don't have an SROM).
XXX The latter should be replaced with devprops when they exist.
2001-05-27 21:00:33 +00:00