Commit Graph

293 Commits

Author SHA1 Message Date
augustss
8fb4b44439 SMC 8022 PCMCIA ethercard entry for if_ne_pcmcia.c
From Zdenek Salvet <salvet@ics.muni.cz> in PR 7634.
1999-05-24 10:17:49 +00:00
christos
544c14bcf6 KNF! 1999-05-23 00:48:46 +00:00
thorpej
f98d358a1f Rework layer 2 protocol input routines. Instead of calling e.g. ether_input()
directly, call the function pointer (*if_input)(ifp, m).  The input routine
expects the packet header to be at the head of the packet, and will adjust
as necessary.  Privatize the layer 2 input and output routines, allowing
*_ifattach() to set them up as appropriate.
1999-05-18 23:52:51 +00:00
thorpej
c9ee8bf3c4 Fix a couple of problems w/ 3c574 support. Doesn't quite work yet, but
it's a little closer.
1999-05-09 18:48:52 +00:00
thorpej
0837de9c4b Add support for the Fujitsu Towa LA501 Ethernet card. PR #6524, Stephen Ma. 1999-04-27 04:56:18 +00:00
thorpej
ae3e4919c2 Regen. 1999-04-27 04:52:04 +00:00
thorpej
7931c9f84e Add the Fujitsu LA501 Ethernet card. PR #6524, Stephen Ma. 1999-04-27 04:48:43 +00:00
thorpej
d5a491540c Disable power management until the bug that caused it to hang the
machine can be found.

Addresses kern/6488, from Thorsten Frueauf.
1999-04-27 02:53:30 +00:00
abs
c28fffe947 Fix enet_vendor entries for Compex Linkport Enet B (PR 7238) 1999-04-16 22:35:49 +00:00
abs
71c5a6babd Fix ethernet address location for Compex Linkport ENET-B. From PR 7238. 1999-04-09 23:19:27 +00:00
christos
036ec6601c Add FDC_HEADSETTLE to wait for the heads to settle timeout 1999-03-19 16:09:57 +00:00
abs
ab9ab83d05 Add ID for IBM 'PCMCIA Portable CD-ROM Drive'. We only have one of these and it
may be broken (it choked under Windows), but it at least now probes.
1999-02-19 21:49:43 +00:00
nathanw
58d4d7e933 Regen. 1999-02-19 02:53:06 +00:00
nathanw
6b150eb8f6 Fix typo.
XXX fix Makefile.pcmciadevs to catch this sort of thing.
1999-02-19 02:52:17 +00:00
nathanw
6e788dfcb5 Regen. 1999-02-19 00:44:15 +00:00
nathanw
3300c6ba4b Add Fujitsu SCSI 600 card 1999-02-19 00:43:00 +00:00
christos
000c8bbf35 Regen 1999-01-01 19:30:52 +00:00
christos
512db6124c Add Xircom Netwave driver from Michael Eriksson 1999-01-01 19:30:03 +00:00
marc
9ada0bf40f check for end of tuple while reading cfe data 1998-12-29 09:03:15 +00:00
marc
0380eb8f98 added SVEC_LANCARD 1998-12-29 09:00:50 +00:00
marc
5d9e772403 added support for quirks based on cis strings, added quirk entry for SVEC_LANCARD 1998-12-29 09:00:28 +00:00
marc
0de74697c4 rebuilt from pcmciadevs 1998-12-29 08:59:14 +00:00
marc
b5f4f4dcfe add SVEC losing ethernet card 1998-12-29 08:58:37 +00:00
marc
ae7cea0a83 initialize a variable to avoid a false compiler warning. 1998-12-25 00:54:46 +00:00
marc
b5afabb89a check in generated files again so the included CVS id is correct 1998-12-25 00:54:11 +00:00
marc
1a6e9eab49 add quirk support for cards which lie extensively about their CIS 1998-12-24 04:51:59 +00:00
marc
2636bc951d add code to permit pcmcia intr debugging 1998-12-24 04:50:43 +00:00
marc
2cf34a47e0 The PCMCIA_PRODUCT_3COM_3CXEM556 requires the same CCR hack as the
3c562.
1998-12-24 03:59:00 +00:00
marc
b6a56aac7f add an entry to the products array for the
PCMCIA_PRODUCT_3COM_3CXEM556.

