summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2005-11-20fix dmesg printing so the adapter info has a proper dmesg entryBrad Smith
before.. aic7902: U320 Wide Channel A, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs after.. ahd0: aic7902, U320 Wide Channel A, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs ok krw@ marco@
2005-11-20Reorder dma stuff so that it makes sense.Marco Peereboom
ok dlg@ krw@
2005-11-20don't say datasheet yet, but at least mention product info.Brad Smith
2005-11-20add the datasheet URL.Brad Smith
2005-11-20treat the BCM5715 like the 5714Brad Smith
2005-11-20regenBrad Smith
2005-11-20add BCM5715Brad Smith
2005-11-19Correct a performance bug from Bill Paul's original FreeBSD bge(4) driver:Brad Smith
Each call to the FreeBSD bge_start() routine the transmit producer pointer index from the chip mailbox register BGE_MBX_TX_HOST_PROD0_LO. The local copy of that value is then updated by bge_encap() as bge_encap() encapsulates packets in the Tx ring. If bge_encap() succeds in encpuslating one or more packets, bge_start() tells the chip to start sending the newly-encinitiates writes the new value back to the chip mailbox register. However, comparison of the Linux drivers (Broadcom-supplied and open-source tg3.c) and to the OpenSolaris driver confirms that register BGE_MBX_TX_HOST_PROD0_LO is write-only to software. Thus, we can just keep a copy in the softc, and eliminate the (expensive) PCI register write on each call to bge_start(). From jonathan NetBSD tested by krw@, sturm@ and I on a few different bge NICs.
2005-11-19a whole lot of spaces to tabs, KNF and some other cleaning.Brad Smith
2005-11-19ANSI protos and some KNF.Brad Smith
2005-11-19adb devices print a string identifying the device.Brad Smith
2005-11-19Replace _OPENBSD_SOURCE with _BSD_SOURCE since some 3rd party codeTodd C. Miller
already uses the latter, which is helpful for ports. The headers don't actually use _OPENBSD_SOURCE yet so this is safe to do.
2005-11-19Use NULL where NULL is meantPedro Martelletto
2005-11-19ViewSonic Airsync Prism 2.5 USB wlan, id found in linux-wlan driver.Jonathan Gray
2005-11-19regenJonathan Gray
2005-11-19ViewSonic Airsync wirelessJonathan Gray
2005-11-19Add a few more Prism USB Component IDs.Jonathan Gray
2005-11-19Remove unnecessary lockmgr() archaism that was costing too much in termsPedro Martelletto
of panics and bugfixes. Access curproc directly, do not expect a process pointer as an argument. Should fix many "process context required" bugs. Incentive and okay millert@, okay marc@. Various testing, thanks.
2005-11-19Remove superfluous statement-ending semi-colons. i.e., "return foo;;" shouldAaron Campbell
just be "return foo;". Cleaning out some M's in my tree.
2005-11-19oopsMark Kettenis
2005-11-19Enable onyx(4).Mark Kettenis
2005-11-19Don't match AOAbase, which is now handled by onyx(4).Mark Kettenis
2005-11-19Apple "onyx" audio device driver.Mark Kettenis
2005-11-19Only run mkdep on SFILES if there is something in it. pointed out by todd@Dale Rahn
2005-11-19Get device resources from soundbus node instead of i2s node. This makes soundMark Kettenis
work on the iMac G5, and should work on older systems too. tested by cloder@, miod@; ok brad@
2005-11-18Fix writes on the i2c bus.Mark Kettenis
ok deraadt@
2005-11-18syncAaron Campbell
2005-11-18Intel device 0x24dd is actually ehci (USB 2.0). Tweak product name string toAaron Campbell
distinguish it from the 1.0 versions of the 82801EB hubs. deraadt@ ok
2005-11-18oopsTheo de Raadt
2005-11-18support pca9556 and pca9557 tooTheo de Raadt
cope with the polarity input register correctly, as well
2005-11-18PCIX -> PCI-X in a few commentsBrad Smith
2005-11-18add some comments explaining the general CPU reset code and the AMD GeodeBrad Smith
SC1100 specific reset code. From NetBSD ok mickey@
2005-11-18splimp -> splvm. no binary diff.Brad Smith
ok mickey@
2005-11-18do not devide by zeroMichael Shalayeff
2005-11-18Work around yet another race on non-locking file systems: when callingPedro Martelletto
VOP_INACTIVE() in vrele() and vput(), we may sleep. Since there's no locking of any kind, someone can vget() the vnode and vrele() it while we sleep, beating us in getting the vnode on the free list.
2005-11-18Bump copyright (watchdog addition).Alexander Yurchenko
2005-11-18Major improvements to the aac(4) device driver.Nathan Binkert
- decouple the command structures from scsi structures, allowing non block oriented commands (e.g. management commands) to be built. - redesign the various command queues to remove race conditions and to allow commands from multiple sources to coexist in the system - move major processing of commands and messages to a dedicated kernel thread to avoid spending too long in the interrupt handler - add device data structures for various management commands to the header file Much code from FreeBSD
2005-11-18Use bus_addr_t for address in em_fill_descriptors().Brad Smith
2005-11-18fix wrong htole usage in the 82544 PCI-X workaround codepath in em_encap().Brad Smith
From FreeBSD
2005-11-18revert part of rev 1.45 ..Brad Smith
- Modify the caller of em_encap() to detect a NULL m_head and not try to queue the mbuf if that happens. which was in preparation for a software-based workaround for a HW VLAN tagging issue, but due to a HW limitation with tagging, we cannot use HW VLAN tagging at all.
2005-11-18Protect biodone() with splbio().Miod Vallat
2005-11-18Define the CS/80 identify structure only once and correctly, instead ofMiod Vallat
duplicating it in every CS/80 driver and using an hardcoded number for its size. No functional change.
2005-11-17Don't forget to device_unref() in sdclose() if sdlock() fails; ok krw@Miod Vallat
2005-11-17kvtop() is not used anymore. Thanks for the fish.Miod Vallat
2005-11-17Factorize DMA cache flush code, use modern types and constants, ansify.Miod Vallat
2005-11-17Regen.Alexander Yurchenko
2005-11-17Unify SMBus controllers ids.Alexander Yurchenko
2005-11-17Use sectors as the size units for the RAW_PART (i.e. 'c') partition inKenneth R Westerback
spoofed sd disklabels. Sectors are the partition size units used and documented everywhere else in the tree. sd ensures a sector will always be a multiple of 512. Fixes disklabel(8) error messages and partition size display for sd devices that have no OpenBSD disklabel and a sectorsize > 512. Noted by Robert Szasz on his Sony Hi-MD device. ok pedro@ marco@
2005-11-17style; no binary change.Federico G. Schwindt
2005-11-17add attachment for openpic behind memc, for newer G5 systems.Dale Rahn
only attaches a parent openpic, not a slave openpic. ok kettenis