Commit Graph

190 Commits

Author SHA1 Message Date
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
briggs
280ec38f78 Correct the order of arguments to pmatch(). 1998-06-23 02:19:25 +00:00
christos
a6c37f987d Add pcmcia floppy front end.
XXX: We need to make an isa machine independent floppy driver...
1998-06-21 18:45:41 +00:00
christos
21577d67e2 Fix a variety of bogocities:
- Don't enable interrupts on attach time; we don't have to
- Don't assume that because a card has a cfe entry that matches one
  of the standard com ports, is a modem; my floppy was recognized as
  a modem! Require a match of the cis strings against *[Mm][Oo][Dd][Ee][Mm]*
- Print things in order so that we don't mess up the output with un-needed
  newlines
- Using an array of cis identifiers to find e modem should not use the
  function number; it is not reliable. For example 3c562[A-D] are different
  Maybe this can go away altogether and print parts of the cis strings
1998-06-21 18:41:07 +00:00