Commit Graph

874 Commits

Author SHA1 Message Date
martin
ae13b3f806 bus_size_t != bus_addr_t, so use bus_size_t where appropriate.
Fixes PR kern/20482 by John Ruschmeyer.
2003-02-27 07:50:57 +00:00
simonb
5eb4a89fef Remove assigned-to but not used variable. 2003-02-23 04:15:02 +00:00
tsutsui
29849ba3b6 hz -> Hz 2003-02-22 05:06:36 +00:00
simonb
276fd1665c The Double-Semi-Colon Police. 2003-01-20 05:29:53 +00:00
kanaoka
ebd3830c6f Add support for SMC 8041TX 10/100 Ether PC Card. 2003-01-16 15:21:20 +00:00
kanaoka
c3ce5c6811 Regen. Add SMC 8041TX 10/100 Ether PC Card. 2003-01-16 15:20:18 +00:00
kanaoka
424cccc1e5 Add SMC 8041TX 10/100 Ether PC Card. 2003-01-16 15:18:44 +00:00
jdolecek
6c334c1ee1 fix mistake in the attachment, which caused the device interrupt handler
to not be properly setup
fix provided in PR kern/13621 by ITOH Hideki
2003-01-12 12:53:36 +00:00
thorpej
72a7af27b0 Use aprint_normal() in cfprint routines. 2003-01-01 00:10:15 +00:00
jdc
50b0738c11 Match the D-Link DWL650H.
Tested on i386 and hpcarm.
2002-12-29 12:11:45 +00:00
jdc
157591d35a Regenerate (DWL650H addition). 2002-12-29 12:06:34 +00:00
jdc
d354b364e4 Add D-Link DWL650H wireless card (a different product than the plain DWL650). 2002-12-29 12:04:48 +00:00
bouyer
e69ba7cb79 Commit patch I sent to tech-net on 29/09/2002:
The driver puts the adapter in promisc mode to receive multicast addresses.
At last set the IFF_PROMISC flag so that the upper layer filters frames
that are not for us.
Sure, the real fix would be to get multicast filters working ...
2002-12-10 21:50:32 +00:00
tsutsui
9604e7689d More cleanup of MI mb86960 driver:
- Add support for byte system bus mode. Based on patch in kern/17193 by
  Christian Groessler, with some improvements by me.
- Rename sc_flags in mb86960_softc to sc_stat, rename "type" to sc_flags
  to specify controller quirks and remove enum mb86960_type.
- Pass controller type via new sc_flags in mb86960_softc rather than
  via an mb86960_attach() arg.
- Handle unaligned mbufs properly in mb86960_write_mbufs(). (from ne2000.c)
- Fix a signed/unsigned comparision warning.
- Add definitions of status bits in the RX packed header.
- Change types of some members in mb86960_softc.
2002-11-30 14:15:10 +00:00
thorpej
d32a923263 Avoid strict-alias warnings. 2002-11-25 02:31:14 +00:00
onoe
d125f36802 Add support of Sony PEGA-WL100 CF Wireless LAN Card. 2002-11-06 05:45:17 +00:00
perry
0b13788269 remove redundant defines caught by lint 2002-10-23 02:06:11 +00:00
thorpej
b75a007d9f Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
thorpej
71adb76f75 Use CFATTACH_DECL(). 2002-09-30 21:57:46 +00:00
onoe
2f8340c369 Nuke unneeded member sc_ifp and use #define sc_if instead,
to prepare jumbo commit for wi.c
2002-09-30 06:29:29 +00:00
thorpej
f818766afe Declare all cfattach structures const. 2002-09-27 20:31:45 +00:00
thorpej
6c88de3b53 Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller.  Use it
rather than invoking cfattach->ca_match directly.
2002-09-27 03:17:40 +00:00
thorpej
d1ad2ac4f2 Rather than referencing the cfdriver directly in the cfdata entries,
instead use a string naming the driver.  The cfdriver is then looked
up in a list which is built at run-time.
2002-09-27 02:24:06 +00:00
martin
1fc22808f2 Apply a patch from Murray Armfield in PR kern/18372: bring in some changes
from FreeBSD to improve receive performance.
2002-09-22 10:13:32 +00:00
bouyer
7ccb421b1d Regen: add ACCTON EN2216. 2002-09-15 17:44:33 +00:00
bouyer
2f6aa3ef83 Add ACCTON EN2216-PCMCIA-ETHERNET (there seems to be different variants of
the ACCTON EN2216) to pcmciadevs, and support this adapter by if_ne_pcmcia.
Tested by Rémi Zara <remi_zara@mac.com>.
2002-09-15 17:43:48 +00:00
simonb
f2721c1ee4 Fix indent botch. 2002-09-13 02:16:08 +00:00
gehenna
77a6b82b27 Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.
2002-09-06 13:18:43 +00:00
mason
8b01de5e08 Commit with correct RCS IDs in these files - hadn't looked into them
previously to note that they reference the RCS ID in "pcmciadevs".
Hence, committed versions which incorrectly pointed back to the RCS ID
of the "pcmciadevs" that existed prior to my addition. Corrected in this
commit.
2002-09-04 02:21:09 +00:00
mason
8e9d888f97 Support this device, which is evidently a rebadged GEMTEK WLAN which we
already support under another name:

