Age | Commit message (Collapse) | Author |
|
ok deraadt
|
|
|
|
on old world macs as the external SCSI controller. Still a work in
progress, it probes the SCSI bus correctly but attempts to access device
meet with limited sucess.
|
|
domain number such that we can distinguish between busses with the same bus
number that are behind different host bridges. Domains can be accessed by
using different device nodes.
ok deraadt@
|
|
register offsets, loose the file meshreg.h.
ok dlg@
|
|
adding additional IP address or re-running dhclient by only causing an
interface init if the interface is not already running. As well as some
cosmetics.
from brad@.
Loose the ether_cmp function of dubious optimizational value simply
use bcmp.
Revert the ordering hack, don't execute instruction eieio directly in
mc_dmaintr, makes no difference in triggering the uvm_fault bug, the
problem lies elsewhere.
Fix some indentation related to the DBDMA macros.
Tested on Power Macintosh 9600MP and 9500MP by myself.
|
|
errors to userland: make all cpu_setperf functions return void.
Tested by many, ok gwk@
|
|
mesh_attach().
ok dlg@
|
|
useless to not do so.
|
|
pointless without these two.
ok martin@, deraadt@ durring h2k6
|
|
on old world macppc machines, if the compat property of the device is
bandit skip the pci_addr_fixup() call. This acomplishes what the changes in
rev 1.33 that were reverted attempted to do without breaking currently
supported machines. A positive side effect to this change is also working
PCI cards as well as onboard devices.
ok drahn@
|
|
ofwboot including loosing some meanigless defines and repurposing
XCOFF_GLUE to my own ends. These changes make it possible to boot the
OpenBSD kernel on at least the Power Macintosh 9500 and 9600. No binary
change in stripped ofwboot.
ok drahn@, martin@
|
|
driver to be able to tell how many wscons screens to attach to it,
instead of WSDISPLAY_DEFAULTSCREENS which is a global setting.
|
|
ok miod@ marco@ deraadt@
|
|
confuse people.
|
|
perserve the illusion of a much finer granularity of performance control.
ok kettenis@
|
|
ok sometime ago dlg@
|
|
ok deraadt
|
|
ok brad@
|
|
ok drahn@, brad@
|
|
iso_disklabelspoof() and udf_disklabelspoof(). Use (msg &&
iso_disklabelspoof()) instead. Makes more arch's textually consistant.
No functional change.
|
|
extended partition except on alpha, hppa, hppa64 and mips64. So don't
spoof extended partitions as 'a' and try to read a disklabel from
them. Make all archs consistant.
When we can boot from extended partitions we can change to reading and
writing disklabels from them.
This means the first OpenBSD ('A6') extended partition will now be
ignored during spoofing, just as subsequent ones have always been.
Feedback from tom@, weingart@ and deraadt@.
|
|
unfourtunately breaks some machines found the hard way by xsa@ and
mbalmer@.
ok mbalmer@
|
|
Alter range calculation to handle bandits dual non contiguous PCI
memory spaces. Finally fix a bug whereby if the "AAPL,Interrupts" property
is defined the variable intr isn't assigned a value and garbage may be
written to the PCI interrupt register.
tested by jolan, pedro, drahn and myself, and in snaps for a week.
ok drahn, deraadt
|
|
partitions with 0 in the length field we don't need to test for
and skip partitions that are all zeros. Eliminating that code
allows elimination of a local pointer.
"0 length partitions are definately dead" deraadt@
|
|
De-register. Move declaration to top of function for DOS MBR
processing. Indent nit in macppc.
No functional change.
|
|
than lp->d_partitions[8+n++]. All other cases already use the pointer.
No functional change.
|
|
"The dosparts member of cpu_disklabel was not used for any persistant
data. Eliminate it, and just use the data being read in while
processing MBR and EBR records.
Should be no functional change.
ok weingart@ deraadt@"
|
|
|
|
some architectures (kaboom); that will be fixed in the next iteration
hopefully!
|
|
data. Eliminate it, and just use the data being read in while
processing MBR and EBR records.
Should be no functional change.
ok weingart@ deraadt@
|
|
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@
|
|
|