rafal
929d489997
In _bus_dmamap_sync, only invalidate as much data as there is in the current
...
segment rather than invalidating the total map length for each segment.
2002-02-27 01:51:48 +00:00
christos
6b030ee036
- define other DEV_ constants that the local port uses.
...
- delete cdev_decl(mm) since <sys/conf.h> does it.
2002-02-27 01:19:03 +00:00
simonb
d9ab16ba2f
Purge CLSIZE, CLSIZELOG2 and MCLOFSET.
...
Be consistant in the way that MSIZE, MCLSHIFT, MCLBYTES and NMBCLUSTERS
are defined.
Remove old VM constants from cesfic port.
Bump MSIZE to 256 on mipsco (the only one that wasn't already 256).
2002-02-26 15:13:19 +00:00
wiz
37e458fa45
strategy should have an 'r'. Inspired by similar change in OpenBSD.
2002-02-19 17:09:40 +00:00
wiz
66df0333a1
s/seperate/separate/
2002-02-11 10:44:38 +00:00
lukem
03bd9dc73f
cosmetic reorder of #defines to match other ports
2002-01-28 23:09:54 +00:00
jdolecek
6d265bd894
add options PIPE_SOCKETPAIR to individual kernel configs
...
the option is commented out on everything but kernels I was able
to recognize as INSTALL-like or ones for small memory machines
2002-01-27 13:23:08 +00:00
rafal
5e26468b29
Less odious hack for powerfail interrupt; even thought it's still odious,
...
at least now we only attempt to install the handler once.
2002-01-25 04:54:31 +00:00
soren
70e85fb54b
Remove __HAVE_GENERIC_SOFT_INTERRUPTS #ifdef.
2002-01-14 19:08:35 +00:00
pooka
2bce33ba09
slight last-minute typo here
2002-01-14 16:26:44 +00:00
pooka
53aa4de53f
make RTC year IRIX semantics adjustments a macro
2002-01-14 16:23:27 +00:00
manu
5f90ae55b5
Added clockctl
2002-01-12 14:52:40 +00:00
wdk
c09d9a0d03
We now need ufs/ufs/dinode.h for ufs/ffs/fs.h
...
XXX: All this work for BBSIZE and SBSIZE. Sigh.
Add missing $NetBSD$ Header to file
2002-01-10 06:56:18 +00:00
thorpej
e091c2afd1
Add -Dsgimips to CPPFLAGS.
2001-12-20 20:30:59 +00:00
tv
8e6f7afb5b
MKfoo=no -> NOfoo
2001-12-12 01:48:43 +00:00
atatat
b45c51b1fc
Roll the rest of the ports over to the new MI kernel build machinery.
...
Any problems reported by testers have been fixed, and massive
cross-compiling of kernels has shown that any problems that remain
with actually building kernels are not related to this.
2001-12-09 05:00:40 +00:00
manu
55c08f5ede
Back out the copy of theses files to userland
2001-11-28 20:13:34 +00:00
manu
fa1e4588d9
We need to copy new SVR4 header files to /usr/include/sys...
2001-11-28 12:13:49 +00:00
manu
a268e72f56
Add support for COMPAT_IRIX
2001-11-28 11:56:43 +00:00
lukem
ecb81c3f6d
- convert usage of "defopt" to "defflag" where the relevant option does
...
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups
2001-11-28 10:21:10 +00:00
soren
bf7d9c855e
Adjust for dsclock name change.
2001-11-25 15:26:03 +00:00
soren
07992b8797
Forgot pooka's license header.
2001-11-25 15:13:53 +00:00
soren
45192487a5
O2 RTC attachment, based on code from Antti Kantee.
2001-11-25 15:05:04 +00:00
soren
7e84b9e1db
Add wscons devices.
2001-11-22 04:50:04 +00:00
rafal
85cae1f6d1
If we already have a boot device set, don't reset the slot/unit/partition.
...
Now my Challenge S boots multiuser with the new bootloader without stopping
to ask for boot/root devices.
2001-11-22 03:15:35 +00:00
soren
6c3e025b46
Nuke cleandir target override.
2001-11-22 02:18:24 +00:00
soren
6e9ab4848f
Respect OSLoadPartition even if it doesn't come before SystemPartition in argv.
...
Add a few comments about the above.
2001-11-22 02:06:32 +00:00
soren
b63ced481c
Note kernel load adress change.
2001-11-22 01:30:03 +00:00
soren
60ae71115a
Change the kernel load address offset from 512K to 420K, the Irix
...
convention for debugging kernels.
2001-11-22 01:11:51 +00:00
thorpej
b2fe046c8c
Move the kernel forward in memory, starting it 512K in from the
...
bottom of RAM. The bootloader is now loaded 2K in from the bottom
of RAM, so we need to make space for it.
2001-11-22 00:59:23 +00:00
thorpej
aabfa72384
- Clean up the bootloader Makefiles somewhat.
...
- Build an ECOFF version of the bootloader as "boot". As a temporary
measure (due to a bug in libbfd which has not yet been fixed, but
for which a work-around exists as a patch), install and ELF version
of the bootload as well as "boot.elf". "boot.elf" will go away once
the toolchain issue is resolved.
2001-11-22 00:58:07 +00:00
thorpej
3975cecee7
- Adjust bootinfo to work sanely in an ARCS world, and pass some
...
info along to the kernel (currently just the symbol table info).
- Don't bother with the startprog dance; we don't need to do anything
special, here, so just call the entry point directly.
- A bunch of random cleanup.
2001-11-21 23:33:17 +00:00
thorpej
38afb59582
- Check for provided bootinfo from the bootloader. If we find it,
...
save off DDB symbol table information.
- Make loading of memory work reliably with the bootloader; for each
candidate memory type from ARCS (which now includes LoadedProgram),
check to see if the kernel is within that chunk, and load the pages
around it if it is.
2001-11-21 23:27:20 +00:00
thorpej
741c7a2997
sbic -> wd33c93, in preparation for the core driver going into
...
sys/dev/ic.
2001-11-21 23:22:25 +00:00
soren
482d429ddc
Install loader in /usr/mdec.
2001-11-21 22:14:51 +00:00
soren
57bd30a92c
s/pmax/sgimips/ in comments.
2001-11-21 22:13:55 +00:00
thorpej
e2397b7f93
Change symtab info to unsigned longs.
2001-11-21 20:31:49 +00:00
thorpej
4b1d2d4ce9
Add bootinfo stuff for NetBSD/sgimips. Changes to kernel and bootloader
...
forthcoming.
2001-11-21 20:29:31 +00:00
thorpej
4e63f44f6c
Initial cut at a bootloader for NetBSD/sgimips, by Michael Hitch.
2001-11-21 19:09:06 +00:00
thorpej
bcc50e9703
Use strncmp() when looking up volume files.
2001-11-20 23:09:45 +00:00
thorpej
c8f26da0bd
- General code cleanup (and enable warnings).
...
- It's perfectly legal to have an 8 byte volume filename; the trailing
NUL is not required in this case.
- Default the partition type to "4.2BSD", not "EFS".
2001-11-20 23:07:16 +00:00
rafal
52f4b0490c
Stylistic fix to last.
2001-11-20 21:21:03 +00:00
soren
3f54e2c74f
Add stand to SUBDIR.
2001-11-20 18:37:00 +00:00
soren
0f71151d6e
stand Makefile.
2001-11-20 18:36:31 +00:00
soren
1e6da897d3
Michael Hitch's volume header tool.
2001-11-20 18:35:22 +00:00
soren
5ecc88dc2f
Correct previous, pointed out by mhitch:
...
makebootdev() sets not booted_device but booted_protocol, so test for that.
2001-11-20 18:06:40 +00:00
thorpej
f934d91c74
The 2nd SCSI controller is now supported; remove it from the TODO list.
2001-11-20 17:38:31 +00:00
rafal
6c04d91bae
Post Jason's autoconfig cleanup, the DMA tags are actually passed in from
...
the parent, so we don't need to look at the innards of bus_dma anymore.
Also, remove the Todo item pertaining to autoconfig cleanup from the list
in the comments.
2001-11-20 16:10:49 +00:00
rafal
c4596a56c0
Fix up Jason's last cleanup (thanks for that, btw!!)... Don't attach
...
hpc child devices that don't match our systype. Attempting to attach
a wdsc1 on my Challenge S locks the box hard.
2001-11-20 16:09:00 +00:00
lukem
0fa231134c
- replace "defopt" with "defparam" for options which must take a value,
...
as config(8) will warn for value-less defparam options
- minor whitespace/formatting cleanup
- consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
2001-11-20 14:34:18 +00:00