Commit Graph

244 Commits

Author SHA1 Message Date
hubertf 673730506c Add support for reading cloop2 compressed filesystem image,
enable by putting VND_COMPRESSION into kernel config file.
Written by Cliff Wright, polished up slightly by me.
2005-07-17 00:08:27 +00:00
he bc29f36ac6 The new function name is (for now, I gather) config_found_sm_loc(),
and not config_found_sm().
2005-07-15 23:10:36 +00:00
tron 04b9c3437f Add (commented out) IPSEC_NAT_T option. 2005-07-07 17:05:46 +00:00
drochner e224b50008 some autoconf cleanup fallout, leftover of last week, mostly from
Havard Eidnes
2005-07-04 15:18:17 +00:00
drochner b081eee072 convert remaining autoconf bus "submatch" functions to use the new
signature (passing locators), and remove some which obviously don't
serve any purpose
(untested, sorry)
2005-06-28 18:29:58 +00:00
rpaulo 64fd052c74 Add file-system PTYFS (commented out) so that people know its existence.
Ok'ed by Christos Zoulas and Hubert Feyrer.
2005-06-25 12:05:15 +00:00
junyoung 17670568fe Use FS_OPS() macro. 2005-06-23 19:44:00 +00:00
atatat df13e3579e Change the rest of the sysctl subsystem to use const consistently.
The __UNCONST macro is now used only where necessary and the RW macros
are gone.  Most of the changes here are consumers of the
sysctl_createv(9) interface that now takes a pair of const pointers
which used not to be.
2005-06-20 02:49:18 +00:00
dyoung a37289db57 Make disklabel(8) and fdisk(8) into "host tools " last step: build
and install ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-disklabel,
${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-fdisk by "reaching over" to
the sources in ${NETBSDSRCDIR}/sbin/{disklabel fdisk}/.

To avoid clashes with a build-host's header files, especially on
*BSD, the host-tools versions of fdisk and disklabel search for
#includes such as disklabel.h, disklabel_acorn.h, disklabel_gpt.h,
and bootinfo.h in a new #includes namespace, nbinclude/.  That is,
they #include <nbinclude/sys/disklabel.h>, <nbinclude/machine/disklabel.h>,
<nbinclude/sparc64/disklabel.h>, instead of <sys/disklabel.h> and
such.  I have also updated the system headers to #include from
nbinclude/-space when HAVE_NBTOOL_CONFIG_H is #defined.
2005-06-12 19:46:15 +00:00
tsutsui 4e54a2cc7c - Rename options NEW_BUFQ_STRATEGY -> options BUFQ_READPRIO.
(still commented out)
- Add (also commented out) options BUFQ_PRIOCSCAN.

Suggested by perry and soda on tech-kern.
Please refer options(4) for details for these options.
2005-06-09 14:43:29 +00:00
skrll 00b45e0cff When the PDC_TLB_INFO call fails default to an HPT size of PAGE_SIZE.
My 715/50 can now boot.

Clean patch from Chuck Silvers.
2005-06-09 07:18:17 +00:00
chs 47a4c9b6ff adapt to const changes. 2005-06-03 15:21:35 +00:00
tron a97eb895f6 Remove attachment for the piixide(4) driver from all non-x86 kernel
configurations because Intel IDE disk controllers only exist as part
of Intel chipsets for x86 systems.
2005-05-31 22:23:52 +00:00
chs b884f8c664 adapt to const changes. 2005-05-31 16:13:31 +00:00
chs 34945e7b56 adapt to const changes.
replace local b_cylin alias with the usual b_cylinder.
2005-05-31 16:13:09 +00:00
christos f6b4c20f18 s/GENASSYM/GENASSYM_CONF/ so we can use "GENASSYM" as the program name. 2005-05-31 04:03:08 +00:00
chs 5c867a1927 wrap the declaration of hppa_cpu_info in #ifdef _KERNEL. 2005-05-30 17:15:29 +00:00
skrll cbf1ae8ee2 Do not make the links as part of the obj, clean and cleandir rules. 2005-05-22 08:22:28 +00:00
chs 92a6915f63 switch to counting interrupts via evcnts. 2005-05-21 23:21:15 +00:00
chs 7c4e58b538 in softintr_init(), malloc the struct device instead of using the stack
since the evcnt stuff will use the dv_xname field later,
2005-05-21 23:20:33 +00:00
chs ae0752d6b0 add md_root.c for the installation ramdisk. 2005-05-21 08:59:18 +00:00
chs b25ecfbe53 only lvalues can be incremented. found by gcc4. 2005-05-20 15:09:45 +00:00
chs 1c2ca83340 add a ramdisk and LIF image for sysinst-based installation. 2005-05-18 14:04:26 +00:00
chs 5fefa18bb9 loading the kernel from disk currently causes the PDC_COPROC call to fail,
so work around this for now by assuming that an FPU is present in this case.
2005-05-11 02:59:49 +00:00
jdolecek 4d515665c5 assign major for nsmb(4) 2005-05-10 00:02:35 +00:00
chs b797340b41 one more revision that uses the pagezero info. 2005-05-07 16:57:33 +00:00
chs 322e1ae000 define pci_intr_evcnt() as NULL for now so that more drivers can be built. 2005-05-07 15:09:04 +00:00
chs c4af7cdeea various fixes / cleanups:
- turn on some BTLB printfs
 - some initial bits of PCX-T support
 - simplify cpu_reboot()
 - in setregs(), flush the FPU before accessing the PCB copy.
2005-05-01 20:40:02 +00:00
chs 6bfb915818 there is no 1.6 hp700 release to be compatible with.
leave 2.0 compat in for now.
2005-05-01 20:22:02 +00:00
chs 2cb0f8ab7c regen 2005-05-01 19:03:39 +00:00
chs 1c6c3c528a fix various entries. 2005-05-01 19:02:59 +00:00
chs ef2990d9c7 align the unwind section on an 8-byte boundary. 2005-05-01 19:01:48 +00:00
chs 3f4bf288f8 fix a comment. 2005-05-01 19:00:29 +00:00
chs fc4670f4b3 add some definitions for MP support.
more de-__P.  remove some other leftovers.  clean up kvtop().
2005-05-01 18:59:27 +00:00
chs 1ef96a6714 fix .BEGIN lossage. 2005-05-01 18:41:18 +00:00
lukem 3fd1802e62 Move the MI printing of `copyright' to the MD cpu_startup() code
where the printing of `version' is already performed.
This has the benefit of allowing the copyright to be available
via dmesg(8) on platforms which need the `msgbuf' to be setup
in cpu_startup() before printed output is remembered.
2005-04-25 15:02:02 +00:00
yamt 6b2d8b66a4 merge yamt-km branch.
- don't use managed mappings/backing objects for wired memory allocations.
  save some resources like pv_entry.  also fix (most of) PR/27030.
- simplify kernel memory management API.
- simplify pmap bootstrap of some ports.
- some related cleanups.
2005-04-01 11:59:21 +00:00
matt a6db24a485 Add a dm_maxsegsz public member to bus_dmamap_t. This allows a user of the API
to select the maximum segment size for each bus_dmamap_load (up to the maxsegsz
supplied to bus_dmamap_create).  dm_maxsegsz is reset to the value supplied to
bus_dmamap_create when the dmamap is unloaded.
2005-03-09 19:04:43 +00:00
dsl 4822cbaae2 Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT 2005-02-18 21:05:50 +00:00
tsutsui 9411ae0318 and add options COMPAT_20. 2005-02-17 14:44:50 +00:00
tsutsui 04c0426781 Add options COMPAT_16. 2005-02-17 14:44:06 +00:00
dsl 05e2f6ebdb Add 'option FFS_SNAPSHOT' to most of the config files.
Commented out for kernels that appear to hace space constraints.
2005-02-11 08:25:53 +00:00
jkunz 5d47a0a676 Disable use of BTLB mappings as BTLB handling is broken. 2005-01-31 18:22:24 +00:00
jkunz e4bed1ee79 Implement powerd(8) interface via sysmon(9) for power switch, controllable by sysctl(8). 2005-01-31 18:17:35 +00:00
hannken d5fbb6936f Add file system snapshots to kernel configs.
- Ffs internal snapshots get compiled in unconditionally.

- File system snapshot device fss(4) added to all kernel configs that
  have a disk.  Device is commented out on all non-GENERIC kernels.

Reviewed by: Jason Thorpe <thorpej@netbsd.org>
2005-01-31 16:54:32 +00:00
jkunz 3721af6a75 Import struct pdc_power_info from OpenBSD, needed by power switch code. 2005-01-28 17:38:51 +00:00
jkunz 74a2c9190e Implement powerd(8) interface via sysmon(9) for power switch, controllable by sysctl(8). 2005-01-28 17:38:50 +00:00
jkunz 3c88ecfad5 Add two more revisions that use the pagezero info. 2005-01-28 17:38:49 +00:00
jkunz a4d6ea5ca9 Implement powerd(8) interface via sysmon(9) for power switch, controllable by sysctl(8). 2005-01-28 17:38:49 +00:00
jkunz 58332f0318 Enable sti(4) wscons(4) for all machines. 2005-01-28 17:32:15 +00:00