This device requires the same CCR hack as the 3c562.
1998-12-24 03:57:45 +00:00
marc
c9ffa39a53 add product id for 3Com/Megahertz 3CXEM556 1998-12-24 03:55:54 +00:00
nathanw
e3504362c9 Regen. 1998-12-20 03:53:03 +00:00
nathanw
7003241eab Add IBM Wireless LAN Entry and Xircom CreditCard Ethernet+Modem. 1998-12-20 03:52:40 +00:00
nathanw
d114556e2a Avoid using "generic" configuration table entries during first
resource allocation attempt - would crash system if a generic entry
preceded a workable specific entry.
Rearrange a little for clarity.
1998-12-20 03:49:53 +00:00
nathanw
9670878a82 Regen. 1998-12-19 23:48:39 +00:00
nathanw
f920aee0b3 Add original Xircom CreditCard Ethernet. 1998-12-19 23:47:51 +00:00
thorpej
cb707caaeb Add the Compex Linkport ENET-B Ethernet card, PR #6349, Ingolf Koch. 1998-12-18 22:10:29 +00:00
thorpej
95b5eb860d Regen. 1998-12-18 22:07:53 +00:00
thorpej
fc685b5db5 Oops, tyop. 1998-12-18 22:07:39 +00:00
thorpej
e2614a90c2 Regen. 1998-12-18 22:07:00 +00:00
thorpej
1142e9ca93 Add the Compex vendor ID, and product ID for the Compex Linkport ENET-B.
PR #6349, Ingolf Koch.
1998-12-18 22:04:48 +00:00
thorpej
875666be42 Add the SVEC/Hawking Tech. Combo card. PR #6461, Rafal Boni. 1998-12-18 21:54:14 +00:00
thorpej
1f7f191ac9 Regen. 1998-12-18 21:53:08 +00:00
thorpej
f86bb230f6 Add the SVEC/Hawking Tech. combo card. PR #6461, Rafal Boni. 1998-12-18 21:52:53 +00:00
thorpej
d9e7d7e6a1 Add support for the Corega PCC-T Ethernet, PR #6603, Takahiro Kambe. 1998-12-18 21:14:17 +00:00
thorpej
75553e60bf Regen. 1998-12-18 21:12:32 +00:00
thorpej
eee452e216 Add Corega vendor ID and product CIS info for the PCC-T Ethernet card.
PR #6603, Takahiro Kambe.
1998-12-18 21:12:14 +00:00
bouyer
47ab212504 Rename pio_mode, etc ... to PIO_cap, etc ... for consistency with the
ata_drive_datas struct. Suggested by Soren S. Jorvan.
1998-12-03 18:24:30 +00:00
pk
cfe66472ab Use `pcmciabus' as the PCMCIA attachment 1998-11-26 15:32:44 +00:00
pk
0f7176ff24 Remove unwanted inclusion of an isa header file. 1998-11-22 21:58:50 +00:00
drochner
3e38051bc5 in wdc_softc: access the per-channel data via a pointer array instead of
an array of fixed-sized channel_softc elements. This way IDE controllers
which more than 1 channel (pciide) can extend the channel data easily
for private needs.
To avoid the double dereference at runtime, change the argument of
wdcstart() to the channel data pointer instead of the array index.
1998-11-21 15:41:41 +00:00
thorpej
7693f53714 Detach children in reverse order. We are more likely to be able to recycle
cloned unit numbers that way.
1998-11-20 05:20:20 +00:00
thorpej
8c2f638d29 Add support for power management and lazy interrupt establishment to the
PCMCIA aic6360 attachment.
1998-11-20 02:12:15 +00:00
thorpej
792462c236 Add support for power management and lazy interrupt establishment
to PCMCIA IDE controllers (include PCMCIA flash cards).
1998-11-20 01:52:22 +00:00
thorpej
4e8bf2fa99 Make the attachment messages a little prettier:
com3 at pcmcia1 function 0 port 0x2e8-0x2ef: serial device
com3: ns16550a, working fifo

I.e. don't wrap the line.
1998-11-19 00:04:02 +00:00
thorpej
ac7560ad4a Add support for hot-swapping PCMCIA serial devices. 1998-11-19 00:01:30 +00:00
thorpej
1d0f24882d Now that the *_activate() functions don't do things which are attachment
specific, move them into the chipset drivers.
1998-11-18 18:34:52 +00:00
thorpej
257d3e31ae Move the i/o window unmap and i/o space free into *_detach(). 1998-11-18 18:15:56 +00:00
thorpej
d088902264 Add detach and activate entry points. Mostly functional except for
#ifdef notyet'd if_delref() and if_detach(), which will be fixed up
when that code is committed.
1998-11-17 20:44:02 +00:00
thorpej
0c3ca7b31e Finish implementing interrupt-driven card insertion and removal support.
- Deactivate the card on removal and queue a REMOVAL event for the socket's
event thread to finish the detach.
- Queue an INSERTION event for the socket's event thread on insertion.

Implement a few missing infrastructure pieces to support this.

Hot swapping of PCMCIA cards now "works".  (Not quite; things like network
devices need changes for their respestive subsystems.  These changes are
coming soon...)
1998-11-17 08:49:11 +00:00
itohy
59bed57519 Oops, I should have been more careful about the last modification....
Since D-Link DE-650 is not the only exception, restore Linksys EC1 entry to the
previous position and move D-Link entry below that to make the source cleaner.
1998-11-16 08:17:01 +00:00
thorpej
3e6164e173 Make a comment about what pcmcia_detach_card() should do. 1998-11-14 01:54:25 +00:00
itohy
2d3363a6d0 regen. 1998-11-04 06:41:57 +00:00
itohy
b0e0dc2101 (manufacturer, product) = (0x149, 0x265) is used both
"Linksys EthernetCard" and some new versions of "D-Link DE-650".
Changed the product string as such.
1998-11-04 06:40:54 +00:00
itohy
5bf12ef4b9 Allow newer versions of D-Link DE650 cards (the manufacturer and
the product are valid and the same as Linksys EthernetCard's) work
with the current ne driver.
Somewhat kludgy.
1998-11-04 06:37:09 +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
thorpej
d08eb2a32b Add code to detect a RealTek 8019 chip, and use the media selection
support if present.
1998-10-31 01:44:16 +00:00
enami
9ddbeaedbb - match if the function just probing is disk and its interface is ATA.
- use product table only for the card which requires quirks or doesn't
  have disk device interface tuple.
1998-10-29 09:49:51 +00:00
enami
3f3c763b1b Define some constants for function extension tuple of disk function. 1998-10-29 09:45:52 +00:00
enami
634f1b5bf7 fix typo and some indentation. 1998-10-29 09:42:45 +00:00
thorpej
56066ad5fb Add media list, media list count, and default media arguments to
ne2000_attach().
1998-10-28 00:13:47 +00:00
thorpej
2fd1cb5817 Regen. 1998-10-27 00:55:46 +00:00
thorpej
64acdc1e7a Product ID for Xircom CreditCard CE2 10base-T Ethernet. 1998-10-27 00:55:30 +00:00
thorpej
8f460d30f6 Nuke spurious ; 1998-10-14 18:05:45 +00:00
bouyer
19fddaeeb5 Merge bouyer-ide 1998-10-12 16:09:10 +00:00
thorpej
2101c736a3 Make the product lookup table-driven. 1998-10-11 18:42:01 +00:00
thorpej
e0fa7545bf Use pcmcia_io_free() where appropriate. 1998-10-10 22:01:24 +00:00
thorpej
09b6735d35 Define missing pcmcia_io_free(). 1998-10-10 21:59:40 +00:00
thorpej
f1c971ea72 Device driver for PCMCIA multi-port serial cards. Currently supports
the Socket Communications, Inc. dual-rs232 device.
1998-10-10 21:27:21 +00:00
thorpej
0a70a74239 Regen. 1998-10-08 20:44:00 +00:00
thorpej
8ba90a1c93 Correct product ID for Socket Communications Dual Serial Adapter. 1998-10-08 20:43:42 +00:00
thorpej
19d188b293 Regen. 1998-10-08 20:12:52 +00:00
thorpej
1b15f541a6 Add Megahertz X-JACK 56kbps Modem, from Johnny C. Lam, PR #6173. 1998-10-08 20:11:59 +00:00
thorpej
0b4cfbfe6e Fix some whitespace lossage. 1998-10-08 02:06:13 +00:00
jtk
568398bad2 regen data files 1998-10-07 01:08:57 +00:00
jtk
3067a16f6e update for a broken variant of the Linksys E-CARD 1998-10-07 01:08:37 +00:00
veego
c31e48b356 Reorder the ne2000devs entries. So all PCMCIA_VENDOR_INVALID and/or
PCMCIA_PRODUCT_INVALID entries comes first.
1998-09-23 21:22:41 +00:00
dbj
392f960b14 Regenerated .h files to fix "generated from" CVS id. 1998-09-20 21:08:49 +00:00
dbj
1c578d0ad2 Added support for a Dayna Communicard E that probes with a
different product id (0x2f) than the one we had (0x2d)
1998-09-20 19:19:53 +00:00
enami
b85655c706 Use an appropriate value for wpp_quirk_flag. 1998-09-18 14:43:58 +00:00
kenh
d1e0ee615b Regen 1998-09-10 19:57:20 +00:00
kenh
537261f6c5 Reorganize the probe routine and add a quirk table. Much of this code
comes from Enami Tsugutomo (enami@but-b.or.jp).  Also add a couple more
devices to the pcmcia devices table.
1998-09-10 19:55:30 +00:00
christos
bd52ba3c5a Assign copyright to TNF. 1998-09-05 14:42:05 +00:00
christos
236611ac0b Regen. 1998-09-05 14:18:04 +00:00
christos
c7a4282124 Assign copyright to TNF. 1998-09-05 14:12:36 +00:00
msaitoh
7734e0ef29 fix version string (from PC Card Standard, April 1998 (Release 6.1)) 1998-08-22 23:41:48 +00:00
msaitoh
369bc4cb89 Allocate an I/O according to the config table entries.
Auto assign is done only when all cfe->iospace[0].start fails.
1998-08-22 17:47:58 +00:00
thorpej
6bfd748b46 First-crack at RoadRunner (3c574-TX 10/100Mbps PCMCIA). Doens't yet use
any of the RoadRunner speed hacks.
1998-08-17 23:20:39 +00:00
thorpej
93d3ff20b4 Regen. 1998-08-17 23:12:15 +00:00
thorpej
d2f5e92d0a Add product ID for the 3Com 3c574-TX 10/100Mbps Ethernet, provided
by Laine Stump.
1998-08-17 23:10:12 +00:00
nathanw
dbdebe9c17 Reduce com_devs[] to those devices (one!) that we need to match by CIS
string comparison. Change com_dev_match() somewhat to reflect that.
1998-08-17 03:28:51 +00:00
thorpej
5e177fa975 Regen. 1998-08-15 21:37:24 +00:00
thorpej
ca15ee6ef6 Consolidate the Socket products, pointed out by Nathan Williams. 1998-08-15 21:36:25 +00:00
thorpej
05eabf2eef Regen. 1998-08-15 21:29:24 +00:00
thorpej
0ac0bf4615 Oops, that Socket Communications vendor ID was redundant. Sort the vendors
so I won't make that mistake again.
1998-08-15 21:28:26 +00:00
thorpej
1c7ae25125 Sigh, #if 0 the SMC 8020BT EtherEZ entry until we know what the product
ID really is.
1998-08-15 20:47:32 +00:00
thorpej
fec04bbde8 Regen. 1998-08-15 20:46:31 +00:00
thorpej
f2a088f77c Oops, that SMC product ID is actually for the 8016 EtherCard. *sigh* 1998-08-15 20:46:06 +00:00
thorpej
066e235e19 Take a stab at supporting the SMC 8020BT EtherEZ. (Similar to the
Megahertz; Ethernet address is stored in third CIS info string, but
may also be in the FUNCE/LANNID tuple.)
1998-08-15 20:11:38 +00:00
thorpej
8954eaede3 Regen. 1998-08-15 20:08:37 +00:00
thorpej
1bf26fea5a Add SMC vendor ID, and SMC 8020BT EtherEZ product ID. 1998-08-15 20:08:07 +00:00
thorpej
a68f2398d3 Add the Trust Combo EthernetCard, from Dante Profeta. 1998-08-15 19:00:04 +00:00
thorpej
b2097ee74d Regen. 1998-08-15 18:58:32 +00:00
thorpej
9314c120f7 Add the Trust Combo EthernetCard product ID, from Dante Profeta. 1998-08-15 18:58:05 +00:00
thorpej
cb7214f1a4 Regen. 1998-08-15 18:56:16 +00:00
thorpej
81f67879f9 Add vendor ID for Socket Communications, and product ID for the
Socket Communcations Dual RS232 card.
1998-08-15 18:55:25 +00:00
mycroft
d07b3639a4 Assign my copyrights to TNF. 1998-08-15 17:47:15 +00:00
thorpej
3ca5e496cc Fix a brain'o that caused the 3c589 to not match. 1998-08-15 16:09:46 +00:00
mycroft
6dc903202f Assign my copyrights to TNF. 1998-08-15 10:10:47 +00:00
thorpej
4c88513d7d Look up the PCMCIA 3Com products in a table-driven fashion, like the
PCI products.
1998-08-15 07:25:15 +00:00
thorpej
d5b735ae79 In the NewMedia callback, make sure we have a LAN Node ID tuple. 1998-08-15 06:56:12 +00:00
thorpej
2be6d344ab Use the symbolic name for the tuple code used to find the Ethernet
address.
1998-08-15 06:46:33 +00:00
thorpej
93eb06f9f2 Don't bother with the num_memspace check. It makes some otherwise-working
cards (e.g. Xircom CM33) fail needlessly.

From Jan van Doorn <jdoorn@nc.com>, PR #5580.
1998-08-15 01:41:31 +00:00
thorpej
9646d7f100 Add support for the D-Link DE-660. From Tero Kivinen <kivinen@ssh.fi>,
PR #5691.
1998-08-15 01:20:05 +00:00
thorpej
7ea79f1cb2 Regen. 1998-08-15 01:18:06 +00:00
thorpej
be8a202a21 Add the D-Link DE-660. From Tero Kivinen <kivinen@ssh.fi>, PR #5691. 1998-08-15 01:17:51 +00:00
thorpej
1f4b4ceda6 Add support for the NewMedia BASICS Ethernet. Device info provided by
Stefan Grefen in PR #5902.
1998-08-14 23:31:22 +00:00
thorpej
5fa0fd5087 Regen. 1998-08-14 22:59:54 +00:00
thorpej
924090ec6d Add vendor ID for NewMedia Corporation, and product ID for NewMedia
BASICS Ethernet.  From Stefan Grefen, PR 5902.
1998-08-14 22:59:35 +00:00
nathanw
55491ea367 Rototill match algorithim. New scheme:
1. Does the function claim to be a serial port?
2. Does the function's configuration table present all four
   standard ISA com port ranges?
3. Is the device in our table?

New serial devices do not need to be added to the table unless they
fail both (1) and (2).
1998-08-13 15:08:54 +00:00
nathanw
a461703d7f Use PCMCIA_FUNCTION definitions.
Initialize function ID in new pcmcia_function structures to
PCMCIA_FUNCTION_UNSPEC, not PCMCIA_FUNCTION_MULTIFUNCTION (0).
1998-08-13 15:03:06 +00:00
nathanw
5417a1681d Add PCMCIA_FUNCTION_* macros, for function types defined by
PCMCIA_CISTPL_FUNCID.
1998-08-13 15:00:02 +00:00
eeh
a2dd74ed79 Merge paddr_t changes into the main branch. 1998-08-13 02:10:37 +00:00
thorpej
b170caf730 Completely rewrite media selection. Add support for the MII/PHY on
the 3Com 3c905-TX and 3c905-T4.  Fix handling of the MII on the
3c595-MII and 3c597-MII (can't talk to the PHYs on these cards; just
use "manual" for the external MII port).

Fixes kern/4782 (Chris Demetriou).
1998-08-12 18:51:52 +00:00
thorpej
16ad73c288 Add the Simple Technology Communicator 28.8. 1998-07-30 20:47:11 +00:00
thorpej
b25d4941cd Regen. 1998-07-30 20:45:35 +00:00
thorpej
965404c104 Add Simple Technology vendor ID, and Simple Technology Communcator 28.8
product ID.
1998-07-30 20:44:25 +00:00
christos
e6efe5f7e9 Regen 1998-07-22 11:48:58 +00:00
christos
194f94bd97 Don't print bogus info about vendors in pcmciadevs_data.h
(Reported by John Kohl)
1998-07-22 11:47:13 +00:00
christos
f5f944adfd Regen 1998-07-20 07:34:11 +00:00
christos
87dc83ee69 Remove duplicate DEC card 1998-07-20 07:33:54 +00:00
mellon
7a03c42491 Fix typo. 1998-07-20 02:17:17 +00:00
christos
66370d4fe9 Regen 1998-07-19 17:30:02 +00:00
christos
e3bc291504 Add a devlist2h.awk so that we don't sprinkle the same constants over
each device driver file and use it.
1998-07-19 17:28:15 +00:00
nathanw
dd34e06fe7 Add three more cards:
- USRobotics WorldPort 14.4 modem
 - Mototola Personal Messenger 100c CDPD modem
 - Socket Communications PageCard

Note: Most of this should be replaced with a com-port-detecting
heuristic better than the previous two.
1998-07-13 07:37:05 +00:00
jonathan
011f2bda08 defopt NS, NSIP. 1998-07-05 06:49:00 +00:00
jonathan
3751946b97 defopt INET, NETATALK. 1998-07-05 00:51:04 +00:00
marc
d663cd1216 better MFC parsing (for 3c56[23]D), and make sure the pf is zeroed out before using it (for adaptec 1460b) 1998-07-01 07:13:41 +00:00
augustss
509c98eb23 Add another modem card. 1998-06-30 14:14:44 +00:00
christos
1f111f9252 PR/5671: Brett Lymn: Add CIS strings for en2212 1998-06-28 14:28:13 +00:00
christos
a72d501b1f PR/5662: Thilo Manske: Add signature of RPTI EP401 card. 1998-06-27 20:28:24 +00:00