Commit Graph

24148 Commits

Author SHA1 Message Date
ragge
b43932dec2 If a process is locked into memory with mlockall() (like ntpd is)
pmap_enter() will get called trying to wire an already wired page again
if sysctl() is called. To avoid a panic the "wired" check is moved after
the double-mapping check.
2000-10-31 20:15:09 +00:00
tsubai
b4b571ccb9 Match "chrp,mesh0". 2000-10-31 16:57:07 +00:00
fvdl
69e9b0392f Sync INSTALL with GENERIC and INSTALL_LAPTOP with GENERIC_LAPTOP with
regard to wireless network interfaces and pcic iomem size (i.e.
bump iomem to 0x1000 and enable cnw, awi and ray).
2000-10-31 15:54:50 +00:00
msaitoh
d191cbf210 add interrupt mode into wdog
To use:

	ioctl(fd, SIOWDOGSETMODE, &val)

	val:	WDOGM_RESET	-> reset when counter expired
		WDOGM_INTR	-> print PC when counter expired (new!)

This interface is still under experimental.
2000-10-31 02:04:12 +00:00
msaitoh
ec7e30e271 fix compile problem on SH3 (from Atsushi Noda) 2000-10-31 01:18:02 +00:00
msaitoh
13bed0a344 - fix error handing in getc.
Now we can handle BREAK signal and framing error correctly.

- cleanup.
2000-10-31 01:08:41 +00:00
pk
62dddfec3c Enable sun4 support and VME devices. 2000-10-30 23:23:15 +00:00
aymeric
79041c7a30 add a semicolon to make this compile again 2000-10-30 14:40:33 +00:00
tsubai
8853c17400 Add dmac for spifi. (commented out) 2000-10-30 10:16:31 +00:00
tsubai
123fba3de1 Add spifi SCSI (commented out yet). 2000-10-30 10:14:44 +00:00
tsubai
c6c547497d NEWS5000 internal SCSI driver. 2000-10-30 10:07:35 +00:00
lukem
b14a596beb Add support for booting off RAIDframe RAID1 mirrors. Check the first partition
type in biosdiskopen(), and if it is of type FS_RAID, add 64 to d->b_off.

