summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2003-04-01Add a couple of new pci subclasses and caps from NetBSDAlexander Yurchenko
ok jason@
2003-03-30Fix probing of dual channel 7899 with some fixes from current FreeBSDKenneth R Westerback
code, plus an extra ahc_flush_device_writes(). ok deraadt@ tdeval@
2003-03-30Delete unused local version of strncat.Kenneth R Westerback
ok mjacob@.
2003-03-30As long as I am here pull in some useful changes from NetBSD.Kenneth R Westerback
1) Eliminate some magic numbers. 2) Eliminate some double semi-colons. 3) Rename iha_scsi_req_q to iha_scb.
2003-03-29A few final (I hope) tweaks to the dma fixes.Kenneth R Westerback
1) Return XS_DRIVER_STUFFUP if request sense cannot be loaded. 2) Try to avoid bus_dmamap_unload()'ing maps that have already been unloaded. 3) Try to avoid bus_dmamap_load()'ing maps that are loaded. 4) Be extra paranoid and ensure bus_dmamap_sync()'s are done before a bus_dmamap_unload().
2003-03-29Another chunk of bus_dma fixes. May actually approach correctness now.Kenneth R Westerback
1) Actually map and sync scatter gather list that is also DMA'd. 2) Actually map and sync request sense buffer. 3) Actually POSTREAD/WRITE sync data buffer after I/O, rather than skipping it because the I/O was successful and no chars were left to xfer. 4) Eliminate extra fields, clarify some names, reorder fields to clarify their use. 5) Put common scatter gather preparation logic into separate function. 6) If insertion of request sense command fails, complete active command with XS_SENSE, but zero'd sense data. 7) Eliminate physical address arithmetic as much as possible, centralizing remaining manipulations in code actually sending addresses to adapter.
2003-03-29Very limited support for Promise PDC20376 SATA. Only parallel ATAAlexander Yurchenko
compatibility mode works for now. Based on tests by Jedi/Sector One <j@pureftpd.org>.
2003-03-29Use sc_print_addr() where possible to improve messages.Kenneth R Westerback
Put debug messages in #ifdef sections. Eliminate a less than useful error message.
2003-03-29device/vendor id is always < 7 chars. store it in the array and save on the ↵Michael Shalayeff
extra pointer average of 50% space savings. regen the eisadevs
2003-03-29add some more eisa devicesMichael Shalayeff
2003-03-28unbreak after SiS pcidevs changeTodd C. Miller
2003-03-28regenAlexander Yurchenko
2003-03-28Little consistency in SiS sectionAlexander Yurchenko
ok deraadt@
2003-03-28Improve debug output a bitAlexander Yurchenko
2003-03-28Fix the color inversion of the cursor (now it's not a solid block of black =)Jason Wright
2003-03-28unbreakHenning Brauer
STRIOCCLONE and SYSTR_CLONE have the same value now ok mickey@
2003-03-28fake off the SYSTR_CLONE through a normally numbered other ioctl; as of ↵Michael Shalayeff
previous rename; after discussion w/ niels
2003-03-28mu-law and A-law spelling;Jason McIntyre
mu-law and u-law are the same, so used mu-law for consistency; ok jason@
2003-03-28more register defns (from linux)Jason Wright
2003-03-28Use the brand new types instead of WSDISPLAY_TYPE_UNKNOWNJason Wright
2003-03-28add a whole bunch of display types (will be used by the accelerated XJason Wright
stuff coming soon to a tree near you).
2003-03-28In ccdsize(), check for CCDF_INITED before doing the ccdopen().Todd C. Miller
Adapted from NetBSD.
2003-03-28If console acceleration was not enabled, do not reinitialize the blitterMiod Vallat
when leaving X11.
2003-03-28Fix various gremlins in the hilms code my simple test program did not catch,Miod Vallat
but XFree did.
2003-03-28Better message to report an empty loop during probe.Miod Vallat
2003-03-28Fix REQUEST SENSE handling based on lessons learned struggling withKenneth R Westerback
osiop. 1) bus_dmamap_sync(POSTREAD) the request sense buffer *before* copying it to xs->sense. 2) Always terminate timeout on completion of command, starting new one for any REQUEST SENSE that is issued for non-polling commands. 3) Use pScb->SCB_Flags rather than xs->flags to ensure correct flags are used during REQUEST_SENSE processing. 4) bzero() sense buffer before reading data into it. This fixes a long standing problem where my Yamaha SCSI CD reported bogus errors during probe.
2003-03-27map vid mem based on linebytes and heightJason Wright
2003-03-27Whoops, the rest of the *CURS* ioctl supportJason Wright
2003-03-27add support for *CURS* ioctlsJason Wright
2003-03-27don't need linear maps here eitherJason Wright
2003-03-27map the vid mem based on linebytes and heightJason Wright
2003-03-27const and static cleaningJason Wright
2003-03-27Don't need linear mappings in here.Jason Wright
2003-03-24splimp() around xl_reset() during autoconf. something in xl_reset() wantsJason Wright
to generate an interrupt before the rings are setup correctly on some variants; ok deraadt.
2003-03-21install a powerhook to restore the AC97 state after suspend;Jason Wright
aditya at dsl dot cis dot upenn dot edu via pr 3165; ok millert
2003-03-21Endian fixes for ahc driver. These are a no-op for i386. Now works on macppc.Dale Rahn
ok millert@ miod@ krw@
2003-03-20Compute linebytes and such earlier and use them to decide how muchJason Wright
memory to map. (fixes the TGX+ running in 1280x1024x8 mode). ok miod, millert.
2003-03-19regenTodd C. Miller
2003-03-19Add ProSavage DDR video; Nick HollandTodd C. Miller
2003-03-19regenMichael Shalayeff
2003-03-19match on nvidia nforce2; from netbsd@ via wayne@epipe.com.au; miod@ okMichael Shalayeff
2003-03-19Add i830 support from NetBSD via patch in kernel/3150.Todd C. Miller
Verified to not break i81[05] and tested on two i830s.
2003-03-19regenTodd C. Miller
2003-03-19s/82845G_IV/82845G_IGD/ from NetBSDTodd C. Miller
2003-03-18regenMichael Shalayeff
2003-03-18match on SMC 8041TX by cis; from netbsd via mbing@nfr.net; miod@ okMichael Shalayeff
2003-03-17Fix UK keyboard layout (2 & 3 shifted from one position).Matthieu Herrb
Reported by scott at porticia dot com. Ok deraadt@
2003-03-16A better explanation of why we need to operate hil keyboards in raw mode.Miod Vallat
2003-03-15specifed -> specifiedTheo de Raadt
2003-03-14syncTodd T. Fries