Commit Graph

284 Commits

Author SHA1 Message Date
dyoung bcc2926388 Name some constants. Perhaps this deserves the cardbus_setpowerstate
treatment?
2004-06-06 04:10:49 +00:00
skd a3407cf66b fix typo in comment: resister -> register. 2004-05-16 21:32:31 +00:00
jonathan cc817061aa Remove now-unused 'int pmreg'. 2004-05-09 01:39:41 +00:00
christos de3fd5d864 Cleanup and remove suplicate copies of the incorrect power setup code.
Thanks to mycroft for suggesting this.
XXX: This is a copy of the pci code; another reason cardbus needs to die.
2004-05-08 23:40:01 +00:00
itojun 6123043789 pass string length (= boundary info) to pci_devinfo so that we do not run over
the end of memory region
2004-04-23 21:13:05 +00:00
itojun aca4c091d3 sprintf -> snprintf 2004-04-22 00:17:10 +00:00
kanaoka bbfd611e6d - Add (missed)"csc->cc_ih = NULL;" in com_cardbus_disable().
- Check "csc->cc_ih != NULL" before cardbus_intr_disestablish()
   in com_cardbus_detach().

This fixed panic when the card removed.
The card is a "Xircom RealPort Cardbus Ethernet 10/100+Modem 56".

Reported & Tested by Peter Postma <peter.postma@chello.nl>
on current-users.
2004-03-11 16:34:54 +00:00
kanaoka 82aab73572 Add (missed)"csc->sc_ih = NULL;" in rtk_cardbus_disable().
This fixed panic when card removed
after "ifconfig rtk0 up; ifconfig rtk0 down".
2004-03-11 12:19:14 +00:00
dyoung 8ecfa06341 Move the RF Microdevices RF3000 & Silicon Laboratories SI4126/SI4136
register sets into their own header files for re-use by future
drivers.
2004-02-17 21:20:55 +00:00
wiz f5b32c1e69 RealTek -> Realtek. 2004-02-13 10:00:54 +00:00
dyoung 5e9822c7e9 Get rid of __P. 2004-01-29 10:25:49 +00:00
dyoung d957a27d98 The MII headers are not necessary, so don't include them. 2004-01-29 10:07:08 +00:00
jdolecek f06a5b89bf adapt to latest ahc(4) changes, so that this wouldn't panic kernel on boot
problem reported by Hilmar Both on current-users
2004-01-19 23:15:36 +00:00
jmc 43bf89bfc6 Fixes from PR#23177. Various lint/logic fixes:
Fix some non-initialized variables
close the output files when done
Redo the printing for RCS strings so they don't expand in the awk script too
Do proper tests for variables existance before accessing

Verified output from all scripts is identical to original versions
2003-12-15 07:32:20 +00:00
lukem 130aed8e40 fix uninitialised variable warning. XXX: not sure if this is correct 2003-11-24 06:11:56 +00:00
dyoung 23d8f48692 Add data-link type DLT_IEEE802_11_RADIO to wi and atw. DLT_IEEE802_11_RADIO
lets you monitor radio stats like received signal strength, which
diversity antenna was used, channel/frequency, modulation, and data
rate.
2003-11-16 09:02:42 +00:00
wiz c0177219fe Fix some typos. From Tom Cosgrove via jmc@openbsd. 2003-11-02 09:52:33 +00:00
fvdl e645b8b032 Add definitions for 8139C+ and 8169 chips. Not used yet. From FreeBSD. 2003-10-25 23:48:45 +00:00
christos 8bfd5e3292 Fix uninitialized variable warnings 2003-10-25 18:34:14 +00:00
mycroft 4ed6e478a6 + NetGear FA511 2003-10-24 17:04:16 +00:00
mycroft f4bdf17ebc Fix awk warnings. 2003-10-24 17:01:58 +00:00
ichiro f4f7b1ae5c add support ath on cardbus
- implement power management
2003-10-14 17:47:03 +00:00
ichiro 6fc4a5549a regen 2003-10-14 17:44:09 +00:00
ichiro 5e3d3508b6 add ATHEROS AR5001 WirelessLAN 802.11a/b/g CardBus 2003-10-14 17:43:55 +00:00
dyoung 372fd2b92a Adapt atw(4) to the new 802.11 layer.
Simplify atw_start, atw_newstate.

