summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/sili_pci.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2009-05-13 01:31:58 +0000
committerkrw <krw@openbsd.org>2009-05-13 01:31:58 +0000
commit6ab0bb66ea3340da5deebd6f15931db6f09bb9eb (patch)
treebc8501beb1d68dfee6ca62e95213e321cc2a9031 /sys/dev/pci/sili_pci.c
parentinitialize d_npartitions to MAXPARTITIONS always; ok krw (diff)
downloadwireguard-openbsd-6ab0bb66ea3340da5deebd6f15931db6f09bb9eb.tar.xz
wireguard-openbsd-6ab0bb66ea3340da5deebd6f15931db6f09bb9eb.zip
Set D_VENDOR when spoofing a label on archs that use D_VENDOR when
reading the native disklabel. This ensures cylinder alignment. Fix disklabel to do cylinder alignment arithmetic correctly in -A mode. Worked by accident before, since the code was protected by D_VENDOR, which wasn't being set. ok deraadt@
Diffstat (limited to 'sys/dev/pci/sili_pci.c')
0 files changed, 0 insertions, 0 deletions