6fb817f5dd
- factor out disksubr.c between sun3, sparc and sparc64. Keep the sun3 groveling code to find a NetBSD disklabel in the first sector (so that it can find a label at the old sun3 LABELOFFSET) as a fallback is not label at LABELOFFSET, or sun label is present. - Fix the sun3 LABELOFFSET (was 64, but the kernel wrote the NetBSD label at 128) - Make next68k disksubr.c always write a next-compatible disklabel. - remove #ifdef __sparc__ hack from disklabel(8), and change it to issue a DIOCWDINFO after writing the disklabel to the raw partition in the -r/-I case (so that the kernel can convert the label if needed). |
||
---|---|---|
.. | ||
bw2.sun3 | ||
cg4.sun3 | ||
DISKLESS | ||
DISKLESS3X | ||
files.sun3 | ||
FOUR_TTYS | ||
GENERIC | ||
GENERIC3X | ||
INSTALL | ||
INSTALL3X | ||
KGDB | ||
KGDB3X | ||
majors.sun3 | ||
Makefile.sun3 | ||
obio.sun3 | ||
obio.sun3x | ||
RAMDISK | ||
RAMDISK3X | ||
std.sun3 | ||
std.sun3x |