Commit Graph

1010 Commits

Author SHA1 Message Date
mycroft 961619ae0e pcmcia_socket_{enable,disable}() weren't used. Reimplement them as public
functions taking a pcmcia* device structure.

XXX This is a method of last resort for dealing with stupid/insane cards that
we need to probe harder before we can choose a config entry.  It should not be
used by most drivers.
2004-08-08 05:33:04 +00:00
mycroft 9918238ca5 Regen. 2004-08-07 17:18:20 +00:00
mycroft 7e01821c61 Clean up the Lucent (and clone) entries a bit.
Add the Hermes II (doesn't work yet, but it's harmless).
2004-08-07 17:18:09 +00:00
mycroft 5ef4913a65 Remove extra space. 2004-08-07 05:46:39 +00:00
mycroft c4fbc53cad Clean up attach messages. 2004-08-07 05:27:39 +00:00
mycroft dddef3e3c4 Clean up attach messages. 2004-08-07 04:55:25 +00:00
mycroft ea0d4e378a Swap around the output in some other cases so it's consistent.
Remove some more DELAY()s.
2004-08-07 01:52:42 +00:00
mycroft 15f2664423 Simplify the revision matching code. This is more like what the current
Linux driver does.
2004-08-07 01:44:45 +00:00
mycroft bbfd8cfd32 Oops; forgot a return. 2004-08-07 01:18:06 +00:00
mycroft 001ca3bd72 Tighten up the CIS parsing code a little.
Fix a double-free in a failure case.
Turn off the card if it doesn't fully attach.
2004-08-07 01:09:26 +00:00
mycroft 4e96eb2bd9 The generic code already looked for a LAN ID tuple, so look at what it found
rather than reparsing.
2004-08-07 01:07:31 +00:00
mycroft 4343cdf0c1 Only DELAY() once per CIS region, not once per tuple.
For PCMCIACISDEBUG, print out the tuple *before* parsing it or calling the
callback, so that we can see the tuple that the callback claimed.
2004-08-07 01:06:38 +00:00
mycroft da7483a558 Don't call rnd_detach_source() if we never called rnd_attach_source().
Very minor other cleanup.
2004-08-06 20:38:09 +00:00
mycroft 632742c13d Put a comma before the last CIS string too. 2004-08-06 20:30:05 +00:00
mycroft cce74b1050 Make a couple of Megahertz cards (one straight Ethernet, one multifunction)
work by:
* adding another product to the table,
* checking the function type (to reject the serial port),
* trying harder to find the MAC address in the CIS strings (it may occur in
  one of two different places).
Also, PCMCIA_STR_* elimination.
2004-08-06 19:38:49 +00:00
mycroft 7942a229b2 Regen. 2004-08-06 19:07:27 +00:00
mycroft 5bce4931d3 A few things:
* The DEPCM-XX cards don't need to be recognized by OUI or string -- they
  work just fine with the IO-DATA PC-LAT/E attachment, and are probable OEM.
  So, remove the DEPCM case.
* PCMCIA_STR_* elimination.
* The Megahertz EM3336 is not always an X-Jack device, so take the "XJ" out
  of the product number.