wi0 at pcmcia0 function 0: NETGEAR MA401RA Wireless PC, Card, ISL37300PEval-RevA
wi0: 802.11 address <whatever>
wi0: using RF:PRISM2.5 MAC:ISL3873B(PCMCIA)
wi0: Intersil Firmware: Primary (1.0.7), Station (1.3.6)
2002-09-04 00:04:03 +00:00
christos
4251568ad8 Fix multi-function card memory problems:
- centralize pcmcia function allocation and free'ing.
- free the cfe too, not just the pf in the multifunction card case.
- don't free pointers while walking the list, because free() will
  fill the memory with deadbeef, thus killing list walking.
2002-08-15 10:37:02 +00:00
rjs
2ce5cda977 Regenerate. 2002-07-23 23:12:48 +00:00
rjs
2ddb53c039 Add entries for:
Ositech Seven of Diamonds Ethernet Card
    Netgear FA410TX Ethernet Card
2002-07-23 23:11:04 +00:00
christos
fa08f33f2d PR/17686: Cliff Albert: Dynalink L10C pcmcia card is not supported 2002-07-23 14:11:11 +00:00
mjl
f790e45db0 Regen for Dynalink L10C 2002-07-23 10:35:28 +00:00
mjl
d9b07b8085 Add Dynalink L10C as provided by Cliff Albert in PR/17686. 2002-07-23 10:35:06 +00:00
uwe
401b8356c5 Print correct io addresses in sm attachment message (pasto). 2002-07-09 00:24:52 +00:00
martin
802d01cc19 Add support for Zcomax/ELSA XI325. From Jasper Wallace in PR 17252. 2002-06-17 07:47:33 +00:00
martin
1afa7ca375 Regen (XI325 Wireless LAN added) 2002-06-17 07:40:31 +00:00
martin
c7a70b196f Add ELSA XI325 Wireless LAN, from Jasper Wallace 2002-06-17 07:38:42 +00:00
martin
8d0aae90e8 Add support for ACTIONTEC wireless lan card, from jasper@pointless.net
in PR kern/17194.
2002-06-08 18:06:09 +00:00
martin
cd8bd9c2e1 Regen (ACTIONTEC wireless lan card added) 2002-06-08 18:02:08 +00:00
martin
e59eb100a6 Add ACTIONTEC wireless lan card. 2002-06-08 18:01:14 +00:00
jonathan
9f02dbda6b Add stanza to match and configure D-Link DFE-670 cards (a DL10022 variant).
Also print a little more info (including CIS tuples) when cards don't match,
making it a little easier to patch in entries.
2002-06-03 01:17:49 +00:00
jonathan
bf7d101fb6 Regen from pcmciadevs 1.171 after adding D-link DFE-670 ethernet card. 2002-06-03 01:15:15 +00:00
jonathan
4cd89ab8cc Add device-id for D-Link DFE-670 (10/100 DL10022-like card). 2002-06-03 01:13:01 +00:00
lukem
06de426449 SIMPLEQ rototill:
- implement SIMPLEQ_REMOVE(head, elm, type, field).  whilst it's O(n),
  this mirrors the functionality of SLIST_REMOVE() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE()
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
  this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
- remove notes about SIMPLEQ not supporting arbitrary element removal
- use SIMPLEQ_FOREACH() instead of home-grown for loops
- use SIMPLEQ_EMPTY() appropriately
- use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly
- reorder manual page; be consistent about how the types are listed
- other minor cleanups
2002-06-01 23:50:52 +00:00
itojun
aa309c7dc2 regen 2002-06-01 21:03:37 +00:00
itojun
e35096b705 new ne0 pcmcia pccard: corega EtherII PCC-TD
PR 17134, From: <fujiwara@f.pyon.org>, Kazunori@netbsd.org, Fujiwara@netbsd.org
2002-06-01 21:03:14 +00:00
mycroft
f6dc1467bf Add a Nortel e-Mobility card. 2002-05-31 13:30:36 +00:00