summaryrefslogtreecommitdiff
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* Correct the ID for the ALS0120 PnP Joystick. It is different from theMurray Stokely2001-08-311-1/+1
| | | | | | | | | | ALS0110. PR: kern/22617 Submitted by: Mike Holling <myke@fks.bt> Notes: svn path=/head/; revision=82691
* Add 2 Gigabit Fibre Channel support (2300 && 2312 cards). This requiredMatt Jacob2001-08-317-294/+599
| | | | | | | | | | | | | some reworking (and consequent cleanup) of the interrupt service code. Also begin to start a cleanup of target mode support that will (eventually) not require more inforamtion routed with the ATIO to come back with the CTIO other than tag. MFC after: 4 weeks Notes: svn path=/head/; revision=82689
* Add 2300/2312 (2Gbit) firmware.Matt Jacob2001-08-312-1/+5461
| | | | Notes: svn path=/head/; revision=82687
* Add OMRON ME5614ISA PnP modem.Murray Stokely2001-08-311-0/+1
| | | | | | | | PR: kern/22801 Submitted by: Ryuzo Okada <R.Okada@mm.neweb.ne.jp> Notes: svn path=/head/; revision=82685
* Add PCI device IDs for Kuotech dual port serial cards.Murray Stokely2001-08-311-0/+2
| | | | | | | | | | Also give example of the flags needed to use these cards. PR: kern/21242 Submitted by: Shigeki Moride <moride@portside.net> Notes: svn path=/head/; revision=82682
* Don't activate placeholder resources; it can be very expensive in theMike Smith2001-08-311-3/+3
| | | | | | | SYS_RES_MEMORY case, and it shouldn't be necessary. Notes: svn path=/head/; revision=82667
* Call OS-independent resume routine to execute _WAK .. etc.Takanori Watanabe2001-08-311-75/+1
| | | | | | | This should also recover GPE bit,comment says, though not implemented yet. Notes: svn path=/head/; revision=82630
* Revert previous "fix"; bus mice still have to be manually probed even inMike Smith2001-08-311-1/+1
| | | | | | | | | the presence of PnP data. Submitted by: yokota Notes: svn path=/head/; revision=82618
* Add safety belts. A control endpoint doesn't have an endpoint descriptor.Nick Hibma2001-08-301-33/+10
| | | | Notes: svn path=/head/; revision=82601
* Recognise VIA Apollo KT133A bridge.Doug Rabson2001-08-301-0/+2
| | | | | | | | | PR: 30061 Submitted by: John Merryweather Cooper <jmcoopr@webmail.bmi.net> MFC after: 1 week Notes: svn path=/head/; revision=82573
* Doh! Fix a comma that disappeared along the way.Scott Long2001-08-301-1/+1
| | | | | | | Pointy-hat by: peter Notes: svn path=/head/; revision=82567
* Add support for sending ATAPI commands via ioctl.Søren Schmidt2001-08-301-0/+41
| | | | Notes: svn path=/head/; revision=82560
* Add ACPI attachments.Mike Smith2001-08-307-0/+7
| | | | Notes: svn path=/head/; revision=82555
* Correct usage of ISA_PNP_PROBEMike Smith2001-08-301-2/+2
| | | | Notes: svn path=/head/; revision=82554
* Add support for attaching PnP-aware ISA drivers to ACPI.Mike Smith2001-08-301-1/+74
| | | | | | | | Always parse ACPI device resource settings (current resources only) and attach the resources to the device before probe/attaching. Notes: svn path=/head/; revision=82537
* Retarget the resource parser slightly. We only fetch current resourcesMike Smith2001-08-301-36/+287
| | | | | | | | | | | | | | | | | | | for the device now (we should really just be parsing a passed-in resource buffer). Wrap long lines so this is (more) readable. Support Address16 and Address32 resources, in the CONSUMER case. Support DRQs so that we can handle ISA devices. Support ExtendedIrqs (we ignore most of their attributes) Add a placeholder device for system memory and system resources. This takes the place of the nexus placeholder, which only attaches to ISA. Notes: svn path=/head/; revision=82536
* Note that now that some ISA devices will attach to ACPI, we need toMike Smith2001-08-301-1/+6
| | | | | | | keep the ivar indexes that ISA uses free. Notes: svn path=/head/; revision=82535
* Don't parse our resources ourself, the ACPI core code must do it.Mike Smith2001-08-301-6/+0
| | | | Notes: svn path=/head/; revision=82534
* Nuke the (fairly bogus) attachment of *all* ACPI devices to ISA.Mike Smith2001-08-301-479/+0
| | | | Notes: svn path=/head/; revision=82533
* Add missing acpi_disabled() call so that this driver can be disabled.Mike Smith2001-08-301-1/+2
| | | | Notes: svn path=/head/; revision=82532
* Mega update to the aac driver.Scott Long2001-08-297-106/+696
| | | | | | | | | | | | | | | | | 1. Correctly handle commands initiated by the adapter. These commands are defered to a kthread responsible for their processing, then are properly returned to the controller. 2. Add/remove disk devices when notified by the card that a container was created/deleted/offline. 3. Implement crashdump functionality. 4. Support all ioctls needed for the management CLI to work. The linux version of this app can be found at the Dell or HP website. A native version will be forthcoming. MFC-after: 4.4-RELEASE Notes: svn path=/head/; revision=82527
* First, The Ricoh 5C47x chips don't have the disable the 3e0 bits.Warner Losh2001-08-291-5/+11
| | | | | | | | | | | Second, the TI 1130 need to have the PCI_INTR set, not cleared. This gets Soren's machine working with NEWCARD again. # The whole initialization is a mess and needs to be organized ala OLDCARD. Notes: svn path=/head/; revision=82522
* tweaks to reduce latency/pauses in outputCameron Grant2001-08-292-8/+11
| | | | Notes: svn path=/head/; revision=82492
* Add support for the Acer Labs M5451 chip.George C A Reid2001-08-291-0/+8
| | | | | | | Submitted by: Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org> Notes: svn path=/head/; revision=82490
* Add some seat belts. If we set the error rc, then return it and don'tWarner Losh2001-08-291-1/+3
| | | | | | | | | pretend things succeeded. This can happen if the address returned form bus_alloc_resource for the cis memory is occupied by some of thing. Notes: svn path=/head/; revision=82481
* add some extra diagnostic info to sndstat output.Cameron Grant2001-08-293-18/+41
| | | | Notes: svn path=/head/; revision=82479
* * change buffering method a bitCameron Grant2001-08-291-40/+30
| | | | | | | | | | | | * swap record/mic channels * initialise all channels * align dma buffers to 8 bytes Submitted by: Katsurajima Naoto <raven@katsurajima.seya.yokohama.jp> (mostly) Notes: svn path=/head/; revision=82478
* Update the Promise TX2 code to DTRT and not what I guessed earlier.Søren Schmidt2001-08-283-10/+16
| | | | | | | | | Allow tagged queing on the Promise TX2 as it seems to work. Cudos to promise for making the most simple to program ATA chip. Notes: svn path=/head/; revision=82464
* Add support for yet another VIA '686 combination.Søren Schmidt2001-08-282-5/+7
| | | | Notes: svn path=/head/; revision=82458
* Make this compile when there is no pci bus in your kernel.Warner Losh2001-08-281-5/+20
| | | | | | | | | | Note: This should be multiple files, but since it is also broken in stable, I thought I'd do a fix that could be MFC'd. This is a MFC candidate. Notes: svn path=/head/; revision=82453
* Ugggg. I thought I'd already committed this to -current:Warner Losh2001-08-271-1/+1
| | | | | | | | If the intline is 0 or 255, then it needs an interrupt routed. Some Sony laptops improperly flag devices that need an interrupt with 0 :-(. Notes: svn path=/head/; revision=82440
* OOPS, remove local change that somehow slipped into a commit (I swear thatMaxim Sobolev2001-08-271-1/+0
| | | | | | | | | | I already deleted it some time ago). This should fix problem people have with unsefined reference to `MD_PRELOAD_COMPRESSED'. Submitted by: Manfred Antar <null@pozo.com> Notes: svn path=/head/; revision=82435
* Systems based on the ICH2/ICH2-M chip from Intel have a defect whereJonathan Lemon2001-08-272-24/+132
| | | | | | | | | | | | | | | | the chip can cause a PCI protocol violation in under certain scenarios. The workaround is to rewrite the EEPROM to disable Dynamic Standby Mode. Once the EEPROM is rewritten, the system needs to be rebooted in order to pick up the new settings. This has been tested on several ICH2/ICH2-M systems, found in 815E based boards, and usually identified by the presence of the 82562 ET/EM PHY. Thanks to: Mike Tansca, Paul Saab for samples of the problematic boards. Notes: svn path=/head/; revision=82425
* - On module unload try to detach all configured disks and let unload proceedMaxim Sobolev2001-08-271-57/+69
| | | | | | | | | | | | if all disks were detached sucessfully; - use consistent style for return statements and fix several others style inconsistencies. Reviewed by: ru Approved by: phk Notes: svn path=/head/; revision=82419
* Make pccard_product_lookup non-static again...Jonathan Chen2001-08-271-4/+1
| | | | | | | | | When something is exported, do not mark it as static for no apparent reason... Broken by: me Notes: svn path=/head/; revision=82415
* Fix the hack that allocates memory when the bios haven't already done so.Jonathan Chen2001-08-271-1/+1
| | | | | | | | We can't rely on rman to give us a useable memory window if we tell it to do auto-allocation. This should probably be fixed on the pci bus/rman side. Notes: svn path=/head/; revision=82414
* Note difficulties we had in OLDCARD using NEWCARD's methods of debouncing ↵Warner Losh2001-08-271-0/+6
| | | | | | | card event interrupts. Notes: svn path=/head/; revision=82385
* More notes to the reader about issues in pccard code here.Warner Losh2001-08-271-6/+15
| | | | Notes: svn path=/head/; revision=82383
* Merge notes, but not code, from my latest tree on pccard_function_init and ↵Warner Losh2001-08-271-0/+9
| | | | | | | pccard_function_free Notes: svn path=/head/; revision=82382
* now we have the rate feeder, we don't need to constrain the default channelCameron Grant2001-08-271-1/+3
| | | | | | | | speed. however, continue to do so for record channels until the feederchain builder is fixed. Notes: svn path=/head/; revision=82381
* MFS rev 1.8.2.8:Cameron Grant2001-08-271-2/+22
| | | | | | | | | release resources on detach Submitted by: "Christopher N . Harrell" <cnh@netvmg.com> Notes: svn path=/head/; revision=82379
* Part two of this NEWCARD update:Jonathan Chen2001-08-279-848/+1773
| | | | | | | | | | | | | | | | | | | Briefly, the significant changes include: * Way better resource management in pccbb, pccard and cardbus. * pccard hot-removal now appears to work. * support pre-fetchable memory in cardbus. * update cardbus to support new pci bus interface functions. * Fix CIS reading to no longer use rman_get_virtual(). What's not there, but in the works: * pccard needs to do interrupt properly and not read the ISR on single function cards. * real resource management for pccard * a complete implementation of CIS parsing * need to look into how to correctly use mutex in pccbb Notes: svn path=/head/; revision=82378
* Non-functional changes to NEWCARD stuff.Jonathan Chen2001-08-261-12/+12
| | | | | | | | | | | | | | | This is the first part of a two-part update to NEWCARD. Changes in this commit are non-functional, and includes the following: * indentation and other changes to meet style(9). * other minor style consistancy changes * addition of comments * renaming of device_t variables to be consistant across all of NEWCARD. (note that not all style violations are fixed in this commit -- those that aren't will be clobbered by the next commit.) Notes: svn path=/head/; revision=82376
* Non-functional changes to NEWCARD stuff.Jonathan Chen2001-08-269-1040/+1053
| | | | | | | | | | | | | | | This is the first part of a two-part update to NEWCARD. Changes in this commit are non-functional, and includes the following: * indentation and other changes to meet style(9). * other minor style consistancy changes * addition of comments * renaming of device_t variables to be consistant across all of NEWCARD. (note that not all style violations are fixed in this commit -- those that aren't will be clobbered by the next commit.) Notes: svn path=/head/; revision=82375
* Updates to match the ACPI CA 20010816 import:Mike Smith2001-08-2610-162/+163
| | | | | | | | - New debug macro (ACPI_DEBUG_PRINT), reducing debug-case code size. - New debug level/subsystem codes. Notes: svn path=/head/; revision=82372
* The EXTENDED_GEOMETRY flag is really bit 7. This affects >2GB drives.Peter Wemm2001-08-261-1/+1
| | | | | | | | PR: 29454 Submitted by: Rob Manchester <rmanches@vmware.com> Notes: svn path=/head/; revision=82365
* Add support for the SiS 7018George C A Reid2001-08-262-9/+39
| | | | | | | | PR: 30100 Submitted by: Ada Lim <adal@cse.unsw.edu.au> Notes: svn path=/head/; revision=82363
* Get rid of redundant device_set_desc. Both the PCI and PCCARD versionsNick Sayer2001-08-241-4/+0
| | | | | | | do this in the probe routine now. Notes: svn path=/head/; revision=82258
* In order for the MA301 to pass interrupts from the PCCard, you mustNick Sayer2001-08-242-2/+23
| | | | | | | | | | | go into the PLX 9052's interrupt control register and turn on the magic interrupt enable bit. Partial thanks are due to OpenBSD for pointing out that the chip is a PLX 9052 and pointing me to the datasheet PDF. Notes: svn path=/head/; revision=82256
* the feederchain builder is currently broken for recording channels. disableCameron Grant2001-08-231-0/+3
| | | | | | | | it until it is fixed. this limits recording to native formats and speeds only. Notes: svn path=/head/; revision=82186