2004-08-06 19:07:12 +00:00
mycroft ca7a51c636 Regen. 2004-08-05 21:53:26 +00:00
mycroft 5cf3883fb7 Match Spectrum24 by product ID, not string. 2004-08-05 21:53:04 +00:00
mycroft 3b326e5df0 Add Asustek WL-100, per PR 26559. 2004-08-05 17:29:41 +00:00
mycroft f21c90e03b Regen. 2004-08-05 17:24:00 +00:00
mycroft dec87a4620 Add Asustek WL-100, per PR 26559. 2004-08-05 17:23:47 +00:00
mycroft ea12e63610 Regen. 2004-07-17 19:55:28 +00:00
mycroft af16b34b94 Remove ZONET ZEN. 2004-07-17 19:55:14 +00:00
mycroft 5bd875b764 A bit of cleanup:
* Change PCMCIA_CIS_* values that are empty to PCMCIA_CIS_INVALID.
* Use wildcard OUIs in a few more places.
* Steal a method for differentiating the AX88[17]90 from the Linux driver.
* Remove the ZoNet card entry; it's now a duplicate of the Compex entry.
2004-07-17 19:55:03 +00:00
mycroft d4118817df Remove sc_open; the audio layer does this. 2004-07-17 19:47:27 +00:00
enami e350475d03 This comment describes about the entry for FNW-3700T so please don't put
other entry between them.
2004-07-09 03:41:23 +00:00
enami 5c364151d2 Add BUFFALO LPC-CF-CLT Ethernet Adapter entry. 2004-07-09 03:36:01 +00:00
enami 070e3d84bc Regen. 2004-07-09 03:19:51 +00:00
enami de22c7ecd0 Add BUFFALO LPC-CF-CLT Ethernet Adapter. 2004-07-09 03:19:20 +00:00
enami fd259af21b Sort BUFFALO entries by id. 2004-07-09 03:17:31 +00:00
mycroft f61ec29665 Clean up attach messages. 2004-07-07 18:57:00 +00:00
mycroft 1e8861042b Add a quick-and-dirty attachment for my MB87030-based PCMCIA SCSI controller.
XXX Don't even think about detaching it yet.
2004-07-07 08:47:22 +00:00
mycroft 74da882744 More cleanup:
* Print "devinfo" in a canonial place (like we do in the SCSI code).
* Use aprint_{error,normal}() during attach.
* More PCMCIA_STR_* removal.
2004-07-07 06:43:22 +00:00
mycroft 16802a90de Modify the format of pcmcia_devinfo() slightly. 2004-07-07 06:08:25 +00:00
mycroft b88b233ecf More PCMCIA_STR_* elimination. 2004-07-07 05:51:42 +00:00
mycroft 8b32f3c10d The PCMCIA_STR_* values in this driver weren't even used! Remove them.
Also, add a new device, and printf()->aprint_normal().
2004-07-07 05:42:08 +00:00
mycroft 26b5e7e0b3 Add new devices. Use pcmcia_devinfo(). 2004-07-07 05:39:27 +00:00
mycroft 826975f6fc Regen. 2004-07-07 05:38:42 +00:00
mycroft 1f9cda516f Fix a typo. 2004-07-07 05:38:29 +00:00
mycroft 688d90c3dd Regen. 2004-07-07 05:34:33 +00:00
mycroft 4386f17aed Add a few more cards. 2004-07-07 05:34:18 +00:00
mycroft 8d257deaad Add a couple more entries. 2004-07-07 04:19:45 +00:00
mycroft ce095c86d3 Regen. 2004-07-07 04:19:15 +00:00
mycroft 08c98044fd Add the NextCom Next Hawk. 2004-07-07 04:19:01 +00:00
mycroft 309a698f3c This table is dumb.
1) Remove all the PCMCIA_STR_* values, and instead print the actual CIS
   info.  This is infinitely more helpful.
2) For some of the OEM cards, collapse multiple table entries into one
   entry that doesn't compare the OUI.
It's a start.
2004-07-07 04:01:30 +00:00
mycroft fda6e12798 Add another OUI for a Melco card.
XXX
The way this table is done is kind of dumb.  There's really every little point
in matching anything beyond vendor/product IDs in most cases, unless we
specifically need to do some hackery to find the MAC address.  In many cases 4
or 5 manufacturers well have the same vendor/product IDs, but different OUIs
and possibly different strings.  In these cases, we rarely need to look at the
OUI or the strings to DTRT.
2004-07-07 02:17:17 +00:00
mycroft c01807532a Fix alignment argument to pcmcia_io_alloc() to prevent a gratuitous panic,
per PR 6069.
2004-07-06 13:43:00 +00:00
mycroft dfcb3d19d0 Add an entry for the Netgear FA410TX -- though not quite the way it was
suggested in PR 20227.
2004-07-04 01:28:51 +00:00
thorpej bddc74072e Define and use pcmciabuscf_controller as an alias for
cf_loc[PCMCIABUSCF_CONTROLLER] and pcmciabuscf_socket
as an alias for cf_loc[PCMCIABUSCF_SOCKET].
2004-06-20 18:09:46 +00:00