NOTE: installboot(8) still needs some hacking to DTRT, but at least this way
if you can load "/boot" off another partition (e.g, wd0h), then wd0a can be
of type `RAID' with a raidframe mirror at the start and the kernel
will load OK of wd0a, and with raidctl -A root partitions, it will change
root as well.
2000-10-30 07:30:59 +00:00
thorpej
10203d4eca Change the RNG callout -- don't spin until data is available. If
none is available, just wait until the next clock tick.
2000-10-30 00:26:04 +00:00
eeh
400b7c8ee0 Add pmap_growkernel(). 2000-10-29 23:30:35 +00:00
tsutsui
89c951fa08 Switch to MI md_root.c. Checked by booting INSTALL kernel. 2000-10-29 12:36:35 +00:00
shin
1ddfbf7e96 fix cp0 hazard.
R4000 requires 3 nops between tlbr and dmfc0.
2000-10-29 08:01:29 +00:00
tsutsui
51d748392f Switch to sys/dev/md_root.c. Tested on an INSTALL kernel. 2000-10-29 01:39:19 +00:00
eeh
9746513520 Add bpp and make com match the sparc port. 2000-10-28 23:19:31 +00:00
tsutsui
5013e5d7f2 Enable options SOFTDEP. 2000-10-28 22:42:08 +00:00
tsubai
784da8d158 Use "doze" power-saving mode on 750 and 7400. 2000-10-28 21:57:43 +00:00
garbled
b7c07855f6 make -> ${MAKE} 2000-10-28 15:41:25 +00:00
simonb
bb33bb331d Fix NRND == 0 case (unused variable). 2000-10-28 13:30:35 +00:00
itojun
5bbd7d495e fix busy-wait logic against random number register. (missing semicolon) 2000-10-28 04:58:35 +00:00
enami
31ac87f602 Don't use memory map of no entry. Instead, fallback into old way.
This fixes one of ``can't find end of memory'' panic on startup.
2000-10-28 02:29:35 +00:00
thorpej
3c01d4cbca Add support for sampling the random number generator on
the 810, 815, 820, and 840 chipsets.  From OpenBSD, modified
for NetBSD by me.
2000-10-27 22:49:21 +00:00
thorpej
7f59704e6c Support the second PCI bus on SeverWorks chipsets. From OpenBSD. 2000-10-27 17:55:18 +00:00
thorpej
2644e830b7 BIOS BUG WORKAROUND! The 82443BX datasheet indicates that the only legal
setting for the "Idle/Pipeline DRAM Leadoff Timing (IPLDT)" parameter
(bits 9:8) is 01.  Unfortunately, some BIOSs do not set these bits properly.

Based on a hint from OpenBSD.
2000-10-27 17:47:44 +00:00
tsutsui
4774402d68 Use pool(9) for pmap structures. 2000-10-27 13:28:54 +00:00
sato
b674d1f521 when apm version is not 1.0,
use APM_BATT_FLAG_XXX type value instead of APM_BATT_XXX type value.
2000-10-27 08:19:37 +00:00
sato
e13d487465 - A/D converter port macro: PIUAB(n) 2000-10-27 08:13:54 +00:00
sato
cbebb75a68 - add VPRINTF().
- show pwctl giu bit for verbose.
2000-10-27 08:12:18 +00:00
sato
5cf5562de3 probe message use dv_xname. 2000-10-27 08:10:32 +00:00
sato
a15e59c0eb enlarge ITE8181_LCD_ON_SELF_DELAY. 2000-10-27 08:09:15 +00:00
sato
720875ffea correct comment. 2000-10-27 08:08:08 +00:00
sato
786287aac1 - add new event type: CONFIG_HOOK_SET/GET.
- add some new id in CONFIG_HOOK_PMEVENT.
2000-10-27 08:04:49 +00:00
abs
1ee75cc4e0 Add:
makeoptions        COPTS="-O2 -march=strongarm -mtune=strongarm"
2000-10-26 18:33:02 +00:00
abs
1bb1a44a90 Add (for StrongARM CPUs) commented out
makeoptions     COPTS="-O2 -march=armv3m -mtune=strongarm"
2000-10-26 14:15:33 +00:00
thorpej
d05f0929dc We only support Intel PMCs for now, so don't try and read them
on non-Intel CPUs.
2000-10-24 22:03:36 +00:00
tsubai
251bc81879 Change ofwboot entry address to 0x600000. 2000-10-24 12:18:33 +00:00
castor
2a04de9c03 In mips3_TBIS(va) do not invalidate the other half of the JTLB entry if
the page is wired down.  Flushing both halves of a wired TLB entry resulted
in hangs when in programs called for and released kernel memory
soon after being invoked.  In particular, we see this when single-stepping
a process using GDB.

It would be better if we could arrange to use both halves of the TLB
entry for the PCB, but for some reason we frequently end up with things
on an odd page boundary.
2000-10-24 03:23:19 +00:00
tsubai
756f954ef1 Fix Conner CFP1080 problem (pr 7612) and add debugging messages. 2000-10-23 21:04:27 +00:00
ad
c5e192cd50 Add `major' for lsu. 2000-10-23 11:32:30 +00:00
fvdl
dfcc2820fa Add rtk at pci, some laptops have it.
Add cardbus network cards to INSTALL_LAPTOP (oops, they're largely
the point of INSTALL_LAPTOP..).

From Noriyuki Soda.
2000-10-23 09:31:49 +00:00
sato
b394074d8c - change constant to static variable for
ite8181 access delay parameter after lcd power on.
- ITE8181_WINCE_CMAP.
  use presetting cmap by pbsdboot.exe(temporally)
2000-10-23 09:03:31 +00:00
jdc
9f329676c9 Correct `off by one' error when testing against size of disk. 2000-10-23 06:56:00 +00:00
jeffs
ade1f640e1 Go to to splhigh() in trap when panicing before calling debugger as break
handling does.
2000-10-23 05:49:05 +00:00
pk
bee12f6a67 Restore revision 1.102.
I hope it sticks this time..
2000-10-22 21:28:27 +00:00
uch
b84e48b8bd forgot to set HPCFB_ACCESS_REVERSE. 2000-10-22 12:49:27 +00:00
uch
30373f3eb1 reorder color map adequately. 2000-10-22 12:44:16 +00:00
uch
fc9212e594 new I/O modules framework for TX based system. 2000-10-22 10:42:31 +00:00