Commit Graph

473 Commits

Author SHA1 Message Date
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
cgd 651b44e211 Rework the way kernel include files are installed. In the new method,
as with user-land programs, include files are installed by each directory
in the tree that has includes to install.  (This allows more flexibility
as to what gets installed, makes 'partial installs' easier, and gives us
more options as to which machines' includes get installed at any given
time.)  The old SYS_INCLUDES={symlinks,copies} behaviours are _both_
still supported, though at least one bug in the 'symlinks' case is
fixed by this change.  Include files can't be build before installation,
so directories that have includes as targets (e.g. dev/pci) have to move
those targets into a different Makefile.
1998-06-12 23:22:30 +00:00
thorpej 5bc2217a49 Nuke __BROKEN_INDIRECT_CONFIG. 1998-06-09 07:24:55 +00:00
enami 486c074973 An oversight in previous commit. 1998-06-05 03:40:07 +00:00
enami 03409c9b52 - Don't print newline until pcmcia_io_map is called; it expects to write
from middle of line.
- Use SIMPLEQ_FIRST/NEXT macros.
1998-06-05 03:26:52 +00:00
enami f4c1a44b26 Use SIMPLEQ_FIRST/NEXT macros. 1998-06-05 03:02:31 +00:00
enami 95f9f9f48d In the function pcmcia_card_gettype:
- When there is only one pcmcia function, don't use first config
  entry to determine card type.  Instead, use the config entry
  actually used to initialize the pcmcia function if it is already
  initialized, else a card is memory-type.
- Don't put a space after cast.
- Use SIMPLEQ_FIRST/NEXT macro.
1998-06-05 02:51:17 +00:00
enami 98d557d09e No need to define WDDEBUG or undefine ATAPI_DEBUG_WDC here. 1998-06-04 02:46:24 +00:00
msaitoh 34b0df807a add some information from "PC Card standard March 1997" 1998-05-29 16:21:28 +00:00
matt 4bca66087f Now works with the Digital Hinote Ultra Mobile Media CD-ROM 1998-04-25 17:43:27 +00:00
thorpej 5c85ae8778 Don't establish the interrupt handler just to read the MAC address. 1998-03-31 08:13:34 +00:00
enami a59689c939 Attach device `mbe' at bus `pcmcia'. 1998-03-22 04:39:56 +00:00
enami c02747ba06 PCMCIA bus attachment for MB8696x based Ethernet card. 1998-03-22 04:32:27 +00:00
enami 1164bf0fb5 Define TPLFE_TYPE, which is sub code for CISTPL_FUNCE, for LAN card. 1998-03-22 04:07:43 +00:00
christos 83449d8960 - fix pcmcia_scan_cis to return:
-1 error
	 0 desired tuple not found
	 1 desired tuple found
1998-03-09 21:54:13 +00:00
christos 441bea9142 - more 3c562 magic; document that the 0x88 tuple only works in 3c562a-c
and not in d where it goes back to use the eeprom method. So we detect
  when the tuple method fails and fall back to the original method.
- even more 3c562 magic; the updated linux driver mentions that addresses
  0x??00-0x??7f only work instead of the previous...
1998-03-09 21:52:31 +00:00
christos 509cb1d75f - remove duplicate setting of CCR
- fix debugging code so that it compiles
- reorder the disabling code so that it is more logical
- add splhigh()/splx() in the first establish setting for symmetry
1998-03-07 17:58:17 +00:00
thorpej 5a34bf2a24 Add Dayna CommuniCard E, from Havard Eidnes, PR #5120. Also, remove a
few unnecessary/no-longer-completely-accurate comments.
1998-03-06 20:00:28 +00:00
thorpej 8354e68508 Remove "class" declarations, and add "devclass" declarations where
appropriate.  Fix several inconsistencies between device class and
attributes.  Mostly from Chris Demetriou.
1998-02-16 22:12:45 +00:00
enami ae193ba149 Move entry for IO-DATA PCLA/T out from comment. Since there may be
two different location for MAC address, just make bus-independent
layer to ask it.
1998-02-13 04:51:22 +00:00
marc b01ada14d9 fix up the power management code to dtrt with the 3c562A mfc card (and
hopefully the other variants)
1998-02-01 23:52:25 +00:00
marc 6b68f8b698 use an array of serial devices, not a cascaded if
add power management support
1998-02-01 23:50:52 +00:00
marc 3a3ac64f4f rewrite mfc intr management not to use unexported spl* functions
add mfc iobase/iosize support
 add power management support
1998-02-01 23:49:02 +00:00
marc cdc3013464 whitespace changes for readability 1998-02-01 23:38:44 +00:00
marc 57e56a34bc add state to struct pcmcia_function for mfc iobase/iosize support 1998-02-01 23:38:06 +00:00
mycroft 51ffd85641 Uncomment wdc. 1998-01-23 01:18:52 +00:00
mycroft e89c38b4c2 Slight cleanup. 1998-01-23 01:14:13 +00:00
matt aa7bb65b1c Initial support for Digital Mobile Media Adapter. 1998-01-19 19:49:03 +00:00
thorpej 1934051221 Update for changes to config. 1998-01-12 09:36:53 +00:00
marc 4a03c84731 change the initial loop condition not to round up if the iobase starts
<= 0x70
1998-01-11 22:22:12 +00:00
enami 929e6f5a6f Don't print newline at beginning of line. 1997-12-31 01:19:52 +00:00
perry 907c7a3c43 fix the Linksys Combo EthernetCard (for carrel) 1997-12-18 22:29:29 +00:00
drochner 301a6046c8 fix argument declaration inconsistency in the
non-"__BROKEN_INDIRECT_CONFIG" case
1997-11-30 15:16:55 +00:00
thorpej 1ff808f998 Add support for the D-Link DE-650, from Eric S. Hvozda <hvozda@helios.ack.org>,
PR #4455.
1997-11-20 04:02:34 +00:00
thorpej 7438e6c882 Adjust for ifmedia-related changes to dp8390 driver. 1997-11-02 00:25:11 +00:00
enami 0afff66463 Include locators.h and use symbolic name comes from it. 1997-10-19 14:04:29 +00:00
enami 4e304b8dd7 Make `manufacturer' and `product' 32bit wide so that they can contain
both 16bit id values found in card CIS and special value to indicate
that no value found in CIS.  Use that special value for the card that
doesn't have id values.  Test that value in ne2000_match().
1997-10-19 14:00:32 +00:00
enami f0a4660bee Pull down changes from branch which is commited to by mistake...
> revision 1.1.2.6
> date: 1997/10/18 10:50:21;  author: enami;  state: Exp;  lines: +2 -2
> In the macro ne2000_match(), use its argument `fct' instead of
> using pa->pf->number directly.
1997-10-18 10:56:28 +00:00
mikel 27ab302eb9 RCSid police 1997-10-18 03:17:09 +00:00
sommerfe 6bae176723 conditionalize so core pcmcia bus support is omitted if no pcmcia devices configured 1997-10-17 20:51:19 +00:00
thorpej c66b8643d1 Pull marc-pcmcia branch down from trunk. 1997-10-16 23:27:16 +00:00