summary refs log tree commit diff stats
path: root/hw/lsi53c895a.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2009-11-11 14:59:56 +0200
committerMichael S. Tsirkin <mst@redhat.com>2009-12-01 17:51:04 +0200
commit18e08a55292a57b988df7fa14af2b4dd282a6486 (patch)
tree20c52dd76d8cc3c96c1f9d28b8d22d922bd9b166 /hw/lsi53c895a.c
parent3098b9fde97a224e803048c83bebeea176966358 (diff)
downloadfocaccia-qemu-18e08a55292a57b988df7fa14af2b4dd282a6486.tar.gz
focaccia-qemu-18e08a55292a57b988df7fa14af2b4dd282a6486.zip
pci: pci.h cleanup: move out stuff not in pci.c
pci.h declares some functions which aren't
defined in pci.h. Clean up moving things
to appropriate headers, and update all users.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/lsi53c895a.c')
-rw-r--r--hw/lsi53c895a.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c
index 7e47fc9abc..8b8a80b898 100644
--- a/hw/lsi53c895a.c
+++ b/hw/lsi53c895a.c
@@ -31,6 +31,8 @@ do { fprintf(stderr, "lsi_scsi: error: " fmt , ## __VA_ARGS__); exit(1);} while
 do { fprintf(stderr, "lsi_scsi: error: " fmt , ## __VA_ARGS__);} while (0)
 #endif
 
+#define LSI_MAX_DEVS 7
+
 #define LSI_SCNTL0_TRG    0x01
 #define LSI_SCNTL0_AAP    0x02
 #define LSI_SCNTL0_EPC    0x08