summaryrefslogtreecommitdiff
path: root/sys/dev/pci/arc.c
AgeCommit message (Expand)Author
2006-12-23adapt to new two-level sensor api; Constantine A. MureninTheo de Raadt
2006-12-22always include sensors.hTheo de Raadt
2006-11-28give scsi controllers a real attach args to fill in when attaching scsibus.David Gwynne
2006-11-04query the firmware for the number of volumes, and then iterate through themDavid Gwynne
2006-11-01dont walk the device list looking for our scsibus, it is stashed when weDavid Gwynne
2006-11-01whitespace fixesDavid Gwynne
2006-10-31first cut at sensorsJolan Luff
2006-09-25well, this is embarrassing.David Gwynne
2006-09-25enabling interrupts isnt a bug, so dont put XXX next to it.David Gwynne
2006-08-28move the firmware messaging under NBIO since it's only used by bio.David Gwynne
2006-08-28turns out the volume info contains a bitmap of failed physdisks in it, soDavid Gwynne
2006-08-27sigh, this is annoying. it appears that the arc firmware doesnt care if aDavid Gwynne
2006-08-27try to get the status of the volume out of the arc firmware and intoDavid Gwynne
2006-08-27if a disk dissapears out of a raidset, then the raid info will list its idDavid Gwynne
2006-08-27little nitDavid Gwynne
2006-08-25fill in the controllers name in the inq ioctl. spotted by deraadt@David Gwynne
2006-08-24show the firmware revision of the disks.David Gwynne
2006-08-24report the size of the disks and volumes correctly.David Gwynne
2006-08-24too much copy and paste. report raid 1 correctly.David Gwynne
2006-08-24ignore passthru volumes, struct bioc_vol isnt smart enough to know whatDavid Gwynne
2006-08-24figure out the raid level of the volume.David Gwynne
2006-08-24oops, im unlocking too oftenDavid Gwynne
2006-08-24a start at the BIOC INQ, VOL, and DISK ioctls for fetching informationDavid Gwynne
2006-08-20stash a pointer to the scsibus attached to us. we can use this later toDavid Gwynne
2006-08-20definitions of the messages for raid, volume, and physical disksDavid Gwynne
2006-08-20get rid of the horror that was the ARC_FW_MSG macroDavid Gwynne
2006-08-20get rid of the old arc_msgbuf.David Gwynne
2006-08-20cut the rest of the bioctl alarm stuff over to the new arc_msgbufDavid Gwynne
2006-08-20because the header on firmware commands causes the rest of the message toDavid Gwynne
2006-08-18oops, debug cruft shouldnt go into the tree.David Gwynne
2006-08-18add the sysinfo struct, and then use it to get the current state of theDavid Gwynne
2006-08-18easy bio bits first. this is is code that should enable, disable, andDavid Gwynne
2006-08-18arc, meet bio. bio, meet arc.David Gwynne
2006-08-18fix up the arc fw message macros a bit. change a comment while here.David Gwynne
2006-08-18a bit more infrastructure for firmware commands.David Gwynne
2006-08-17dont need debug in the treeDavid Gwynne
2006-08-17man, i wish firmware commands were as easy as scsi io's on theseDavid Gwynne
2006-08-15when there's normal sense data i think the command completed ok, there'sDavid Gwynne
2006-08-15try to deal appropriate with errors from the io command replyDavid Gwynne
2006-08-14start and stop bgrb during attach and detach respectively. as a bonusDavid Gwynne
2006-08-14firmware commands (as opposed to io commands) are sent to the firmware viaDavid Gwynne
2006-08-09define the size of regions in the register space in terms of bytes, notDavid Gwynne
2006-08-07whitespace fixesDavid Gwynne
2006-08-07from the drivers side of the iop331 there is only one set of interruptDavid Gwynne
2006-08-06endian fixes. this works on sparc64 now.David Gwynne
2006-08-06fill out the interrupt handler. io is now no longer polled, and as a bonusDavid Gwynne
2006-08-06we can support more than one entry in an sgl, so stop lying to bus_dmaDavid Gwynne
2006-08-06less magicDavid Gwynne
2006-08-06io commands are the only ones every posted on the queues, so hardcode theDavid Gwynne
2006-08-05implement reply and post queue handling, but only polled for now. io shouldDavid Gwynne