Age | Commit message (Collapse) | Author |
|
512) bytes; ffs is inextricably tied to using b_blkno and disklabel
always uses sectorsize units.
Thus use DEV_BSIZE units for all fields describing ffs filesystems
and convert to/from sectors where required. This enables the creation
and use of ffs filesystems on non-512 byte sectorsize devices.
This diff allows i386 and sgi (the two test platforms) to find
disklabels that are not on a sectorsize boundary. Same change to
further archs coming.
This is a no-op on 512-byte sectorsize devices.
This work triggered by jsing@'s need to create ffs filesystems on
sgi cdroms so we can create cdrom install media for sgi.
sgi testing by jsing@
ok jsing@ pedro@ "looks sane" beck@ weingart@
|
|
|
|
declaring another.
ok miod@
|
|
|
|
endianness conversion on pci bridges.
ok deraadt@ jsing@
|
|
developer documentation some time ago.
|
|
|
|
|
|
ok marco@ no objection miod@ need this for regress djm@ no objection krw@
|
|
ok jsing@
|
|
ok jsing@
|
|
restrict the memory allocation range in _dmamem_alloc().
|
|
ok deraadt@
|
|
ok deraadt@
|
|
Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.
OK deraadt@
|
|
rely on this very soon.
|
|
shortly.
OK todd@
|
|
ok thib beck art
|
|
file copies to nfsv2 causes the system to eventually peg the console.
On the console ^T indicates that the load is increasing rapidly, ddb
indicates many calls to getbuf, there is some very slow nfs traffic
making none (or extremely slow) progress. Eventually some machines
seize up entirely.
|
|
biowait() reads that do *not* come from the buffer cache - we use the
B_RAW flag to identify these at art's suggestion - since it makes sense
and the flag was not being used. this just flags all these buffers with
B_RAW - biodone already ignores returned buffers marked B_RAW.
ok art@
|
|
|
|
than rolling our own load functions.
tested jasper@, feedback and ok miod@
|
|
glass console set comconsaddr to zero so we don't switch to serial when
com* attach.
spotted by jasper@, ok miod@
|
|
sgi.
|
|
contiguous 64MB DIMMs in a single 128MB one) are not reported as memory at
offset zero, but actually as duplicates of the first entry (which always
matches real memory).
If the DIMMs are set up in decreasing sizes, as recommanded by SGI, the
first entry will be configured at offset zero, so the existing code would
run fine.
If, however, you order your DIMMs in a different order, the first entry
might not be at offset zero, so the kernel will mess up its memory
information, which will cause random effects from simply misreported memory
sizes, to the inability to boot.
Fix this by strengthening the check for an empty bank.
Problem reported by Jason Bergstrom (bergie, bergie dot net), analysis
and fix by me.
|
|
tested by maja@
|
|
|
|
If it exists assume that the boot loader has provided a pointer to the end
of the symbol table. If it does not exist fall back to the previous
behaviour and expect that pointers to the symbol table have been provided
directly after the kernel.
ok miod@
|
|
ok dlg@
|
|
ok dlg@
|
|
Specify the serial configuration from within the MD code, rather than
passing things via macros. This will allow other platforms to more readily
change the serial console configuration.
Committing this so it actually gets tested.
ok dlg@
|
|
instead of 8-bit mono mulaw @ 8kHz.
this is just the infrastructure; no drivers are specifying a default
yet.
ok ratchov@, deanna@
|
|
|
|
|
|
|
|
bpf(4) are different enough so that the split makes sense -- this is necessary
to make bpf(4) cloneable.
requested deraadt@, OK thib@
|
|
EEPROM, with knowledge of how SGI formats their contents. They are needed
by IOC to figure out the Ethernet address of its Ethernet subdevice (yes,
verily).
|
|
written). Joint work with jsing@
|
|
missing a driver for the ethernet part, and interrupt handling is not written
yet.
|
|
|
|
HUB driver (for IP27) is a stub, and interrupt support is a shoot in the dark
and will need some serious debugging until it is sane, but I want to reduce
the weight of these diffs first.
Based on a lot of tinkering and experiments, as well as knowledge extracted
from the Linux source code.
|
|
Linux source code.
|
|
|
|
and a time-of-day chip (wherever it gets found).
|
|
systems, switch to the PHYS_TO_UNCACHED macro to compute proper addresses.
Not really necessary for the O2 which does not implement spaces, but can't
hurt either.
|
|
own file. While there, more dead beef removal in struct sys_rec.
|
|
|
|
a real physical address in the single-segment short-circuit code.
|
|
|
|
|