summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-03-22Don't show rebuild status for offline volumes.Alexander Yurchenko
2009-03-22Put recently added bio and sensors stuff under #if NBIO > 0 andAlexander Yurchenko
#ifndef SMALL_KERNEL respectively.
2009-03-21If rebuild is active set volume state to ``rebuild''.Alexander Yurchenko
2009-03-21Report rebuild progress only if rebuild is active.Alexander Yurchenko
2009-03-21Always re-route interrupts, even when doing so appears to be a no-op. SomeMark Kettenis
BIOSen flat out lie to us when we ask for the current routing. ok marco@
2009-03-21don't call uiomove(9) at IPL_AUDIO, slightly simplify the codeAlexandre Ratchov
help from and ok jakemsr
2009-03-21IPS_MAXTARGETS should be 16, not 15.Alexander Yurchenko
2009-03-21Be smart when attaching pass-through scsibuses. Use configurationAlexander Yurchenko
data to check if channel has any devices besides disks and set the actual bus width. This will speedup booting. Also remember enclosure address here instead of messing with inquiry data.
2009-03-21Make nvram writable (if necessary) before calling OF_setprop(). PreventsMark Kettenis
faults on machines where we map nvram write-only (through the clock chip).
2009-03-21Looks like the ``params'' field in the physical device descriptionAlexander Yurchenko
contains SID_TYPE. Use to to filter out non disks from the bioctl output.
2009-03-20Unconditionally drain the RX ring when stpping the chip.Mark Kettenis
ok dlg@, jsg@
2009-03-20When calculating physical disk size use its number of sectorsAlexander Yurchenko
rather than chunk's.
2009-03-20Detect unused and hot-spare drives.Alexander Yurchenko
2009-03-20Support bio ``unused'' drives.Alexander Yurchenko
2009-03-20Cleanup physical drive states handling.Alexander Yurchenko
2009-03-20Switch sgi to __HAVE_GENERIC_SOFT_INTERRUPTS.Miod Vallat
2009-03-20Switch vax to __HAVE_GENERIC_SOFT_INTERRUPTS.Miod Vallat
2009-03-20While working on some stuff in uvm I've gotten REALLY sick of readingOwain Ainsworth
K&R function declarations, so switch them all over to ansi-style, in accordance with the prophesy. "go for it" art@
2009-03-20Minor style nit; rnoland (freebsd).Owain Ainsworth
2009-03-20Fetch rebuild status only for degraded or offline volumes.Alexander Yurchenko
2009-03-19For rebuilds use a special REBUILD command instead of a genericAlexander Yurchenko
SETSTATE, for some reason it works better on lpinto's machine.
2009-03-19We don't count buffercache stats in the B_PHYS case, so fix nfs to notOwain Ainsworth
increment the num{read,write} and pending{read,write} statistics in that case, since biodone won't change them on completion. On another note, I'm not sure that we use physical buffers for swapping over nfs anymore, so this chunk may be superfluous. beck@ came up with the same diff "So anyway rather than me commiting it from my copy, I'm giving you the OK and the commit. since it officially makes you a buffer cache and NFS hacker };-)"
2009-03-19For pass-through commands adjust timeout value to what controllerAlexander Yurchenko
supports. Make sure our timeout will be fired after controller gives up.
2009-03-19Unify command id printing.Alexander Yurchenko
2009-03-19Make ips_timeout to be usable not only with scsi xfers.Alexander Yurchenko
2009-03-19Remove unused code.Alexander Yurchenko
2009-03-18Keep softc pointer in ccb because it requires some work to correctlyAlexander Yurchenko
extract it from scsi_xfer in ips_timeout since link->adapter_softc may point to a per-channel structure in pass-through path.
2009-03-17Provide both errno.h codes for the userspace tools like bioctlAlexander Yurchenko
and XS_* codes for the scsi layer.
2009-03-17Fix compilation without bio(4).Alexander Yurchenko
2009-03-17we do know how to handle iack. in the rx path at least.David Gwynne
2009-03-16Implement bioctl volume management: rebuild and hotspare.Alexander Yurchenko
2009-03-16Trivial malloc + memset -> malloc(,,M_ZERO) conversion.Owain Ainsworth
As a small bonus this now actually zeroes the whole struct, not just the non-varying sized part.
2009-03-16pmap = (conditional ? user_way : pmap = pmap_kernel());Owain Ainsworth
doesn't need the second pmap =. "ok if you tested it" kettenis@
2009-03-16first stage of removing ``copying & needfeel'' flags thatAlexandre Ratchov
make the audio driver missing blocks and, thus, breaking full-duplex apps. help and ok jakemsr
2009-03-16When doing pass-through calculate right xs->resid value based onAlexander Yurchenko
the info hardware returnes.
2009-03-16Don't set error on data underrun. This tiny change allowed scsi tapeAlexander Yurchenko
on the pass-through bus on lpinto's machine to work.
2009-03-16syncTheo de Raadt
2009-03-1688E8057 is a Yukon 2 Ultra 2, and this might make it work on a littleTheo de Raadt
shiny green box in Japan ok kettenis
2009-03-16regenJonathan Gray
2009-03-16Add Intel System Controller Hub (SCH) devices.Jonathan Gray
2009-03-16Remove redundant DPRINTF from ips_morpheus_isintr.Alexander Yurchenko
2009-03-16IPS_SCSI_PT flag not used any more.Alexander Yurchenko
2009-03-15Generic softinterrupt code for m68k platforms, now copied from m88k.Miod Vallat
2009-03-15Generic softinterrupt support for m88k based platforms, adapted from armMiod Vallat
with different locking mechanism. 88110 soft ipi are replaced with an ipi callback which is checked upon return from exception (it can not be kept as a softintr, as the generic softinterrupt code doesn't have per-cpu pending softintr queues).
2009-03-15Let CPU_INFO_UNIT() be used before cpu0 attaches, and make sureMiod Vallat
CPU_INFO_FOREACH() only covers attached cpus. With drahn@, ok kettenis@
2009-03-15Now that we have splsoftassert(), make the soft ipl levels positive andMiod Vallat
remove the special casing in splassert().
2009-03-15Introduce splsoftassert(), similar to splassert() but for soft interruptMiod Vallat
levels. This will allow for platforms where soft interrupt levels do not map to real hardware interrupt levels to have soft ipl values overlapping hard ipl values without breaking spl asserts.
2009-03-15Include .S files in make depend.Miod Vallat
2009-03-15Cleanup error processing:Alexander Yurchenko
- in ips_start_xs don't do scsi_done twice on error; - make ips_error return scsi XS_* codes rather than errno.h E* codes; - move all error reporting under debug, let upper layers to spam user. And fix a few missing byte conversions while here.
2009-03-15Allow CPU_INFO_UNIT() to be used before cpu0 attaches.Miod Vallat