summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of the twisted MFREE() macro entirely.dillon2002-02-053-25/+23
| | | | | Reviewed by: dg, bmilekic MFC after: 3 days
* + A variety of 23XX changes:mjacob2002-02-0410-56/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | disable MWI on 2300 based on function code, set an 'isp_port' for the 2312- it's a separate instance, but the NVRAM is shared, and the second port's NVRAM is at offset 256. + Enable RIO operation for LVD SCSI cards. This makes a *big* difference as even under reasonable load we get batched completions of about 30 commands at a time on, say, an ISP1080. + Do 'continuation' mailbox commands- this allows us to specify a work area within the softc and 'continue' repeated mailbox commands. This is more or less on an ad hoc basis and is currently only used for firmware loading (which f/w now loads substantially faster becuase the calling thread is only woken when all the f/w words are loaded- not for each one of the 40000 f/w words that gets loaded). + If we're about to return from isp_intr with a 'bogus interrupt' indication, and we're not a 23XX card, check to see whether the semaphore register is currently *2* (not *1* as it should be) and whether there's an async completion sitting in outgoing mailbox0. This seems to capture cases of lost fast posting and RIO interrupts that the 12160 && 1080 have been known to pump out under extreme load (extreme, as in > 250 active commands). + FC_SCRATCH_ACQUIRE/FC_SCRATCH_RELEASE macros. + Endian correct swizzle/unswizzle of an ATIO2 that has a WWPN in it. MFC after: 1 week
* Major update of the ATA RAID code, part 1:sos2002-02-0418-2053/+2263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Overhaul of the attach/detach code and structures, there were some nasty bugs in the old implementation. This made it possible to collapse the ATA/ATAPI device control structures into one generic structure. A note here, the kernel is NOT ready for detach of active devices, it fails all over in random places, but for inactive devices it works. However for ATA RAID this works, since the RAID abstration layer insulates the buggy^H^H^H^H^H^Hfragile device subsystem from the physical disks. Proberly detect the RAID's from the BIOS, and mark critical RAID1 arrays as such, but continue if there is enough of the mirror left to do so. Properly fail arrays on a live system. For RAID0 that means return EIO, and for RAID1 it means continue on the still working part of the mirror if possible, else return EIO. If the state changes, log this to the console. Allow for Promise & Highpoint controllers/arrays to coexist on the same machine. It is not possible to distribute arrays over different makes of controllers though. If Promise SuperSwap enclosures are used, signal disk state on the status LED on the front. Misc fixes that I had lying around for various minor bugs. Sponsored by: Advanis Inc.
* Default debugging to OFF now.imp2002-02-044-5/+2
|
* Supported C-NET(98)P2 PnP mode.nyan2002-02-041-15/+27
| | | | | Submitted by: "Hirokazu WATANABE" <gwna@geocities.co.jp> MFC after: 3 days
* Remove mbuf exhaustion warning messages; these are handled by thesilby2002-02-041-4/+0
| | | | | | | mbuf system in a rate-limited fashion now. Reviewed by: luigi MFC after: 1 week
* Follow NetBSD and ANSIfy the function definitions.joe2002-02-033-343/+232
| | | | Remove trailing whitespaces (submitted to NetBSD).
* Regenerate.joe2002-02-022-503/+615
|
* Update comments and product identifiers so that they're the samejoe2002-02-021-12/+12
| | | | as NetBSD's definitions.
* Add some missing usb vendors (from NetBSD).joe2002-02-021-0/+16
|
* Sync with NetBSD's version, dropping all the 'ltd', 'corp', etc.joe2002-02-021-140/+140
| | | | | | It's more important to keep this file easily syncable across the BSDs, and NetBSD have stated a preference for not adding them to theirs.
* Merged cy_pcireg.h into the one file that uses it (cy_pci.c).bde2002-02-021-1/+16
|
* Fixed breakage of interrupt setup in previous commit. It used anbde2002-02-021-0/+2
| | | | uninitialized variable in the !CY_PCI_FASTINTR case (*blush*).
* identify GLPRISM2 PCI WaveLAN/IEEE 802.11alfred2002-01-311-0/+1
| | | | Submitted by: Toni Andjelkovic <toni@soth.at>
* Add support of PhotoClip USB Camera (http://www.myphotoclip.com):sobomax2002-01-313-0/+20
| | | | | | | | | - Vendor&Device IDs for USB product, - quirk for SCSI CAM. PR: 34481 Submitted by: Olexander Kunytsa <kunia@x-telecom.net> MFC in: 3 days
* Fix irq/drq handling. IRQ and DRQ resource information can be gettakawata2002-01-312-28/+43
| | | | | in one object for one resource. Array of values in a object means possible values for the object.
* Add pc98 support.nyan2002-01-311-0/+3
|
* Remove obsolete COMBRD* definitions.nyan2002-01-311-6/+0
|
* Fix error handling.takawata2002-01-311-7/+19
| | | | | PR:30665 Submitted by:TOMITA Yoshinori <yoshint@flab.fujitsu.co.jp>
* Add support for different serial clock frequencies and not just thejhay2002-01-306-72/+100
| | | | | | | standard one of 1.8432MHz. This will be used by the puc (PCI "universal" communication card) device driver. Reviewed by: bde
* Move cardaddr to memory structure.imp2002-01-291-1/+2
| | | | | Forgotten by: imp Reminded by: Dave Cornejo
* Add EDIMAX ethernet card for NEWCARD from NetBSDimp2002-01-291-0/+2
|
* Migrate towards using the new exca module for 16bit stuff. This is aimp2002-01-292-566/+121
| | | | | | WIP, but works for me. Also do some minor code factoring and code cleanup while I'm here.
* First draft of common code between pccbb and pcic drivers for talkingimp2002-01-293-0/+1155
| | | | | | | | to ExCA register sets. These registers exist in both ISA and PCI devices in a couple different ways, and this will provide a common base for future building. This code is a rehash of the pccbb 16-bit code, which was a rehash of the pcic code, which was a rehash of the netbsd i82365 code. More hashing to come.
* Minor sorting ordersimp2002-01-291-2/+2
|
* Sync to 1.27 of pccarddevsimp2002-01-291-2/+14
|
* MFNetBSD:imp2002-01-291-1/+9
| | | | | | 1.159: sorting (not relevant to us, since I'd done thie before) 1.158: joda; Ericsson PRISM2 WIRELEASS LAN CARD. 1.157: aymeric Edimax Technology ethernet card
* Grr. The last commit contained update conflicts. It just goes togrog2002-01-291-5/+0
| | | | | | show that you should check the code even for a forced commit. Spotted by: dd
* Forced commit. The previous commit log was garbled and didn't evengrog2002-01-291-0/+5
| | | | | | | | | apply to this file. The correct message is: throw_rude_remark: Make sure we're holding the config lock before proceeding. There's no reason to assume that this has ever happened, but the alternative might be a double fault.
* Add support for the Promise TX4.sos2002-01-282-68/+118
| | | | | Rearrange the support for the VIA chips, and add experimental support for ATA133 on the newest chips.
* Add support for pccard.sos2002-01-281-3/+30
| | | | submitted by: imp
* Merge from NetBSD.joe2002-01-286-21/+55
| | | | | | | | | | | | | | | | | | | | uhub.c: revision 1.37 usb.4: revision 1.30 usb.c: revision 1.38 usb.h: revision 1.40 usb_port.h: revision 1.21 usb_subr.c: revision 1.65 usbdi.h: revision 1.40 Split the attach/detach events up into device, driver and controller attach and detach events. The commit message from NetBSD was: date: 2000/02/02 07:34:00; author: augustss; state: Exp; Change the USB event mechanism to include more information about devices and drivers. Partly from FreeBSD. Also rework usbd to take these new event types into account.
* Recent changes to newpcm require that the CHANNEL_SETFORMAT op return 0scottl2002-01-272-3/+3
| | | | | | | | | for success, non-zero otherwise. The maestro and maestro3 drivers were returning the format code, which was being interpreted as a failure code. Fixed. No one seems to have noticed that the maestro driver was broken, but I'll fix it anyways. MFC after: 2 weeks
* vinumioctl: Fix a double fault caused by calling setjmp() without holding ↵grog2002-01-272-3/+2
| | | | the config lock. The call was in fact superfluous.
* Add support for the Netgear GA302T 10/100/1000 adapter. Given thatjdp2002-01-272-0/+8
| | | | | | it's a 32-bit card, it's quite nice for $75. MFC after: 3 days
* * improve error handlingcg2002-01-267-42/+93
| | | | | | | | | | * be more specific in verbose boot messages * allow the feeder subsystem to veto pcm* attaching if there is an error initialising the root feeder * don't free/malloc a new tmpbuf when resizing a snd_dbuf to the same size as it currently is * store the feeder description in the feeder structure instead of mallocing space for it
* Rearrange the code in USB_DETACH, so that it's like NetBSD's. Nojoe2002-01-261-6/+6
| | | | functional change.
* Back out the last commit. I committed the wrong file by accident.joe2002-01-261-39/+14
| | | | | The commit message wasn't relevant to that change. This code will be committed later.
* Rearrange the code in USB_DETACH, so that it's like NetBSD's.joe2002-01-261-14/+39
| | | | No functional change.
* Update the $NetBSD$ ident.joe2002-01-261-1/+1
|
* Reduce the diffs between NetBSD and our version where appropriatejoe2002-01-261-5/+6
| | | | (comments, etc.)
* Merge from NetBSD:joe2002-01-261-0/+6
| | | | | | | | | | usb.c: revision 1.39 revision 1.39 date: 2000/02/22 11:30:56; author: augustss; lines: +7 -1 Prepare a little for having USB interrupt processing done outside the hard interrupt level (in a thread or a softintr). No real soft processing done yet.
* Merge from NetBSD:joe2002-01-261-1/+1
| | | | | | | | | | usb.c: revision 1.41 revision 1.41 date: 2000/03/16 00:46:38; author: augustss; lines: +2 -2 Make the USB event queue longer. Mine overflows before the (user-land) event handler has started. But then I have about 25 devices connected. :)
* Update the $NetBSD$ ident to show that some patches have been appliedjoe2002-01-262-2/+2
| | | | in the past.
* Merge from NetBSD:joe2002-01-265-25/+78
| | | | | | | | | | | | | | | | | | ohci.c: revision 1.72 and 1.73 ohcivar.h: revision 1.19 and 1.20 uhci.c: revision 1.85 usbdi.h: a small part of revision 1.40 usbdivar.h: revision 1.47 Relevant commit messages from NetBSD are: date: 2000/02/22 11:30:54; author: augustss; state: Exp; Prepare a little for having USB interrupt processing done outside the hard interrupt level (in a thread or a softintr). No real soft processing done yet. ---------------------------- date: 2000/02/01 05:42:53; author: augustss; state: Exp; Put some #ifdefs around power and shutdown hooks.
* Fix code that had rotted behind debugging macros.scottl2002-01-258-8/+10
| | | | | Approved by: cg (in principle) MFC after: 2 weeks
* a buffer offset equal to the buffer size is illegal too, fix assertion incg2002-01-251-1/+1
| | | | sndbuf_getbufofs()
* cosmetic change, free b instead of c->bufhard for consistency withincg2002-01-251-1/+1
| | | | chn_kill()
* Merge from NetBSD:joe2002-01-242-5/+24
| | | | | | | | | | | | | | | | | | usb.c: -r1.35 - 1.37 usb_port.h: tiny bit of -r1.26 + an extra bit in the FreeBSD config section. revision 1.37 date: 2000/01/24 18:35:51; author: thorpej; state: Exp; lines: +7 -1 Use config_pending. ---------------------------- revision 1.36 date: 1999/12/22 23:54:09; author: augustss; state: Exp; lines: +2 -2 Use the flags `locator' to govern if devices are detected early or late during cold boot. ---------------------------- revision 1.35 date: 1999/12/20 02:12:23; author: augustss; state: Exp; lines: +8 -5 Make sure tsleep() is not called during cold boot.
* 1) Fix a debug statement by filling in its data before the printf inguido2002-01-241-3/+72
| | | | | | | | | | stead of after 2) Honour NO_TEST_UNIT_READY quirk for atapi devices as well 3) Actually support FujiFilm FinePix 6800 camera's. Will very likely also work for other FinePix models. Based on a debug session about half a year ago with Nik Hibma. MFC after: 2 weeks
OpenPOWER on IntegriCloud