Displaying 1 result from an estimated 1 matches for "scsi_init_dr".
Did you mean:
scsi_init_io
2013 Feb 08
0
Test for GPT MBR code
Attached file I use to test GPT code.
I used qemu 1.2 with seabios with LSI enabled and a patch
diff --git a/src/blockcmd.c b/src/blockcmd.c
index 77c690f..df4fb1e 100644
--- a/src/blockcmd.c
+++ b/src/blockcmd.c
@@ -146,7 +146,7 @@ scsi_init_drive(struct drive_s *drive, const char *s, int prio)
// We do not bother with READ CAPACITY(16) because BIOS does not support
// 64-bit LBA anyway.
drive->blksize = be32_to_cpu(capdata.blksize);
- if (drive->blksize != DISK_SECTOR_SIZE) {
+ if (drive->blksize != DISK_SEC...