Commit Graph

1150 Commits

Author SHA1 Message Date
atatat f68a9f1ff2 Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
2004-07-15 03:53:44 +00:00
uch 6eb5e5bec7 set BEV bit before coping kernel.
set next kernel stack pointer.
2004-07-09 16:12:50 +00:00
uch f4dabb523f MI part of kloader moved to dev/kloader.c from arch/hpc/hpc/
dreamcast and playstation2 port are changed to use this.
2004-07-06 13:28:39 +00:00
uch 3a292b1beb MI part of kloader moved to dev/kloader.c from arch/hpc/hpc/
dreamcast and playstation2 port are changed to use this.
2004-07-06 13:09:18 +00:00
uch c5f0120f16 hpcmips independent hpcapm part are moved to sys/dev/hpc/
hpcmips dependend part is separated to sys/arch/hpcmips/hpcapm_machdep.c
2004-07-03 12:54:34 +00:00
uch 8753d093dd add KLOADER 2004-07-02 03:58:58 +00:00
uch 11e21240cc fix iochip configuration.
reported by Alexander Frolkin <avf@ox.compsoc.net>
2004-07-01 17:45:12 +00:00
uch ef8a3ef38e <space>,<tab> clean up. 2004-07-01 17:43:52 +00:00
abs bd8eb3b5ed Add (commented out) ALTQ options to all GENERIC-like files 2004-06-26 07:32:05 +00:00
itojun 596aec9a47 have pf and pflog pseudo-device (commented out).
reviewed by matt, perry, christos
2004-06-22 14:09:49 +00:00
jmc 84fafa3db5 Ignore errors on some rm -rf's for platforms that aren't quite
POSIX compliant
and return errors on r/o source (FreeBSD) for -rf. Fixes PR#25022
2004-06-21 18:20:08 +00:00
christos c22e4ed8cd ptm is now mandatory, depends on pty, and can be disabled with -DNO_DEV_PTM 2004-06-18 15:02:29 +00:00
christos 0399e839cf Add pseudo-device ptm on all the generic flavored kernels. 2004-06-16 15:07:39 +00:00
uch d20b906b5b When serial console boot, don't find power supply port from
config_hook. Windows CE already power on it, and config_hook is not
initialized yet.
2004-06-12 15:39:33 +00:00
tsarna f53a32e6c9 Refactor tpcalib and hpc* ports to make tpcalib MI, as discussed on tech-kern. 2004-05-28 17:52:06 +00:00
kleink 7b3b647647 Factor out W{CHAR,INT}_{MAX,MIN} into their own header file. 2004-05-08 21:51:47 +00:00
kleink 0e5d242328 Update for new pci_devinfo(9) signature. 2004-04-24 15:49:00 +00:00
tv 7d5e6e5d58 Move -mips2 to CPUFLAGS in each kernel config file as suggested by mrg.
This matches the way other ports specify default CPU codegen options.
2004-04-15 14:58:30 +00:00
tv 1649429e19 Allow compilation without MQ200_DEBUG: mq200_clknames is used outside of
debugging-only code.
2004-04-06 16:49:56 +00:00
tv ef3e0a3d4c Allow the codegen option to be specified in the config file rather than
being fixed at -mips2, by setting "makeoptions MIPSFLAGS".
2004-04-06 16:37:58 +00:00
sato bcd3f3fcab enable speaker port 12 for NEC MCCS series.
reported by http://www.jp.netbsd.org/ja/JP/ml/port-hpcmips-ja/200207/msg00078.html.
2004-04-03 16:29:06 +00:00
wiz f1b19ce1db Backout previous -- this is not enough, config needs to be taught
how to reach partitions above h. Noted by Simon Burge, related to
PR 24905.
2004-03-25 15:26:35 +00:00
wiz 3afe1a1d87 Define maxpartitions to the same value as MAXPARTITIONS in disklabel.h.
Addresses PR 24905 by Simon Burge.
2004-03-25 12:38:49 +00:00
jmc 6fe4ead562 Convert to usage of UUDECODE_FILES and standardize on filename extension 2004-03-19 08:07:22 +00:00
bjh21 3d0535f928 Remove needless includes of <dev/pckbc/wskbdmap_mfii.h>. 2004-03-13 17:23:32 +00:00
wiz d20841bb64 Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
jmcneill 8c56c583be The vraiu(4) hardware doesn't provide any interface for volume control.
Added software volume control functionality in vraiu_volume(), called from
vraiu_start(). Can be changed by the mixerctl 'inputs.dac' -- 0 is muted,
255 is the level that the driver previously outputted (quite loud on the
IBM Workpad Z50), and everything else is a smooth transition between the
two. Thanks to toddpw@ for lending me the hardware to test these changes.
2004-02-04 06:43:47 +00:00
wiz a5bf3b3c4c Spell controller with two ls. Inspired by miod@openbsd. 2004-01-04 16:19:43 +00:00
pk 70f20a1217 Replace the traditional buffer memory management -- based on fixed per buffer
virtual memory reservation and a private pool of memory pages -- by a scheme
based on memory pools.

