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

Provenance
mavAuthored on
Parents
rS354998: amd: add deprecation warning on program startup
Branches
Unknown
Tags
Unknown