Commit Graph

27 Commits

Author SHA1 Message Date
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
thorpej
2555837833 Also save/restore the PCI_INTERRUPT_REG. 2002-07-01 16:15:35 +00:00
itojun
92cb1aaac7 more proper fix to ex_disable. 2002-06-20 23:47:25 +00:00
itojun
8b835b91d2 make it compile (ex_disable).
not sure if it is 100% right.
2002-06-20 23:38:47 +00:00
thorpej
cba89d9d80 If the chip supports ACPI power management:
* Go to D3 if IFF_UP == 0.
* Go to D0 if IFF_UP == 1.

Saves battery life on my T21, mmm.
2002-06-20 20:17:04 +00:00
christos
7555da491d Turn on mii on 3C980CTXM 2002-02-07 01:32:19 +00:00
lukem
9048aaae21 add RCSID 2001-11-13 07:48:40 +00:00
kanaoka
13f671edcf Improve intr_ack code to support for 3c556,3c556B.
Some cards don't have an interrupt acknowledge
  register in PCI config space, so we map and write
  it, such as CardBus driver does.
2001-08-18 05:49:28 +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
sommerfeld
851de295eb Change pci_intr_map to get interrupt source information from a "struct
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".

This both simplifies the driver api, and allows for alternate PCI
interrupt mapping schemes, such as one using the tables described in
the Intel Multiprocessor Spec which describe interrupt wirings for
devices behind pci-pci bridges based on the device's location rather
the bridge's location.

Tested on alpha and i386; welcome to 1.5Q
2000-12-28 22:59:06 +00:00
fvdl
c5d8401866 Add support for the 3c555, 556 and 556B MiniPCI cards. Based on the
cardbus code and the FreeBSD xl driver.
2000-09-19 01:15:06 +00:00
billc
7ba2890ab8 Added PCI IDs for 3Com's Home Connect (3c450) and Office Connect (3cSOHO100).
They both are register compat with later versions of the 3c905 (tornado/
vortex) series.
2000-08-07 04:08:35 +00:00
thorpej
c8de5ae180 Treat the 3c980C-TXM like the 3c980 Server Adapter. From Paul J. Lavoie,
kern/10037.
2000-05-12 17:48:47 +00:00
mycroft
d07e505604 Rather than guessing at the location of the PMCSR, use the pointer returned by
pci_get_capability().  (This is, after all, a standardized interface...)
2000-03-23 22:23:03 +00:00
mycroft
1ee1632a02 Remove EX_CONF_MII for the 3c980. At least 2 people need this for the card
to work.
2000-01-13 23:26:35 +00:00
drochner
a7ee57948b -support 3c905B-COMBO - somewhat preliminary: the chip has both an internal
MII PHY capable of NWAY (according to the Linux driver) and plain BNC/
 transceiver connectors. The shared code can't handle this yet, so leave
 out MII/NWAY for now.
-print out revision number from PCI config header, this has been useful to
 identify buggy chips
1999-11-30 19:16:51 +00:00
fvdl
a6aa19699f Don't assume that an -FX card has MII (because it doesn't). 1999-09-01 20:26:43 +00:00
ross
5122ae5f44 Recognize 3c905C. 1999-07-15 18:10:29 +00:00
fvdl
06019caad8 Recognize 900B-TPC. From Robert Elz. 1999-05-29 01:31:17 +00:00
ross
ea05c3b739 Fix typo. 1999-02-20 07:07:07 +00:00
thorpej
3f8a09bba4 Improve product descriptions, and add 3c905-FX and 3c980 Server Adapter
products.
1999-02-19 06:58:42 +00:00
thorpej
9f20ff377a Make the device lookup table-driven, like if_ep_pci.c. 1998-11-09 23:12:18 +00:00
drochner
f213d2f96a use common code for extended capability (power management)
let "match" return 2 (> ep_pci)
1998-11-07 16:53:19 +00:00
fvdl
7b10c3e7e4 Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.
1998-11-04 00:29:28 +00:00