Statistics
| Branch: | Revision:

root / hw @ a1f0cce2

Name Size
  9pfs
  ide
9p.h 402 Bytes
a9mpcore.c 676 Bytes
ac97.c 37 kB
acpi.c 10 kB
acpi.h 4.7 kB
acpi_piix4.c 15.3 kB
adb.c 11.9 kB
adlib.c 7.4 kB
ads7846.c 3.8 kB
alpha_palcode.c 25.5 kB
an5206.c 2.5 kB
apb_pci.c 14 kB
apb_pci.h 241 Bytes
apic.c 26.6 kB
apic.h 858 Bytes
apm.c 2.2 kB
apm.h 411 Bytes
applesmc.c 7 kB
arm-misc.h 1.2 kB
arm11mpcore.c 3.2 kB
arm_boot.c 8.5 kB
arm_gic.c 21.6 kB
arm_pic.c 1.1 kB
arm_sysctl.c 10 kB
arm_timer.c 9 kB
armv7m.c 7 kB
armv7m_nvic.c 13 kB
audiodev.h 345 Bytes
axis_dev88.c 10.1 kB
baum.c 20 kB
baum.h 1.2 kB
bitbang_i2c.c 5.4 kB
bitbang_i2c.h 310 Bytes
blizzard.c 28.4 kB
blizzard_template.h 4 kB
boards.h 1 kB
bonito.c 24.9 kB
bt-hci-csr.c 12 kB
bt-hci.c 67.6 kB
bt-hid.c 15.9 kB
bt-l2cap.c 42.7 kB
bt-sdp.c 28.9 kB
bt.c 3.5 kB
bt.h 58.5 kB
cbus.c 14.8 kB
ccid-card-emulated.c 18.6 kB
ccid-card-passthru.c 10.2 kB
ccid.h 1.7 kB
cdrom.c 4.2 kB
cirrus_vga.c 93 kB
cirrus_vga_rop.h 5.5 kB
cirrus_vga_rop2.h 7.9 kB
collie.c 1.9 kB
cris-boot.c 3 kB
cris-boot.h 201 Bytes
cris_pic_cpu.c 1.7 kB
cs4231.c 4.5 kB
cs4231a.c 20 kB
cuda.c 20.7 kB
debugcon.c 3.2 kB
dec_pci.c 4.1 kB
dec_pci.h 130 Bytes
device-hotplug.c 1.5 kB
devices.h 2.1 kB
dma.c 14.4 kB
dp8393x.c 26.4 kB
ds1225y.c 5.4 kB
ds1338.c 3.2 kB
dummy_m68k.c 2.1 kB
e1000.c 39.6 kB
e1000_hw.h 47.9 kB
ecc.c 2.8 kB
eccmemctl.c 10.9 kB
eepro100.c 70.9 kB
eeprom93xx.c 10.5 kB
eeprom93xx.h 1.3 kB
elf_ops.h 8.9 kB
empty_slot.c 2.3 kB
empty_slot.h 86 Bytes
es1370.c 29.7 kB
escc.c 26.7 kB
escc.h 344 Bytes
esp.c 20.4 kB
esp.h 439 Bytes
etraxfs.c 5.3 kB
etraxfs.h 1.3 kB
etraxfs_dma.c 21.6 kB
etraxfs_dma.h 568 Bytes
etraxfs_eth.c 13.6 kB
etraxfs_pic.c 4.6 kB
etraxfs_ser.c 5.8 kB
etraxfs_timer.c 8.4 kB
event_notifier.c 1.3 kB
event_notifier.h 369 Bytes
fdc.c 60.4 kB
fdc.h 740 Bytes
firmware_abi.h 1.8 kB
flash.h 2 kB
fmopl.c 35.1 kB
fmopl.h 6.5 kB
framebuffer.c 3.5 kB
framebuffer.h 450 Bytes
fw_cfg.c 11.2 kB
fw_cfg.h 2.4 kB
g364fb.c 18 kB
grackle_pci.c 4 kB
grlib.h 3.7 kB
grlib_apbuart.c 5.2 kB
grlib_gptimer.c 10.7 kB
grlib_irqmp.c 9.3 kB
gt64xxx.c 33.3 kB
gumstix.c 3.8 kB
gus.c 8.3 kB
gusemu.h 5.3 kB
gusemu_hal.c 22.6 kB
gusemu_mixer.c 11.9 kB
gustate.h 5 kB
hda-audio.c 25.8 kB
heathrow_pic.c 5.8 kB
hpet.c 22.7 kB
hpet_emul.h 1.8 kB
hw.h 39 kB
i2c.c 4.2 kB
i2c.h 2.2 kB
i8254.c 14.9 kB
i8259.c 14.7 kB
ide.h 1 kB
integratorcp.c 15.1 kB
intel-hda-defs.h 22.1 kB
intel-hda.c 38.6 kB
intel-hda.h 2.3 kB
ioapic.c 10.1 kB
ioapic.h 801 Bytes
ioh3420.c 6.9 kB
ioh3420.h 306 Bytes
irq.c 2.6 kB
irq.h 821 Bytes
isa-bus.c 5.1 kB
isa.h 1.5 kB
isa_mmio.c 2.6 kB
ivshmem.c 23.1 kB
jazz_led.c 9.7 kB
kvmclock.c 2.9 kB
kvmclock.h 305 Bytes
lan9118.c 31.7 kB
lance.c 4.6 kB
leon3.c 6.4 kB
lm32.h 453 Bytes
lm32_boards.c 9.9 kB
lm32_hwsetup.h 5 kB
lm32_juart.c 3.4 kB
lm32_juart.h 320 Bytes
lm32_pic.c 4.2 kB
lm32_pic.h 300 Bytes
lm32_sys.c 4.2 kB
lm32_timer.c 5.1 kB
lm32_uart.c 6.2 kB
lm832x.c 14.4 kB
loader.c 19.7 kB
loader.h 1.8 kB
lsi53c895a.c 65.6 kB
m48t59.c 19.6 kB
mac_dbdma.c 21.4 kB
mac_dbdma.h 1.6 kB
mac_nvram.c 5.3 kB
macio.c 4.4 kB
mainstone.c 5.5 kB
marvell_88w8618_audio.c 8.1 kB
max111x.c 3.8 kB
max7310.c 4.7 kB
mc146818rtc.c 19.5 kB
mc146818rtc.h 287 Bytes
mcf.h 647 Bytes
mcf5206.c 13.9 kB
mcf5208.c 8 kB
mcf_fec.c 12.4 kB
mcf_intc.c 3.7 kB
mcf_uart.c 7.1 kB
microblaze_pic_cpu.c 1.7 kB
milkymist-ac97.c 7.9 kB
milkymist-hpdmc.c 3.8 kB
milkymist-hw.h 6.3 kB
milkymist-memcard.c 7.7 kB
milkymist-minimac2.c 13.6 kB
milkymist-pfpu.c 14 kB
milkymist-softusb.c 9.3 kB
milkymist-sysctl.c 8.3 kB
milkymist-tmu2.c 13 kB
milkymist-uart.c 4.2 kB
milkymist-vgafb.c 7.5 kB
milkymist-vgafb_template.h 2.5 kB
milkymist.c 6.7 kB
mips-bios.h 175 Bytes
mips.h 1.2 kB
mips_addr.c 1.3 kB
mips_cpudevs.h 372 Bytes
mips_fulong2e.c 12.1 kB
mips_int.c 1.9 kB
mips_jazz.c 8.9 kB
mips_malta.c 31.4 kB
mips_mipssim.c 6.7 kB
mips_r4k.c 8.8 kB
mips_timer.c 4.4 kB
mipsnet.c 7 kB
mpcore.c 7.4 kB
msi.c 11.1 kB
msi.h 1.4 kB
msix.c 12 kB
msix.h 928 Bytes
msmouse.c 2.6 kB
msmouse.h 72 Bytes
mst_fpga.c 5.7 kB
multiboot.c 11.9 kB
multiboot.h 341 Bytes
musicpal.c 45.2 kB
nand.c 19.4 kB
ne2000-isa.c 3.8 kB
ne2000.c 22.8 kB
ne2000.h 1.3 kB
nseries.c 43 kB
nvram.h 1.9 kB
omap.h 35.4 kB
omap1.c 109.2 kB
omap2.c 82.4 kB
omap_clk.c 30.1 kB
omap_dma.c 59 kB
omap_dss.c 31.3 kB
omap_gpio.c 17.9 kB
omap_gpmc.c 12.3 kB
omap_gptimer.c 12.7 kB
omap_i2c.c 13 kB
omap_intc.c 16.2 kB
omap_l4.c 8.2 kB
omap_lcd_template.h 4.9 kB
omap_lcdc.c 12.5 kB
omap_mmc.c 16 kB
omap_sdrc.c 4.7 kB
omap_spi.c 9.5 kB
omap_sx1.c 8.1 kB
omap_synctimer.c 2.6 kB
omap_tap.c 3.3 kB
omap_uart.c 5.5 kB
onenand.c 19.2 kB
openpic.c 46.5 kB
openpic.h 735 Bytes
palm.c 9.3 kB
parallel.c 17.6 kB
pc.c 31.7 kB
pc.h 6.5 kB
pc_piix.c 13.2 kB
pci-hotplug.c 8.3 kB
pci-stub.c 1.4 kB
pci.c 65.5 kB
pci.h 13.9 kB
pci_bridge.c 9.4 kB
pci_bridge.h 2.1 kB
pci_host.c 4.9 kB
pci_host.h 2 kB
pci_ids.h 3.5 kB
pci_internals.h 1.3 kB
pci_regs.h 33.1 kB
pcie.c 18.8 kB
pcie.h 5.4 kB
pcie_aer.c 31.3 kB
pcie_aer.h 3.4 kB
pcie_host.c 5.5 kB
pcie_host.h 1.5 kB
pcie_port.c 3.6 kB
pcie_port.h 1.4 kB
pcie_regs.h 7.2 kB
pckbd.c 15.2 kB
pcmcia.h 1.8 kB
pcnet-pci.c 9.7 kB
pcnet.c 54.5 kB
pcnet.h 1.4 kB
pcspk.c 4.2 kB
petalogix_ml605_mmu.c 8.8 kB
petalogix_s3adsp1800_mmu.c 7.6 kB
pflash_cfi01.c 20.2 kB
pflash_cfi02.c 21.4 kB
piix4.c 3.7 kB
piix_pci.c 14.2 kB
pixel_ops.h 1.7 kB
pl011.c 7.8 kB
pl022.c 8.3 kB
pl031.c 5.9 kB
pl050.c 4.6 kB
pl061.c 8.3 kB
pl080.c 11.2 kB
pl110.c 10.2 kB
pl110_template.h 7 kB
pl181.c 14 kB
pl190.c 7.4 kB
pm_smbus.c 4.2 kB
pm_smbus.h 482 Bytes
ppc-viosrp.h 6.7 kB
ppc.c 39.3 kB
ppc.h 2 kB
ppc405.h 2.8 kB
ppc405_boards.c 19.8 kB
ppc405_uc.c 65.3 kB
ppc440.c 3.1 kB
ppc440.h 512 Bytes
ppc440_bamboo.c 5.7 kB
ppc4xx.h 2.4 kB
ppc4xx_devs.c 19.5 kB
ppc4xx_pci.c 10.7 kB
ppc_mac.h 3.7 kB
ppc_newworld.c 14.9 kB
ppc_oldworld.c 10.8 kB
ppc_prep.c 21.7 kB
ppce500_mpc8544ds.c 10.5 kB
ppce500_pci.c 9.9 kB
prep_pci.c 4.3 kB
prep_pci.h 121 Bytes
primecell.h 461 Bytes
ps2.c 19.2 kB
ps2.h 400 Bytes
ptimer.c 5.5 kB
pxa.h 4.9 kB
pxa2xx.c 67.9 kB
pxa2xx_dma.c 16.1 kB
pxa2xx_gpio.c 9.8 kB
pxa2xx_keypad.c 9.5 kB
pxa2xx_lcd.c 26.4 kB
pxa2xx_mmci.c 14.1 kB
pxa2xx_pcmcia.c 5.3 kB
pxa2xx_pic.c 9.4 kB
pxa2xx_template.h 11.3 kB
pxa2xx_timer.c 14.2 kB
qdev-addr.c 826 Bytes
qdev-addr.h 277 Bytes
qdev-properties.c 18.6 kB
qdev.c 24.2 kB
qdev.h 11.7 kB
qxl-logger.c 8.2 kB
qxl-render.c 7.3 kB
qxl.c 46.7 kB
qxl.h 3 kB
r2d.c 9 kB
rc4030.c 21.2 kB
realview.c 14.4 kB
realview_gic.c 2 kB
rtl8139.c 100.4 kB
s390-virtio-bus.c 11.2 kB
s390-virtio-bus.h 2.3 kB
s390-virtio.c 7.7 kB
sb16.c 35 kB
sbi.c 3.8 kB
scsi-bus.c 19.3 kB
scsi-defs.h 5 kB
scsi-disk.c 39.8 kB
scsi-generic.c 14.9 kB
scsi.h 4.6 kB
sd.c 45.8 kB
sd.h 2.8 kB
serial.c 28.9 kB
sh.h 1.5 kB
sh7750.c 22.4 kB
sh7750_regnames.c 2.3 kB
sh7750_regnames.h 127 Bytes
sh7750_regs.h 60.5 kB
sh_intc.c 11.9 kB
sh_intc.h 1.9 kB
sh_pci.c 4.7 kB
sh_serial.c 9.9 kB
sh_timer.c 8.6 kB
sharpsl.h 352 Bytes
shix.c 3.1 kB
slavio_intctl.c 13.4 kB
slavio_misc.c 12.2 kB
slavio_timer.c 13.7 kB
sm501.c 40.9 kB
sm501_template.h 3.8 kB
smbios.c 7.7 kB
smbios.h 4.5 kB
smbus.c 7.9 kB
smbus.h 3.1 kB
smbus_eeprom.c 4.4 kB
smc91c111.c 21.6 kB
soc_dma.c 11.6 kB
soc_dma.h 3.6 kB
spapr.c 15.9 kB
spapr.h 11.7 kB
spapr_hcall.c 14.1 kB
spapr_llan.c 15.6 kB
spapr_rtas.c 8 kB
spapr_vio.c 18.3 kB
spapr_vio.h 3.9 kB
spapr_vscsi.c 29.2 kB
spapr_vty.c 4.1 kB
sparc32_dma.c 8.6 kB
sparc32_dma.h 446 Bytes
spitz.c 31.6 kB
srp.h 6.4 kB
ssd0303.c 8.6 kB
ssd0323.c 9.3 kB
ssi-sd.c 8 kB
ssi.c 1.6 kB
ssi.h 1.2 kB
stellaris.c 37.7 kB
stellaris_enet.c 12.6 kB
stellaris_input.c 2.3 kB
strongarm.c 41.1 kB
strongarm.h 1.4 kB
sun4c_intctl.c 5.8 kB
sun4m.c 56.5 kB
sun4m.h 1 kB
sun4m_iommu.c 12.8 kB
sun4u.c 26.7 kB
syborg.c 3.9 kB
syborg.h 578 Bytes
syborg_fb.c 13.2 kB
syborg_interrupt.c 6.6 kB
syborg_keyboard.c 6.6 kB
syborg_pointer.c 6.9 kB
syborg_rtc.c 4 kB
syborg_serial.c 9.4 kB
syborg_timer.c 6.4 kB
syborg_virtio.c 9.4 kB
sysbus.c 6 kB
sysbus.h 2.5 kB
tc58128.c 4.3 kB
tc6393xb.c 18.5 kB
tc6393xb_template.h 2.1 kB
tcx.c 17.8 kB
tmp105.c 5.9 kB
tosa.c 7.4 kB
tsc2005.c 15.2 kB
tsc210x.c 33.8 kB
tusb6010.c 23.2 kB
twl92230.c 24.3 kB
unin_pci.c 11.5 kB
usb-bt.c 17.2 kB
usb-bus.c 10 kB
usb-ccid.c 44.6 kB
usb-desc.c 10.2 kB
usb-desc.h 3.1 kB
usb-hid.c 31.2 kB
usb-hub.c 17.2 kB
usb-msd.c 17.4 kB
usb-musb.c 42.7 kB
usb-net.c 43.4 kB
usb-ohci.c 49.7 kB
usb-ohci.h 139 Bytes
usb-serial.c 16.4 kB
usb-uhci.c 30.6 kB
usb-uhci.h 237 Bytes
usb-wacom.c 9.7 kB
usb.c 7.1 kB
usb.h 10.7 kB
versatile_pci.c 4.3 kB
versatilepb.c 10.3 kB
vexpress.c 7.7 kB
vga-isa-mm.c 4 kB
vga-isa.c 2.8 kB
vga-pci.c 3.8 kB
vga.c 67.9 kB
vga_int.h 8 kB
vga_template.h 15.8 kB
vhost.c 24.5 kB
vhost.h 1.3 kB
vhost_net.c 5.9 kB
vhost_net.h 574 Bytes
virtex_ml507.c 8.7 kB
virtio-balloon.c 8 kB
virtio-balloon.h 1.5 kB
virtio-blk.c 15.4 kB
virtio-blk.h 2.8 kB
virtio-console.c 4.4 kB
virtio-net.c 31.2 kB
virtio-net.h 7.4 kB
virtio-pci.c 29.7 kB
virtio-serial-bus.c 24.4 kB
virtio-serial.h 5.7 kB
virtio.c 22.9 kB
virtio.h 8.2 kB
vmmouse.c 7.5 kB
vmport.c 4.1 kB
vmware_vga.c 36.6 kB
vmware_vga.h 336 Bytes
vt82c686.c 14.7 kB
vt82c686.h 319 Bytes
watchdog.c 4.2 kB
watchdog.h 1.4 kB
wdt_i6300esb.c 13.6 kB
wdt_ib700.c 3.5 kB
wm8750.c 20.1 kB
xen.h 1.4 kB
xen_backend.c 20.2 kB
xen_backend.h 3.8 kB
xen_blkif.h 3.5 kB
xen_common.h 2.6 kB
xen_console.c 7 kB
xen_devconfig.c 4.8 kB
xen_disk.c 24.6 kB
xen_domainbuild.c 8.5 kB
xen_domainbuild.h 487 Bytes
xen_machine_pv.c 3.5 kB
xen_nic.c 13.7 kB
xenfb.c 30.1 kB
xics.c 12.4 kB
xics.h 1.5 kB
xilinx.h 2.7 kB
xilinx_axidma.c 12.9 kB
xilinx_axidma.h 1 kB
xilinx_axienet.c 22.2 kB
xilinx_ethlite.c 6.8 kB
xilinx_intc.c 4.6 kB
xilinx_timer.c 6.2 kB
xilinx_uartlite.c 5.5 kB
xio3130_downstream.c 6.3 kB
xio3130_downstream.h 406 Bytes
xio3130_upstream.c 5.3 kB
xio3130_upstream.h 319 Bytes
zaurus.c 6.9 kB

