diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2020-01-23 05:46:45 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2020-01-23 05:46:45 +0000 |
commit | f7e21c511e909101e68f46e7e2a0020cba9fafca (patch) | |
tree | 6bb206432db6bb6a6476a2b84c18ab37f95047f3 /sys | |
parent | fe5482eeaa59ca39f49a8dc0d0099318f6d3eb63 (diff) |
we've been using LBA48 for < 137GB drives for 17 years, so perhaps
we can remove the XXX now.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ata/wd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ata/wd.c b/sys/dev/ata/wd.c index eb308fef6ad..a4bc822649b 100644 --- a/sys/dev/ata/wd.c +++ b/sys/dev/ata/wd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wd.c,v 1.126 2019/07/07 10:43:46 kn Exp $ */ +/* $OpenBSD: wd.c,v 1.127 2020/01/23 05:46:44 tedu Exp $ */ /* $NetBSD: wd.c,v 1.193 1999/02/28 17:15:27 explorer Exp $ */ /* @@ -228,7 +228,6 @@ wdattach(struct device *parent, struct device *self, void *aux) printf("%s: %d-sector PIO,", wd->sc_dev.dv_xname, wd->sc_multi); /* use 48-bit LBA if enabled */ - /* XXX: shall we use it if drive capacity < 137Gb? */ if ((wd->sc_params.atap_cmd2_en & ATAPI_CMD2_48AD) != 0) wd->sc_flags |= WDF_LBA48; |