Commit Graph

227 Commits

Author SHA1 Message Date
lukem cfb25c839c make this compile again 2002-06-02 23:24:40 +00:00
wiz 36379d74b4 Typo fixes and grammar improvements in a comment. 2002-06-02 23:17:51 +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
thorpej 204183c0fa * Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set to
NULL for root PCI busses.  For busses behind a bridge, it points to
  a persistent copy of the bridge's pcitag_t.  This can be very useful
  for machine-dependent PCI bus enumeration code.
* Implement a machine-dependent pci_enumerate_bus() for sparc64 which
  uses OFW device nodes to enumerate the bus.  When a PCI bus that is
  behind a bridge is attached, pci_attach_hook() allocates a new PCI
  chipset tag for the new bus and sets it's "curnode" to the OFW node
  of the bridge.  This is used as a starting point when enumerating
  that bus.  Root busses get the OFW node of the host bridge (psycho).
* Garbage-collect "ofpci" and "ofppb" from the sparc64 port.
2002-05-16 01:01:28 +00:00
matt fd0e30f1c5 Let's not free an uninitialized variable. 2002-04-22 19:29:55 +00:00
mycroft ab262fe6f0 Snarf-and-barf the `quirk' code from if_tlp_pci.c, and use it to set the right
mediasw (MII-over-SIO) on the Level One FPC-0101TX 10/100 card.
XXX This should probably key off subsystem IDs, not OUIs...
2002-04-14 17:17:10 +00:00
christos 07fb02cbcb Undo my previous change that worked around a problem attaching a 3c562d.
This is handled correctly now in the driver itself. From Hayakawa Koichi
<haya@netbsd.org>, thanks.
2002-03-10 22:27:04 +00:00
augustss 0786bd90ab Add another tlp card (found by trial and error). 2002-02-17 21:21:58 +00:00
augustss c8b7c9e3ba Regen. 2002-02-17 21:21:15 +00:00
augustss 9c5176e112 Add a 10/100 Ethertnet card from Hawking. 2002-02-17 21:20:46 +00:00
ichiro 96f25772c6 OCHI -> OHCI 2002-01-26 16:34:27 +00:00
ichiro f855f38bdd add detach/activate routine 2002-01-16 02:11:20 +00:00
kanaoka 450887c407 Add support for "D-Link DFE-690TXD 10/100".
by kern/15100: From: John Nemeth <jnemeth@access.victoria.bc.ca>
2002-01-04 15:24:24 +00:00
kanaoka 8f88b8c44e Regen. 2002-01-04 15:23:33 +00:00
kanaoka 4cdb84fe68 Add product "D-Link DFE-690TXD 10/100".
by kern/15100: From: John Nemeth <jnemeth@access.victoria.bc.ca>
2002-01-04 15:22:41 +00:00
ichiro fc50aac093 implement fwohci detach routine. 2001-12-29 12:26:31 +00:00
christos d0b18148da make sure that we adjust the end of the subrange if we adjusted the beginning
of it, but the offset of the card. Fixes 'cannot map i/o space' on 3c562d
2001-12-24 09:37:53 +00:00
lukem ecb81c3f6d - convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
  "options FOO=xxx"). options that take a value were converted to
  defparam recently.
- minor whitespace & formatting cleanups
2001-11-28 10:21:10 +00:00
enami fe972558c0 Use __func__ instead of __FUNCTION__. 2001-11-23 10:20:47 +00:00
enami eca8404326 Don't use __func__ as variable. It prevents compilation.
Use __FUNCTION__ instead.
2001-11-21 09:08:38 +00:00
lukem 2565646230 don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
lukem f61cbe7489 add RCSID 2001-11-13 12:51:12 +00:00
augustss 3d3d59f852 Fill the companion controller array. 2001-11-10 17:07:21 +00:00
augustss cd86b27aad ehci can attach to cardbus too. 2001-11-06 03:18:53 +00:00
augustss 58de8e2de6 Add ca_bus field. 2001-11-06 03:18:18 +00:00
augustss d8cebea1fc Make some messages only appear with bootverbose.
Add bus number to attach args.
2001-11-06 03:11:10 +00:00
yamt 274a22b8c0 remove a debug printf committed mistakenly. 2001-09-29 02:16:21 +00:00
yamt da8b08386f - fix wrong ca_devsize.
- change #if 0 to meaningful name.
- enable memio.
2001-09-29 01:53:23 +00:00
yamt 4210698cd5 fix wrong ca_devsize. 2001-09-29 01:52:23 +00:00
wiz 9fa0b17629 Give initiali[sz]e all the "i"s it deserves. 2001-09-18 18:15:49 +00:00
wiz 1bc6d2cee9 Fix typo (`information' has an 'r'). 2001-07-19 16:13:00 +00:00
wiz 4124ef0b6c Fix comment (device has a 'c'). 2001-07-19 16:12:21 +00:00
thorpej de6142b85a Slight tweak to previous; C requires a statement after a label. 2001-07-18 15:24:24 +00:00
onoe 2bc04d9140 revert 2 of 3 in previous commit.
empty default is needed to make gcc happy.
2001-07-18 10:39:28 +00:00
mrg 5a49b0db15 remove empty default: cases. 2001-07-17 13:55:51 +00:00
mrg d23c8fc309 properly use ANSI string concatenation. 2001-07-17 13:55:12 +00:00
haya bed2ac704f Bug fix: call extent_subregion() with alignment = 1 instead of 0. 2001-07-10 10:33:55 +00:00
mcr c34df0c33d cardbus attachment for PCI-PCI bridges 2001-07-06 18:05:59 +00:00
mcr 90e0ca31dd record handles for memory and io spaces 2001-07-06 18:05:25 +00:00
ichiro f4e59879ce support Raltek 8139-based Cardbus card
reported by Takayoshi Kochi(t-kouchi@mvf.biglobe.ne.jp)
 kern/13252: RealTek 8139-based Cardbus support
2001-06-20 05:41:27 +00:00
ichiro f03f25cb17 regen 2001-06-20 05:39:36 +00:00
ichiro ba3eaf4273 add product RealTek 8139
by kern/13252: RealTek 8139-based Cardbus support
2001-06-20 05:39:17 +00:00
haya 1331bcc296 cardbusvar.h is divided into two files: cardbusvar.h and cardbusreg.h. 2001-06-01 10:30:37 +00:00
haya 4d3b32a658 Cosmetic change. 2001-05-31 08:33:40 +00:00
haya f591dd2f9d Cosmetic change. 2001-05-30 09:21:47 +00:00
kanaoka 4d4231d0e9 Add support for "Corega FEther CB-TXD".
kern/12709: from Yamashiro Jun <j99060@ie.u-ryukyu.ac.jp>.
2001-05-15 04:26:23 +00:00
kanaoka b003ab3d9c Regen. 2001-05-15 04:25:12 +00:00
kanaoka 0f5babc5cb Add product "Corega FEther CB-TXD". Modified from kern/12709.
from Yamashiro Jun <j99060@ie.u-ryukyu.ac.jp>.
2001-05-15 04:24:28 +00:00
augustss 59f85c4e3e Ansify a function I forgot last time. 2001-05-09 19:33:07 +00:00
thorpej 6300e455b4 Make sure `bhlc' is initialzed before we consult it to determine
the number of functions on the card.
2001-05-09 18:16:39 +00:00