Latest revisions

# Date Author Comment
a1f0cce2 05/26/2011 01:14 pm Hannes Reinecke

scsi: Update sense code handling

The SCSI spec has a quite detailed list of sense codes available.
It even mandates the use of specific ones for some failure cases.
The current implementation just has one type of generic error
which is actually a violation of the spec in certain cases....

ad2d30f7 05/26/2011 01:14 pm Paolo Bonzini

scsi: reference-count requests

With the next patch, a device may hold SCSIRequest for an indefinite
time. Split a rather big patch, and protect against access errors,
by reference counting them.

There is some ugliness in scsi_send_command implementation due to...

11257187 05/26/2011 01:14 pm Paolo Bonzini

lsi: extract lsi_find_by_tag

Signed-off-by: Paolo Bonzini <>
Reviewed-by: Christoph Hellwig <>

5c6c0e51 05/26/2011 01:14 pm Hannes Reinecke

scsi: Use 'SCSIRequest' directly

Currently the SCSIRequest structure is abstracted away and cannot accessed
directly from the driver. This requires the handler to do a lookup on
an abstract 'tag' which identifies the SCSIRequest structure.

With this patch the SCSIRequest structure is exposed to the driver. This...

c557e889 05/26/2011 01:14 pm Paolo Bonzini

