Commit Graph

1314 Commits

Author SHA1 Message Date
scw
c4dbe1a160 Allow MD code to provide functions for reading/writing NVRAM/RTC
locations. If passed NULL, the old behaviour using bus_space_{read,write}_1()
is used. Otherwise, all access to the chip goes via the MD functions.

This is necessary for mvmeppc boards where the mk48txx NVRAM/RTC is not
directly addressable.
2002-02-23 17:18:54 +00:00
eeh
93ead6c5e0 Fix pr sparc64/15633: datafault at tlp_start causes panic
Also clean up some additional 32-bit kernel printf issues.
2002-02-21 02:42:27 +00:00
wiz
37e458fa45 strategy should have an 'r'. Inspired by similar change in OpenBSD. 2002-02-19 17:09:40 +00:00
simonb
2d8577fb83 Clean up some rampant code duplication wrt ieee number handling:
- Add alignment-safe double and float unions.
 - Use the above for the __infinity and __nan constants on all
   architectures that use the standard ieee754 representation of
   those constants.
 - Add a single copy of various ieee754 math functions (frexp, isinf,
   isnan, ldexp and modf) that had numerous duplicates among the
   arch-specific directories.
 - Use the above functions on all architectures where the generic C
   versions where used.  Architectures that had local assembly
   routines are untouched (for those functions only).
