summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2003-05-01- initialize sc_pa before using itJason Wright
- fix another uninitialized variable - ditch htopci() and pcitoh()... they are completely wrong with bus_space(9) partially from NetBSD; ok mickey/millert upshot: now works on sparc64 (and probably macppc)
2003-04-29Use pci_matchbyid(). Tested by matthieu@Miod Vallat
2003-04-29grr... %s, not dc%sJason Wright
2003-04-29- remove last vestige of "old autoconf": dc_unit is dead, long live dv_xnameJason Wright
- remove a bunch of #if 0 stuff (most of which referred to dc_unit, grr) - delay a bzero until necessary
2003-04-29KNFJason Wright
2003-04-27strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.Hakan Olsson
2003-04-26managment -> management;Jason McIntyre
ok mickey@
2003-04-25viaenv(4) driver from NetBSD adapted for sysctl interface.Alexander Yurchenko
The viaenv driver provides support for the hardware monitor in the VIA VT82C686A South Bridge. Initial work on viaenv driver was done by henning@ a while ago. Tested and ok'ed by millert@ and henning@.
2003-04-25lm(4) driver from NetBSD adapted for sysctl interface.Alexander Yurchenko
The lm driver provides support for the National Semiconductor LM series hardware monitors and register compatible chips. It supports LM78, LM78-J, LM79, Winbond W83697HF, W83627HF, W83781D and W83782D chips. Tested and ok'ed by millert@ and henning@.
2003-04-24regenAlexander Yurchenko
2003-04-24Two ServerWorks CSB6 devices found in dmesg fromAlexander Yurchenko
Per-Erik Persson <pere@fos.su.se>
2003-04-23give 'em some const; mjacob@ okMichael Shalayeff
2003-04-20regenAlexander Yurchenko
2003-04-20Add Intel 82801DBM IDEAlexander Yurchenko
2003-04-20In pdc20265_pci_intr() perform shared irq check only if channel isAlexander Yurchenko
enabled since it reqires accessing channel's bus space. Problem reported by Armin Wolfermann <aw@osn.de>.
2003-04-19correct opacket/obytes statistics; from sam@freebsdJason Wright
2003-04-19Make the ubsec_feed* routines void, noone looks at the return value (always ↵Jason Wright
zero anyway); from freebsd.
2003-04-19Some string cleanup: sprintf -> snprintf and magic numbers to sizeofKenneth R Westerback
(remember: d_[type|pack]name do not need terminating null). Take the opportunity to introduce some paranoia and check the device name lengths to make sure they fit, with appropriate errors if not. ok tedu@ tdeval@
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@