scsi: commonize purging requests

The code for canceling requests upon reset is already the same. Clean
it up and move it to scsi-bus.c.

Signed-off-by: Paolo Bonzini <>
Reviewed-by: Christoph Hellwig <>

19d110ab 05/26/2011 01:14 pm Paolo Bonzini

scsi: introduce scsi_req_abort

This covers the case of canceling a request's I/O and still
completing it.

Signed-off-by: Paolo Bonzini <>
Reviewed-by: Christoph Hellwig <>

94d3f98a 05/26/2011 01:14 pm Paolo Bonzini

scsi: introduce scsi_req_cancel

This is for when the request must be dropped in the void,
but still memory should be freed. To this end, the devices
register a second callback in SCSIBusOps.

Signed-off-by: Paolo Bonzini <>
Reviewed-by: Christoph Hellwig <>

2b8b3bb9 05/26/2011 01:14 pm Paolo Bonzini

scsi: use scsi_req_complete

Signed-off-by: Paolo Bonzini <>
Reviewed-by: Christoph Hellwig <>

cfdc1bb0 05/26/2011 01:14 pm Paolo Bonzini

scsi: introduce SCSIBusOps

There are more operations than a SCSI bus can handle, besides completing
commands. One example, which this series will introduce, is cleaning up
after a request is cancelled.

More long term, a "SCSI bus" can represent the LUNs attached to a...

d33e0ce2 05/26/2011 01:14 pm Paolo Bonzini

scsi-generic: do not use a stale aiocb

If a request is canceled after it has been completed, scsi_cancel_io
would pass a stale aiocb to bdrv_aio_cancel. Avoid this.

Signed-off-by: Paolo Bonzini <>
Cc: Christoph Hellwig <>

View revisions

Also available in: Atom