summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/stand/loadfile.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-06-20 20:13:42 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-06-20 20:13:42 +0000
commit4f93eac49ec225f6770beaef42c320c99a8b1619 (patch)
tree56dcbd8fb95fe16f77aeebbdc4ef15bb28721b31 /sys/arch/alpha/stand/loadfile.c
parent6766d4ec05d843d13b7654d87957286ec0d69aeb (diff)
These drivers were abusing b_cylinder to store device-specific information
in strategy(), and were reusing it in start(). I first considered introducing a b_rawblkno field in struct buf, as has been done in NetBSD, to stop this abuse. However, it does not cost more to simply move the device-specific ``was-b_cylinder'' computation to the start() routine. Plus we get type fixes (daddr64_t) for free, although this does not really matter for these pedro-sized devices. Thus we do not need to grow struct buf for these devices which really ought to live in your Attic (and my machineroom, of course). hp300 HP-IB tested, vax mfm not, but the logic is the same.
Diffstat (limited to 'sys/arch/alpha/stand/loadfile.c')
0 files changed, 0 insertions, 0 deletions