aboutsummaryrefslogtreecommitdiff
path: root/src/block.h
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2021-02-10 21:07:01 +0100
committerHelge Deller <deller@gmx.de>2021-09-24 11:10:17 +0200
commitb305fd659ebf2c11b94957904fadfab73fc3933e (patch)
tree3a4d58b3a0491bdafdc2b3fe53eb0c718f98fff1 /src/block.h
parent3705df1c13ce3069fd2740ef74acfcb56f046cbd (diff)
downloadseabios-hppa-b305fd659ebf2c11b94957904fadfab73fc3933e.zip
seabios-hppa-b305fd659ebf2c11b94957904fadfab73fc3933e.tar.gz
seabios-hppa-b305fd659ebf2c11b94957904fadfab73fc3933e.tar.bz2
scsi: Add fields for specifying target and lun of SCSI devices
On PA-RISC it's possible to boot from various SCSI targets and LUNs. Add fields to the drive_s struct to be able to store those. Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'src/block.h')
-rw-r--r--src/block.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/block.h b/src/block.h
index c1b8d73..5cd2e5d 100644
--- a/src/block.h
+++ b/src/block.h
@@ -57,6 +57,8 @@ struct drive_s {
u8 translation; // type of translation
u16 blksize; // block size
struct chs_s pchs; // Physical CHS
+
+ u8 target, lun; // SCSI target and LUN
};
#define DISK_SECTOR_SIZE 512