Synchronize access to atw_start by bracketing the call to
ieee80211_next_scan in atw_next_scan with splnet()/splx().
2003-10-13 08:22:19 +00:00
simonb a4852d80fc Remove an unreachable return statement (and fix a whitespace nit). 2003-09-13 12:17:12 +00:00
itojun 7f6ed16ef4 function prototype must not have variable name 2003-07-08 10:06:28 +00:00
dyoung a036b1536b Oops. Add the atw(4) sources, too. 2003-07-06 22:57:23 +00:00
dyoung 46a27517aa Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.
2003-07-06 22:56:07 +00:00
ichiro 5f17d961c0 regen. 2003-06-26 21:15:12 +00:00
ichiro 2bb26f9cd9 add products
Planex 10/100BaseTX FNW-3800-TX
   kern/20175
Corega FEther II CB-TXD 10/100BaseTX
   kern/21497
2003-06-26 21:14:44 +00:00
scw f8a82ee618 Fix some DPRINTF statements to deal with bus_addr_t and bus_size_t types
defined in terms if 'int' instead of 'long'.
2003-05-17 08:23:14 +00:00
fvdl 9af6ac1fc3 Initialize name and dma tag. 2003-04-20 16:52:40 +00:00
fvdl 4d6d3fb37b Call ahc_softc_init in attach function. 2003-04-20 15:48:25 +00:00
fvdl 79bdc751aa Fix this to compile with the new driver. Needs testing. 2003-04-19 19:35:09 +00:00
nakayama 14a2f27862 Make it compile in big endian. 2003-03-22 11:32:38 +00:00
nakayama 64f7818314 PCI-CardBus bridge support for sparc64:
- use u_long for extent_alloc_subregion result instead of bus_addr_t.
  (sizeof u_long != sizeof bus_addr_t on 32bit kernels of sparc64)
2003-03-22 06:18:22 +00:00
drochner f4f1e00d62 make a kernel with the combination ohci@cardbus + ehci@pci link 2003-03-11 11:59:31 +00:00
ichiro 913634c3a8 add product IO-DATA CBET100-CL 10/100 Ethernet
(OEM AboCom FE2000VX )
2003-02-01 07:50:38 +00:00
ichiro 7f5a6ef120 regen 2003-02-01 07:50:06 +00:00
ichiro c349475c5f add product IO-DATA CBET100-CL 10/100 Ethernet
(OEM AboCom FE2000VX )
2003-02-01 07:49:33 +00:00
thorpej 72a7af27b0 Use aprint_normal() in cfprint routines. 2003-01-01 00:10:15 +00:00
tsutsui b22b6283f3 Sync with if_rtk_pci.c:
- Fix typo in printf message.
- Don't use PCI_PRODUCT_DELTA_8139 (0x1360) for args of cardbus_conf_read()
  and cardbus_conf_write(); use CARDBUS_INTERRUPT_REG (0x3c) instead.
2002-12-23 02:19:22 +00:00
ichiro f11d642c88 make compile 2002-12-05 09:21:26 +00:00
thorpej d32a923263 Avoid strict-alias warnings. 2002-11-25 02:31:14 +00:00
kanaoka 9e351ea764 Add support for "Planex FNW-3603 cardbus ethernet".
by kern/18961: From: prlw1@cam.ac.uk.
2002-11-11 14:21:18 +00:00
kanaoka 6a22a366a4 Regen:
Add support for "Planex FNW-3603 cardbus ethernet".
by kern/18961: From: prlw1@cam.ac.uk.
2002-11-11 14:20:01 +00:00
kanaoka 853a2913d9 Add support for "Planex FNW-3603 cardbus ethernet".
by kern/18961: From: prlw1@cam.ac.uk.
2002-11-11 14:15:48 +00:00
onoe 409174d6fa Add support of AboCom FE2500MX 10/100 Ethernet (Lanneed LD-CBL/TX). 2002-11-11 12:51:38 +00:00
onoe b9cfd2c966 Regen: Add AboCom FE2500MX 10/100 Ethernet (Lanneed LD-CBL/TX) 2002-11-11 12:51:07 +00:00