2002-02-19 13:08:12 +00:00
chs
b744097a5f allow writing to write-only mappings. fixes PR 3493. 2002-02-14 07:08:02 +00:00
martin
1b4393c5db Cast/format fix to make this build on 32bit kernels. 2002-02-12 20:50:47 +00:00
wiz
3cc2ef9997 Update description for icsphy. 2002-02-10 17:36:52 +00:00
mrg
bf06edf092 give splode 8 raid devices 2002-02-10 15:49:39 +00:00
eeh
48198ba7ca Fix microsecond calculation in microtime. 2002-02-09 05:01:39 +00:00
eeh
c068b28bac Increase NMBCLUSTERS. 2002-02-09 04:58:53 +00:00
eeh
c42bdc6b14 Correctly take into account the satck bias in CLKF_INTR(). 2002-02-09 04:50:13 +00:00
eeh
424177d21b Provide more info in psycho_ue. 2002-02-08 20:04:14 +00:00
eeh
bfba946595 Handle the case where a DMA operation wraps from the end of a page to the
beginning of the same page properly by double-mapping that page.
2002-02-08 20:03:45 +00:00
eeh
4daea20c93 Move a brace so this will compile w/o DEBUG. 2002-02-08 00:47:04 +00:00
eeh
d3d818a6f4 Fix register allocation in microtime(). 2002-02-07 22:23:01 +00:00
eeh
6390142ec0 Make bus_space_barrier() an inline instead of a function vector. 2002-02-07 21:36:54 +00:00
eeh
92ef550481 Overhaul iommu_dvmamap_load_raw(). 2002-02-07 21:35:26 +00:00
eeh
e16b1e8bf6 Add a sound driver for Blade 100s (which doesn't seem to do much. All I
get is the sound of silecne.)
2002-02-05 01:55:49 +00:00
eeh
f0684202f9 Shift the UPAID in the correct direction. 2002-01-29 01:15:50 +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
mrg
81cfc30e85 turn on BLINK & bridge 2002-01-22 01:23:18 +00:00
jdolecek
ff8305bbac Switch to MI dev/md_root.c for archs which don't have any special
memory disk hooks (i.e. everything except atari).
2002-01-21 21:56:57 +00:00
eeh
40f4f638ed More 32-bit cleanup. 2002-01-21 18:50:36 +00:00
mrg
319101532e - reduce INSTALL size by 2.5MB. 2002-01-21 13:47:25 +00:00
mrg
61d679b8c1 convert sparc64 to use `makefs' rather than vnd/newfs/mount. this severely
cleans up a lot of the processing here.


XXX: note that the sparc64 "INSTALL" kernel's file system has a copy of
GENERIC in /netbsd.  fix this shortly.
2002-01-20 05:57:10 +00:00
oster
39b858e3bf Add new RF_* options for RAIDframe bits that are no longer built by default.
While we're here, enable RAIDframe (and RAID_AUTOCONFIG) by default for
architectures that I'm comfortable can deal with it being on by default.

Also: bump the number of 'raid' devices from 4 to 8, since 4 seems to
be insufficient in practise.
2002-01-19 18:45:06 +00:00
mrg
194652a3c1 update to reality, even if it still does not quite work. 2002-01-19 14:49:18 +00:00
eeh
85bf931596 Be more tolerant of unaligned stack pointers. 2002-01-17 22:23:47 +00:00
eeh
b60e750cca Enable block insns in bcopy and bzero. 2002-01-17 02:26:37 +00:00
eeh
c2d74dc6cd In bcopy use 32-bit comparisons in 32-bit kernels. 2002-01-16 22:44:48 +00:00
eeh
14dced409e Use correct calculation for the trapframe in softtrap for ILP32. 2002-01-16 18:52:35 +00:00
eeh
9ed29324e3 Fix ILP32 bug. 2002-01-16 18:49:22 +00:00
eeh
59339eac04 Make PHYS_ASI() also recognize little-endian ASIs. 2002-01-14 20:44:30 +00:00
eeh
cc61f43486 Use a more efficient PIC_PROLOG(). 2002-01-14 16:37:36 +00:00
eeh
79cc3b0d73 Set the interrupt retry timer to 0xff. 2002-01-14 16:30:31 +00:00
manu
5f90ae55b5 Added clockctl 2002-01-12 14:52:40 +00:00
eeh
4d28a1937c Trap types should be printed in hex. 2002-01-12 01:07:00 +00:00
briggs
e44b2beeac Add OPIOCFINDDEVICE to match dev/ofw/openfirmio.[ch]. 2002-01-10 20:38:11 +00:00
briggs
03bd9a6a52 In OPIOCNEXTPROP: if we are at the last property, set the buffer length to
0 instead of setting it to an uninitialized value (len).
2002-01-10 16:04:43 +00:00
briggs
8a2ab2e5f8 Use nextsibling() and firstchild() instead of (unset) promvec. 2002-01-10 06:21:53 +00:00
mrg
3f49c27162 clean up 2002-01-03 06:43:23 +00:00
mrg
5d06ed3c94 move sparc specific ioctl handling (fb & openprom) into arch/sparc64. 2002-01-03 02:29:39 +00:00
chs
9451559ef4 pmap_page_protect(VM_PROT_NONE) must remove all mappings in the PV list,
even if they are wired.  we need to be able to remove all mappings to
pages that are being freed due to (eg.) file truncation.
2002-01-02 00:51:33 +00:00
matt
873f33f78e Make the same change to icache/dcache size calculation as was done to ecache.
Fixes PR 12844.
2001-12-31 16:26:10 +00:00
matt
0bc218f05c When determining ecache size, try using ecache-size. if it doesn't exist,
fallback to the old method (ecache-nlines * ecache-linesize).
2001-12-31 07:30:46 +00:00
augustss
dbd7c7b7bc Make uhidev change. 2001-12-30 13:28:13 +00:00
martin
b506d6e135 Add PPPoE to all generic kernels that should be able to use it.
XXX TODO: do this for INSTALL kernels too, add sysinst support and make the
XXX needed binaries available on the ramdisk root fs.
2001-12-28 12:21:52 +00:00
gmcgarry
bdd225baa1 Add a blurb to the top of all GENERIC files. This serves three purposes:
- to clarify some terminology
- to clarify the intention of the GENERIC file
- to cross-reference some useful man pages
2001-12-14 05:34:45 +00:00
petrov
aaee6a1839 initialize all fpu registers and don't panic on user 'privileged action' 2001-12-12 19:14:47 +00:00
thorpej
51535d4bf5 Add support for dumping ELF-cormat core files. 2001-12-09 23:05:56 +00:00