summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2005-11-14there are actually two ports on the ki2c unit. if the OF address hasTheo de Raadt
the 0x80 bit set, the device is on the 2nd port. ok kettenis
2005-11-14bah, enable the lm87 stuff for G4 even if it does not workTheo de Raadt
2005-11-14Add lmenv(4), an System Hardware Minitor device that attaches to the I2C bus.Mark Kettenis
ok deraadt@
2005-11-14Restore the disk blinkenlichten lost with the new scsi code, and hp300 usersMiod Vallat
like me again.
2005-11-14Use config_found_sm() in the probe machinery. This is simpler and allows usMiod Vallat
to report HP-IB devices found for which no driver attached.
2005-11-14Make HDWAITC and HDRETRY overridable in the kernel configuration file;Miod Vallat
while there, constify option DEBUG message tables.
2005-11-14constuct -> constructMiod Vallat
2005-11-14hz is defined in <sys/kernel.h>Miod Vallat
2005-11-14re-add comment which is still valid for em_print_hw_stats().Brad Smith
2005-11-14remove unused em_print_debug_info() function.Brad Smith
2005-11-14regenJonathan Gray
2005-11-14Some additional devices from a bunch of submitted dmesgs.Jonathan Gray
2005-11-14all csr ptrs are offsets and thus bus_size_t not bus_addr_tMichael Shalayeff
2005-11-14register offsets [against bh] are expected bus_size_t and not bus_addr_tMichael Shalayeff
2005-11-14remove unused HW VLAN tagging support which cannot be used due to HW ↵Brad Smith
limitations. ok dlg@
2005-11-14bus_size_t is a more proper type for a register offset [against bh]Michael Shalayeff
2005-11-14the registers used are either offsets or are in pci conf space thus use ↵Michael Shalayeff
proper types
2005-11-14msize is proper bus_size_tMichael Shalayeff
2005-11-14ep_w1_reg() returns int thus no need to stuff it into bus_addr_tMichael Shalayeff
2005-11-14fix spelloChristopher Pascoe
2005-11-13Align _delay() on 8 bytes, not 2^8 bytes.Miod Vallat
2005-11-13shorten this a bit through better use of TAILQ macros.David Gwynne
mostly ok otto@ (ive since fixed the chunk he was worried about)
2005-11-13match u4Dale Rahn
2005-11-13Map the config space area based on sc_maxdevs. (removes panic)Dale Rahn
2005-11-13Recognized 970MP processor.Dale Rahn
2005-11-13remove unused define.Federico G. Schwindt
2005-11-13Use name of device driver as wmesg for lock.Mark Kettenis
2005-11-13maciic at ki2cMark Kettenis
ok deraadt@
2005-11-13Add code to turn ki2c(4) into a proper i2c controller.Mark Kettenis
ok deraadt@
2005-11-13Better error message layout.Miod Vallat
2005-11-13Attach children for matched controllers, not just u3.Mark Kettenis
ok deraadt@
2005-11-13Fix timeout usage introduced during the timeout API change (better lateMiod Vallat
than never), allows slower disks on nhpib to work again.
2005-11-13untested kgdb support for amd64. prolly needs more work whenFederico G. Schwindt
getting and setting the registers, but it's a start. kettenis@ ok.
2005-11-13move kgdb_connect and kgdb_panic into MI. looked by miod@ and kettenis@Federico G. Schwindt
2005-11-13need cast to vaddr_tMartin Reindl
found the hard way by deraadt@
2005-11-13Allow removable disks to be spun up if they ask for initializationKenneth R Westerback
after being opened. Use SC_DEBUG() to suppress some verbiage during spin up. Return actual errors encountered during attempt to spin up, rather than always returning EIO. ok dlg@
2005-11-13ATAPI Tape drives need 6 byte MODE SENSE commands according to atKenneth R Westerback
least one spec. Unlike other ATAPI devices. Fixes PR #4611.
2005-11-13convert more MD macros to their MI counterparts, this timeMartin Reindl
i386_round_page(), i386_trunc_page(), i386_btop() and i386_ptob()
2005-11-13splimp -> splvmBrad Smith
ok drahn@
2005-11-13- Introduce two more stat counters, counting number of RXBrad Smith
overruns and number of watchdog timeouts. - Do not increase if->if_oerrors in em_watchdog(), since this leads to counter slipping back, when if->if_oerrors is recalculated in em_update_stats_counters(). Instead increase watchdog counter in em_watchdog() and take it into account in em_update_stats_counters(). From glebius FreeBSD ok dlg@
2005-11-13Use SCSI_DELAY only once. Document it. Default to no delay.Kenneth R Westerback
Fixes two second system 'freeze' when umass device plugged in. Speeds up boot by not waiting for a minimum of 2 seconds at each scsi bus. ok jmc@ pedro@ deraadt@
2005-11-13Use scsi_delay() instead of delay() when waiting for scsi disk toKenneth R Westerback
become ready. Make verbiage SC_DEBUG(). ok dlg@
2005-11-13lock accesses to the buffer so that it wont get confused between theDavid Gwynne
multiple processes using it
2005-11-13lock updates to the buffer with the enclosure status in it so that oneDavid Gwynne
process cant read from it while another one is fetching it from the scsi device. looks ok krw@
2005-11-13if the particular ses device has no slots or sensors to handle, then freeDavid Gwynne
all the resources.
2005-11-13code was totally borked, if it failed to detect a LM77 it left theTheo de Raadt
type as 0; ok kettenis
2005-11-12Pass a struct proc * to ISHPMMADDR instead of abusing curproc in it.Miod Vallat
2005-11-12Compute a rough estimate of exactly how much memory uvm_init() will allocate,Miod Vallat
so as to correctly size the initial PT pages, to prevent the early initialization from invoking pmap_enter_ptpage() [chicken and egg problem]. Much better than the previous arithmetic.
2005-11-12Constify, and simplify hdgetinfo() which only gets called for known disks.Miod Vallat
2005-11-12Provide useful information if we panic due to looping interrupts.Miod Vallat