summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2003-04-19Davicom DM9009 supportHenning Brauer
tested by Lucas Reddinger <lucas at wlwdesigns.com>
2003-04-19regenHenning Brauer
2003-04-19+davicom DM9009Henning Brauer
2003-04-17Remove a bogus ALIGNED_POINTER, this is now defined in proper i386 headers.Dale Rahn
2003-04-14revert last change since it causes problems on some devicesAlexander Yurchenko
2003-04-14Remove dead attribute "rasterconsole".Miod Vallat
2003-04-12Don't wait for DRQ after issuing IDENTIFY command. Fix long detectingAlexander Yurchenko
of atapi devices. Problem reported by Nicolas Baldi <nib1@cs.pitt.edu>, diff from costa@.
2003-04-12Fix index bounds checking in save data pointers logic.Kenneth R Westerback
Fix an indent problem and an extra blank space. ok mickey@
2003-04-11Match PCI_PRODUCT_INTEL_PRO_100_VE_4 and PCI_PRODUCT_INTEL_PRO_100_VM_4.Todd C. Miller
Assume these two need FXPF_HAS_RESUME_BUG. If not, that can be changed later. PCI_PRODUCT_INTEL_PRO_100_VE_4 tested by Jan Johansson.
2003-04-11Delete a doubly redundant call to timeout_del() in osiop_timeout.Kenneth R Westerback
First, the only way to get there was if the timeout fired, in which case timeout_del() is a noop. Second, it will be called in osiop_scsidone() for every active command when osiop_reset() is called in osiop_timeout(). From mickey@
2003-04-10deallocate resources on failures; pt out by tedu@; millert@ okMichael Shalayeff
2003-04-10Proper use of bus_space makes the need for <machine/pio.h> obsolete, whichMiod Vallat
is good since not all isa capable platforms provide such a file.
2003-04-09missing nl in the error msg and a return afterwardsMichael Shalayeff
2003-04-09a couple of sigmatel codec idsMichael Shalayeff
2003-04-09Cleanup/make more consistant the various DEBUG flags and uses thereof.Kenneth R Westerback
Eliminate a couple of unused debug defines and variables. ok mickey@
2003-04-09Reduce default OSIOP_DEBUG output to a useful volume.Kenneth R Westerback
From mickey@
2003-04-09sprintf->snprintf. miod@, grange@ ok.Hakan Olsson
2003-04-08Fix diagnostic output to display data buffer actually being used.Kenneth R Westerback
Fix setting of data buffer length when doing auto request sense. Add a little general paranoia about setting data buffer length. Eliminate $ifdef'ed field in acb structure, leaving diagnostic code using it #ifdef'ed. Mostly suggested by and ok mickey@.
2003-04-07a couple more codec ids from peopleMichael Shalayeff
2003-04-06The return value for bounds_check_with_label() is not set in stone, and itMiod Vallat
turns out that some arches will return (-1) in case of error, while others will return (0). Until we make our minds on this, make sure that callers of this function properly handle 0 or (-1) as failure. ok krw@
2003-04-06Fix a lot of issues in osiop.Kenneth R Westerback
In particular fix dma memory handling and as a result request sense processing. Much input/advice/testing from Mickey. ok mickey@
2003-04-06strcat/strcpy/sprintf cleanup. krw@, anil@ ok. art@ tested sparc64.Hakan Olsson
2003-04-06Some easy strcpy elimination.Kenneth R Westerback
a) strcpy -> strncpy for copies into disklabel fields d_packname and d_typename. b) '16' -> 'sizeof d_packname' or 'sizeof d_typename' in existing strncpy's. ok millert@
2003-04-05Change timeout detection from > or >= EAP_XXX_TIMEOUT to ==.Todd C. Miller
The > was wrong and >= is not needed (== is suuficient). OK krw@ From Patrick Latifi
2003-04-04sprintf -> snprintf, plus check for overflow in device name.Kenneth R Westerback
ok deraadt@ millert@
2003-04-03adjust protection on the allocated memory through the uvm same as it was ↵Michael Shalayeff
allocated w/o cutting short onto the pmap layer
2003-04-02add support for the other Sun Crypto 1000; from sam at errno dot comJason Wright
2003-04-02betterJason Wright
2003-04-02syncJason Wright
2003-04-02another Sun Crypto 1000 IDJason Wright
2003-04-02PCI_CAP_MBI should really be PCI_CAP_MSIAlexander Yurchenko
ok jason@
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