HomeFreeBSD

Fix off-by-one error in HPA/AMA maximum reporting.

Description

Fix off-by-one error in HPA/AMA maximum reporting.

Before my refactoring the code reported value as maximum number of sectors,
adding one to the maximum sector number returned by respective command.
While this difference is somewhat confusing, restore previous behavior.

MFC after: 3 days

Details

Committed
mavFri, Nov 22, 3:41 PM
Parents
rS354998: amd: add deprecation warning on program startup
Branches
Unknown
Tags
Unknown