OSDN Git Service

Relax IDE CHS limits from 16383,16,63 to 65535,16,255
authorMarkus Armbruster <armbru@redhat.com>
Tue, 10 Jul 2012 09:12:55 +0000 (11:12 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 17 Jul 2012 14:48:32 +0000 (16:48 +0200)
commitb51daf003aa42c5c23876739ebd0b64dd2075931
treeb364b9e68aace8684c12ded0b981f8d21156396a
parentaaea3f366eeb8c5c23d821cdd1ce078086fe3764
Relax IDE CHS limits from 16383,16,63 to 65535,16,255

New limits straight from ATA4 6.2 Register delivered data transfer
command sector addressing.

I figure the old sector limit 63 was blindly copied from the BIOS
int 13 limit.  Doesn't apply to the hardware.  No idea where the old
cylinder limit comes from.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/core.c