summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused variable and code.peter2003-02-191-2/+0
|
* Add some PCI device ID's from HPps2003-02-181-0/+4
|
* Move the resource handling down into the pci bus as well.imp2003-02-182-410/+49
| | | | | | | | | | | Minor CIS resource allocation code cleanup Remove some fairly useless debug writes. This finishes the work to move as much cardbus code as possible into pci. We wind up removing 800-odd lines from cardbus.c: we go from 1285 to 400 lines. Reviewed by: mdodd
* Fix fwdev memory leak on detaching.simokawa2003-02-181-5/+13
|
* Use pci_get_devid().simokawa2003-02-182-24/+24
|
* Add 'uPD72871/2 IEEE1394 1-Chip OHCI Host Controller'.simokawa2003-02-182-0/+5
|
* * firewire.csimokawa2003-02-182-1/+19
| | | | | | | | | - Fix memory leak in detaching. - Initialize fc->status to other than FWBUSREST. * fwohci.c - Ignore BUS reset events while BUS reset phase. We can't clear that flag during bus reset phase.
* Include class designation in pnpinfo for generic driver loadingimp2003-02-181-2/+3
|
* Sanity check the BAR length reported by the CIS with the BAR length thatscottl2003-02-171-4/+22
| | | | | | | | is encoded in the PCI BAR. The latter is more reliable. This allows the sio/modem function of the Xircom RealPort ethernet+modem card to work. Note that there still seem to be issues with sio_pci not releasing resources on detach.
* Move the pnp and location info into the common pci bus. Make all knownimp2003-02-174-46/+41
| | | | | | | | | pci busses implement this. Also minor comment smithing in cardbus. Fix copyright to this year with my name on it since I've been doing a lot to this file. Reviewed by: jhb
* an driver now needs wlan, so put the required explicit dependsimp2003-02-173-0/+3
| | | | | | into the source. Reviewed by: ambrisko
* Kill a now-bogus commentimp2003-02-171-4/+0
|
* These don't need to be semi-public after all.imp2003-02-172-5/+5
|
* * firewire.csimokawa2003-02-172-48/+19
| | | | | | | | | | | | | - Don't initiate bus reset even if probe failed for some nodes to prevent infinite bus reset loop. Problem Reported by: Pierre Beyssac <pb@fasterix.frmug.org> - Protect timeout routine with splfw() for 4-stable. * sbp.c - Make sure to release devq when start request.
* Move call to pci_print_verbose until after all the variables that itimp2003-02-171-1/+1
| | | | | | depends on. Pointy hat to: imp (anybody know if these things are accepted at Eco-Cycle?)
* Change "dev_t gdbdev" to "void *gdb_arg", some possible paths for GDBphk2003-02-161-4/+4
| | | | will not have a dev_t.
* Whatever dumbass wrote sio_pci.c didn't include a detach method.imp2003-02-161-0/+1
| | | | | | | | | | | Wearing said pointy hat, correct the oversight and hope nobody notices. # this should make xircom modems happier to detach once other bugs with # the cardbus layer are fixed. Noticed by: scottl Conical Hat to: imp
* No need to wrap siodetach() with sio_pccard_detach.imp2003-02-161-9/+1
|
* Pointy hat- bad commit.mjacob2003-02-161-1/+1
|
* Remove #include <sys/dkstat.h>phk2003-02-168-8/+0
|
* Checkpoint a work in progress:imp2003-02-161-532/+23
| | | | | | | | | | | | | | | | | | o Use the common pci_* routines in preference to the copied and hacked routines from an ancient pci.c. This saves 509 lines in cardbus.c. More savings to follow when I convert the resource code over. In the past when I've done this the resource code conversion breaks cardbus in subtle ways so I'm doing a 1/2 way checkpoint this time. cardbus still works for me the same as it did before. It also looks like cardbus devices now show up as pci bus devices to pciconf -l, but maybe that was happening before. Inspired by a patch from Justin Gibbs many moons ago. When he finishes his kobj multiple inheritance work, we can transition the finished version of this work to that fairly easily.
* Use rman_get_device rather than rle->resl->r_dev.imp2003-02-162-8/+6
| | | | | make pci_hdrtypedata and pci_read_extcap accessible (but maybe in the end we'll make them private again).
* Make sure we propagate rxid && iid in isp_target_put_atiomjacob2003-02-161-0/+2
|
* Pick up some compilation warning fixes from NetBSD.mjacob2003-02-161-7/+7
| | | | | | If we don't have ISP_FW_CRASH_DUMP defined, we have to do a isp_reinit in the core code- not the platform code- so fix the ISP_CONN_FATAL case.
* Roll to latest level.mjacob2003-02-161-5870/+5868
|
* Clean up the CIS BAR parsing code by removing several pointless checks.scottl2003-02-161-19/+19
| | | | Don't complain about the Option ROM BAR type since it's perfectly valid.
* Added dependency on the apm(4) module.ru2003-02-151-0/+1
|
* Add YIS YWL-11B. This card has same vendor id and product idshiba2003-02-151-0/+1
| | | | as XI300 Wireless LAN. So use PCMCIA_CARD2().
* Regen.shiba2003-02-151-1/+5
|
* Add YIS YWL-11B. This card has same vendor id and product idshiba2003-02-151-0/+2
| | | | as XI300 Wireless LAN.
* Allow non-privilaged user to retrive battery or AC line information.takawata2003-02-154-1/+27
| | | | Reviewed by: rwatson
* Protect calling fwohci_intr() with splfw() for 4-stable.simokawa2003-02-151-1/+3
|
* - Increase split transaction timeout from 2 sec to 6 sec.simokawa2003-02-151-3/+3
| | | | | | Problem reported by: Michael Reifenberger <root@nihil.reifenberger.com> - Improve debug message.
* Clear the bus reset event flag as soon as possible aftersimokawa2003-02-141-0/+9
| | | | | the initialization has completed to start transactions even when interrupt is disabled during the boot process.
* Fix crash dumps on ata and scsi.alfred2003-02-141-1/+2
| | | | | | | | | | | To fix scsi, don't wait for ithreads if we're dumping, it makes the debugger sad. To fix ata, use what appears to be a polling method if we're dumping, I stole this from tmm but added code to ensure that this change is only in effect while dumping. Tested by: des
* Split the arch-specific AGP files into the appropriate files.* and do the sameanholt2003-02-141-0/+6
| | | | | | for the agp module, and add agp to the list of modules to compile for alpha. Add an alpha_mb() to agp_flush_cache for alpha -- it's not correct but may improve the situation, and it's what linux and NetBSD do.
* Remove an extra agp_flush_cache(). The i810 case that needs it already has it.anholt2003-02-141-5/+0
|
* o transition from exca_write to exca_putb and read->getb. This is so thatimp2003-02-141-15/+7
| | | | | | | | | | we can have additional different types of bridges. o remove now bogus comment. o Don't clear CARD_OK when we can't attach a card. o minor style nits # this make kldload of cardbus drivers work for me when the card is # present on boot.
* Massive overhaul of exca to help with the isa efforts:imp2003-02-143-64/+240
| | | | | | | | | | | o chip_name arrays ifdef'd out. o use the OLDCARD-like get/put functions so we can support differnt types of mappings. o Write the beggings of is this a valid exca device and introduce more chipset support. # this is partially a wip, but also needed because some other cahnges I've # made require some of these changes.
* - Though I got a feedback from the originator of kern/48129 that thesimokawa2003-02-141-12/+18
| | | | | | | | | | | | previous revision fixed the panic, I found the problem exits in another part of the function by investigating the crom dump sent by him. The search was started in the middle of bus info block and the routine misunderstood the EUI64 as a crom entry. This problem is fixed. PR: kern/48129 Fix incorrect type mask included in a logical unit number and check the validity of the lun.
* Bandaid the bits that use the elink_foo() functions which aremdodd2003-02-131-1/+9
| | | | i386 only at this point.
* Add agpreg.h missed in commit to agp_i810 (adding i85x/i86x AGP support).anholt2003-02-131-0/+26
|
* firewire/fwohcisimokawa2003-02-134-50/+75
| | | | | | | | | | | | | - Drain fwohci TX queue first then drain xfer queue which has not started. - Check validity of the received packet length. - Don't allocate too large buffer for xfer receive buf. sbp - Fix panic for some CROM which doesn't have a text leaf. This could fix the PR kern/48129 but no feedback has been gotten from the originator yet. - Put back some M_NOWAIT flags into malloc which could be called in interrupt context for 4-stable.
* Sync to 1.114 of usbdevssanpei2003-02-132-2/+9
|
* Add support SUNTAC Ir-Trinity IS96Usanpei2003-02-132-0/+3
| | | | | PR: 48212 Submitted by: Masaharu FUJITA <m@fjts.org>
* Add Intel 85x/86x AGP support.anholt2003-02-131-16/+88
| | | | Submitted by: David Dawes <dawes@xfree86.org>
* Sync to 1.113 of usbdevssanpei2003-02-122-2/+30
|
* Add support YAMAHA NetVolante Routerssanpei2003-02-122-0/+13
| | | | | | | | | | NetVolante RTA54i Broadband&ISDN Router NetVolante RTA55i Broadband VoIP Router NetVolante RTW65b Broadband Wireless Router NetVolante RTW65i Broadband&ISDN Wireless Router PR: bin/42574 Submitted by: Yoshihiko Sarumaru <mistral@imasy.or.jp>
* Minor correction to comment: PNIC and XIRCOM have eeprom, its justimp2003-02-121-1/+1
| | | | non-standard.
* MF-p4:imp2003-02-121-80/+154
| | | | | | | | | | | | | Kill the slightly bogus #define for DECODE_PROTOTYPE Be less verbose. Hide most (all I hope) of the CIS parsing behind cardbus_debug_cis (which is set with hw.cardbus.debug_cis=1). This doesn't fix problems with parsing, but should make cardbus less chatty. There appears to be some issues still with the parsing of the CIS, but this won't fix them. Prompted by: scottl
OpenPOWER on IntegriCloud