This allows better utilization of memory because buffers can now be allocated
with a granularity finer than the system's native page size (useful for
filesystems with e.g. 1k or 2k fragment sizes).  It also avoids fragmentation
of virtual to physical memory mappings (due to the former fixed virtual
address reservation) resulting in better utilization of MMU resources on some
platforms.  Finally, the scheme is more flexible by allowing run-time decisions
on the amount of memory to be used for buffers.

On the other hand, the effectiveness of the LRU queue for buffer recycling
may be somewhat reduced compared to the traditional method since, due to the
nature of the pool based memory allocation, the actual least recently used
buffer may release its memory to a pool different from the one needed by a
newly allocated buffer. However, this effect will kick in only if the
system is under memory pressure.
2003-12-30 12:33:13 +00:00
shin 755c62af21 initialize sc_epoch and RTC properly when reboot/resume.
Addresses PR/20091.
2003-12-30 03:54:35 +00:00
igy 758273ce95 throw error status when erase command timed out 2003-12-29 12:59:54 +00:00
igy 34a32ca09b using compile option "-G 0" (default) 2003-12-29 12:51:48 +00:00
igy bd3a594116 make sure variables initialized 2003-12-29 12:31:48 +00:00
igy 1a4bd745a6 remove unused functions to make compile 2003-12-29 12:28:14 +00:00
shin cb18d8058e fix indentation. 2003-12-27 07:36:06 +00:00
shin 17435165fa Add MobilePro 880 (MC/R730A), MC/R730 support for USB/"pci".
Addresses PR/23654.
2003-12-27 07:34:21 +00:00
shin 26ccb9c6d2 Add MC/R700A, MC/R730, and MC/R730A vrc4172pwm flags.
Addresses PR/23653.
2003-12-27 07:29:56 +00:00
shin 1316c9944d Add MobilePro 880 (MC/R730A) to stylus calibration table.
Addresses PR/23652.
2003-12-27 07:28:21 +00:00
takemura a09206fd99 Initialized variables and added error handling in mq200_pllparam(). 2003-12-27 05:47:54 +00:00
shin c126403055 suppress false alarm from gcc -Wuninitialized. 2003-12-26 11:13:40 +00:00
shin 0ffac1acf7 initialize variable 'err' properly.
found by gcc -Wuninitialized.
2003-12-26 11:10:08 +00:00
hamajima 14ee57b05b only aceride nedds in L-Router 2003-12-23 08:40:55 +00:00
thorpej 2f2ca9e66b Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).
2003-12-14 01:32:01 +00:00
thorpej 98f7d12017 Split out the Silicon Image SATALink support into its own driver,
"satalink".
2003-12-13 23:13:40 +00:00
sekiya f398c5e022 Remove MIPS3_L2CACHE_ABSENT. 2003-12-13 01:30:50 +00:00
jmc e63a18f899 Initialize clksp as gcc can't figure out that it gets set before the switch 2003-12-12 16:21:35 +00:00
jmc 695a2a2f9f Change reference at bottom from sys/dev/majors to sys/conf/majors to match
reality
2003-12-10 02:04:00 +00:00
keihan 29c72c57f0 netbsd.org -> NetBSD.org
All "netbsd.org" is now gone from src/sys/arch.
2003-12-04 13:05:15 +00:00
keihan 0714799990 www.netbsd.org -> www.NetBSD.org 2003-11-17 10:07:58 +00:00
chs e07f0b9362 eliminate uvm_useracc() in favor of checking the return value of
copyin() or copyout().

uvm_useracc() tells us whether the mapping permissions allow access to
the desired part of an address space, and many callers assume that
this is the same as knowing whether an attempt to access that part of
the address space will succeed.  however, access to user space can
fail for reasons other than insufficient permission, most notably that
paging in any non-resident data can fail due to i/o errors.  most of
the callers of uvm_useracc() make the above incorrect assumption.  the
rest are all misguided optimizations, which optimize for the case
where an operation will fail.  we'd rather optimize for operations
succeeding, in which case we should just attempt the access and handle
failures due to insufficient permissions the same way we handle i/o
errors.  since there appear to be no good uses of uvm_useracc(), we'll
just remove it.
2003-11-13 03:09:28 +00:00