CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2013/09/15 07:44:53
Modified files: sys/dev/ata : wd.c Log message: Make it clearer that sc_wdc_bio.blkno is actuall a disk hardware address by using the DL_BLKTOSEC() and DL_SECTOBLK() defines rather than handrolling the equivalent. Fixes current addition of a 512-byte block value (b_blkno) to a disk hardware address (DL_GETPOFFSET()). Tested on real wd(4) hardware by guenther@.