Age | Commit message (Collapse) | Author |
|
partition is found. Change error message to 'no OpenBSD partition'.
|
|
disklabel, we shouldn't write the disklabel in such partitions either.
Brings amd64, arm, i386, landisk, macppc, mvmeppc (which roll their
own MBR search in writedisklabel()) into line with alpha, hppa,
hppa64, mips64 (which use readdoslabel() in both reading and writing
the disklabel). If all goes well, soon everyone will be using
readdoslabel().
|
|
|
|
disklabel. Fixes 'double spoofing' of these partitions as both 'a' and
something in the 'i' to 'p' range.
OpenBSD changed its MBR partition type to 'A6' eight years ago. As a
backward compatibility measure NetBSD and FreeBSD MBR partitions were
still spoofed as 'a' partitions when no OpenBSD partition could be
found. This bit of backward compatibility is no longer required.
'we can get rid of it' deraadt@
|
|
mc_dmaintr, its a little bit of voodoo, I dont understand why its necessary
for mace versus the near identical dma isr in if_bm.c, but the system no
longer panics under network load.
|
|
|
|
board old world macintosh systems to macppc. From netbsd, mac68k and
macppc specific tweaks modeled on if_bm.c.
ok brad@
|
|
don't include dkbad.h when nothing in it is used. Missed
arm/include/disklabel.h first time around.
|
|
a few obsolete and easily replaced disk models. And didn't work anyway
according to Bob, who has tried.
ok beck@
|
|
|
|
|
|
of tweeks. Leave it commented out in GENERIC and files.macppc for now.
ok kettenis@, brad@
|
|
large .text segments, like xmame, to run.
ok drahn
|
|
r1.54 of i386/disksubr.c). The check incorrectly handled extended
partitions. Possibly a symptom of a deeper problem with extended
partition offsets that will be addressed post-4.0.
Problem reported/fix tested by A. Velichinsky, cause diagnosed by
otto@.
ok pedro@ mickey@ miod@ deraadt@
|
|
block past d_secperunit.
Fixes devices where bogus partitions with a starting offset >
d_secperunit were created. e.g. floppies formatted by Caldera DR-DOS.
ok pedro@
|
|
|
|
|
|
them return 'invalid geometry' when d_secpercyl == 0. While there move
the check to a consistant location (after the check of d_secperunit)
and use a consistant idiom (i.e. some readdisklabel()'s have no 'done'
label).
prodded by thib@ after a bad macppc experience. ok deraadt@
|
|
|
|
RAW_PART's p_size. Since d_secperunit is initialized to 0x1fffffff if
not specified there should be no need to use the magic number again.
And if d_secperunit was specified then that value should be used
instead of the magic number.
This was already being done for hp300, luna88k, mac68k, mvme68k,
mvme88k.
Should be a no-op.
|
|
rum(4) has been tested on i386 by niallo@ and me and on sparc64 by
Pablo Mendez Hernandez so I assume it is endian safe and 64bit clean.
|
|
tested on puc@pci by fkr and meself on the cardbus.
still needs a bit more work but generally works.
deraadt@ ok and some input from miod@
|
|
offending code has been taken out and shot. ok deraadt@
|
|
|
|
problem with a new kernel in the next while, please revert this specific
commit and mail the results to kettenis, drahn, and me.
|
|
1. Reserve resources for enabled devices.
2. Reserve resources for disabled devices.
3. Allocate resources.
This way we no longer need to enable/disable devices during fixup.
Based on an earlier patch by drahn@.
ok deraadt@, drahn@
|
|
requested by deraadt@, ok drahn@
|
|
calls in alpha, hppa, hppa64 and mips63 when accessing the two DOS MBR
u_int32_t fields dp_size and dp_start.
No functional change.
|
|
|
|
functional change.
ok deraadt@
|
|
user-controllable device flags are parsed, be sure to rerun config(8) on your
next kernel compile.
|
|
ok reyk@
|
|
|
|
|
|
ca_nreg are large enough for our greedy needs; tweaks and ok kettenis@
|
|
ok kettenis@
|
|
so that things can use it; tested on all architectures; ok kettenis
|
|
also showing up as usb devices, but both devices are tied.
To make things less confusing, do not attach the usb phantoms at all.
|
|
|
|
ok martin@
|
|
|
|
(with symbols) to bsd.gdb, then strips bsd. This diff makes it rename the
file with symbols, and then asks strip to output the stripped version as
bsd. Avoids a potentially lengthy wait when we would otherwise copy the
large (50MB+) kernel with debug symbols.
ok reyk@ ketennis@
|
|
on sparc64 last night. macppc gets it in RAMDISK as well.
|
|
the mac mini's ATI graphics card. The full 0xa0000-0xfffff range is
used here.
|
|
of a function in the MD macppc host bridge code.
ok drahn@
|
|
|
|
|
|
|
|
- Enable dc@CardBus on RAMDISK, already in GENERIC
- Enable wdc@PCMCIA on RAMDISK, already in GENERIC
|
|
PC-style 0xa0000-0xb0000 region, as the nv X driver uses it.
Noticed and patch tested by xsa@ and aanriot@.
|