Use the blockif CHS routine to create fake CHS values,
authorPeter Grehan <grehan@FreeBSD.org>
Tue, 15 Jul 2014 00:27:08 +0000 (00:27 +0000)
committerPeter Grehan <grehan@FreeBSD.org>
Tue, 15 Jul 2014 00:27:08 +0000 (00:27 +0000)
commitad15140ee7f4ec4908ca3a9a6d9ce618981b03eb
treedd5f0a3a4f8b6ff4f4455de616c99d9583bd0710
parentc4813fadf1a19da97ccd0e6f0250611e3ba4211f
Use the blockif CHS routine to create fake CHS values,
and then populate them in the identity page.

This fixes a divide-by-zero error at probe time with NetBSD.

MFC after: 1 week.
usr.sbin/bhyve/pci_ahci.c