thorpej
0b3af10371
Keep track of current power state (resumed, standing by, suspended), and
...
only perform standby/suspend/resume actions if the state actually changes.
Inspired by some similar code in the USB code, pulled into here so that
the workaround isn't needed in every driver.
2000-04-28 04:48:51 +00:00
thorpej
a8b12af644
- When we get an ABOUT_TO_CHANGE event, send an OK message in response
...
so that the docking/undocking process can actually complete.
- Track the current docking state, and report the current state when it
changes.
- Make it possible to enable pnpbios verbosity at run-time.
2000-04-27 16:41:59 +00:00
thorpej
43db473cbb
Clean up the docking-event related message, and make it possible to
...
debug docking events without having to debug the rest of PNPBIOS.
2000-04-26 20:33:46 +00:00
thorpej
23694b5ab3
Glue in uvm_pageidlezero(). While here, improve some panic messages
...
in pmap.c, as requested by Jonathan Stone.
2000-04-24 17:18:16 +00:00
tsarna
da1f2723c4
Addredd port-i386/9897, but differently. Since the effect of resetting
...
the video mode on machines with ancient or no video cards is not clear,
for safety's sake a I created a new biosboot variant, biosboot_resetvideo
that does the call.
Anyway, now I can boot my i-opener without hitting Tab. Thanks Andrew!
2000-04-23 19:57:12 +00:00
thorpej
bfced25d78
Update with reality.
2000-04-23 17:51:21 +00:00
thorpej
d0271b127d
Add PNPBIOS front-end for the PC Floppy Controller driver.
2000-04-23 17:50:00 +00:00
thorpej
0cde36f780
Carve off the ISA configuration bits from the floppy driver. Driver is
...
still ISA-specific, but we can attach ISA instances with different
configuration mechanisms now.
2000-04-23 16:47:45 +00:00
uch
298fbbd162
fix VP3_CFG_INTR_MASK
2000-04-22 15:00:41 +00:00
groo
7c6a2dcd6d
name change; rl -> rtk
2000-04-22 06:56:20 +00:00
thorpej
cf0a940b9f
Add a pnpbios front-end to the pckbc driver. This is a littke wonky
...
yet.. the keyboard controller actually has 2 PNPBIOS nodes (one to
represent the controller I/O resources and the kbd port IRQ, and one
for the aux port IRQ). To cope with this, we're attaching two instances
of the driver and forge on ahead once both nodes have been seen.
If someone has a better way, please feel free to step forward.
2000-04-22 06:41:34 +00:00
thorpej
1842a5ee3a
Allow pnpbios_getirqnum() to return the share type, as well.
2000-04-22 06:38:24 +00:00
thorpej
8c5710a861
- Declare biosbasemem and biosextmem in <machine/cpu.h>, don't extern
...
them everywhere they're used.
- Avoid integer overflow when converting bios{base,ext}mem (in units of
kilobytes) to bytes.
2000-04-21 18:37:20 +00:00
explorer
79f12736c0
Add (commented out) addcom0 and com* at addcom?
2000-04-21 17:52:06 +00:00
haya
784977f319
Changes the name of RealTek driver. The new name is `rtk'. This used
...
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.
This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.
2000-04-19 08:44:31 +00:00
itojun
3be41bae18
add stf pseudo interface (commented out due to possible security risks)
2000-04-19 06:50:27 +00:00
drochner
13c9f8d398
implement bus_space_vaddr()
2000-04-17 17:24:48 +00:00
tron
5bfc315184
Fix typo in comment.
2000-04-17 07:57:21 +00:00
thorpej
2f7f997512
Oops, forgot RCS ID.
2000-04-16 19:46:54 +00:00
thorpej
506bf156e0
Kernel configuration file for my Abit BP6+dual Celeron machine. This
...
could be used as an example configuration file for that motherboard.
2000-04-16 19:46:21 +00:00
tsarna
24d492c6f3
Default the keymap to new "us.iopener" mapping
2000-04-14 23:14:25 +00:00
augustss
633209364f
Add FTDI FT8U100AX driver.
2000-04-14 14:53:32 +00:00
augustss
689485b4df
Add Rio 500 device.
2000-04-14 14:44:49 +00:00
joda
1498ccad74
add com at cardbus
2000-04-13 11:21:18 +00:00
joda
39a71b22e4
add com at cardbus comment
2000-04-13 11:20:06 +00:00
matthias
156e51244a
Fix typo, DIAGNOSITC -> DIAGNOSTIC
2000-04-11 06:30:28 +00:00
haya
f0f4d101b2
Add rl cardbus attachment.
2000-04-10 07:58:18 +00:00
thorpej
d37f3bd4ee
Use UVM_PGA_ZERO in pmap_alloc_ptp().
2000-04-10 06:34:11 +00:00
chs
7e160e9e20
add newline at end of debug printf.
2000-04-10 01:21:06 +00:00
augustss
b0789bc4f4
Add upl(4) driver. Uncomment uvisor(4) driver.
2000-04-09 18:34:02 +00:00
tsarna
12188e5241
A GENERIC-like configuration for the Netpliance i-opener.
2000-04-08 21:27:07 +00:00
thorpej
6dd5a9db6e
Use dev/isa/fd.c.
2000-04-07 16:35:19 +00:00
wiz
afc40c7421
comment out (erroneously?) added mcabus, until dev/mca exists
2000-04-06 23:55:04 +00:00
jdolecek
cef3c93f82
Switch to MI ns_cksum.c - the MD ns_cksum.c is equivalent to it
...
(modulo some u_intX_t vs. u_char type usage). In particular, the
MD version didn't contain any MD code.
2000-04-06 13:37:49 +00:00
jdolecek
8857b94a5c
winchip_cpu_setup(): restructure code to avoid warning when I586_CPU is not defined
2000-04-05 10:09:50 +00:00
jdolecek
7bc4915fcd
Disable TSC on WinChip C6, add WinChip 2 & WinChip 3 entries.
...
From Kamo Hiroyasu <wd@ics.nara-wu.ac.jp> OpenBSD kern/991
via Takahiro Kambe <taca@sky.yamashina.kyoto.jp>.
2000-04-05 07:46:33 +00:00
augustss
9a31a8c77f
Add atapibus* at umass?
2000-04-03 00:03:28 +00:00
thorpej
2bc5adb20e
Instead of checking vm_physmem[<physseg>].pgs to determine if
...
uvm_page_init() has completed, add a boolean uvm.page_init_done,
and test against that. Use this same boolean (rather than
pmap_initialized) in pmap_growkernel() to determine if we are
being called via uvm_page_init() to grow the kernel address space.
This fixes a problem on some i386 configurations where pmap_init()
itself was needing to have the kernel page table grown, and since
pmap_initialized was not yet set to TRUE, pmap_growkernel() was
choosing the wrong code path.
Fix tested by Havard Eidnes.
2000-04-02 20:39:14 +00:00
thorpej
d8be1024c1
Make this compile again after the callout changes.
2000-04-02 19:54:29 +00:00
minoura
78b105698a
Move dl* function definitions to libc on ELF.
...
Based on the patch supplied by Takuya Shiozaki <tshiozak@astec.co.jp>.
See http://mail-index.netbsd.org/tech-userlevel/2000/02/23/0000.html .
2000-04-02 15:35:47 +00:00
soren
5932e9f765
Match new prototype of pciide_dma_start in pciide.c.
2000-04-01 20:17:12 +00:00
tsarna
56e25c18bb
Add and enable auvia
2000-03-31 04:47:52 +00:00
augustss
dbf4f91643
Add (commented out) uvisor driver.
2000-03-30 17:01:01 +00:00
soren
71398b0ad8
With e.g. mbr_bootsel, the boot loader just exits rather than reboot,
...
so print that.
2000-03-29 14:29:34 +00:00
simonb
9308187dbf
Remove redundant decl of consinit() - it's in <sys/systm.h>.
...
Remove duplicate definition of delay() - we only need one in this file.
2000-03-29 03:54:03 +00:00
simonb
2f1fef39b3
Centralise the declarations of cpu_model, machine, machine_arch,
...
osrelease, and ostype and remove "extern char foo[];" (for hostname
and domainname too).
Also delete redunctant decl of boottime in kern_info_43.c.
2000-03-28 23:57:24 +00:00
thorpej
6b45fb25a9
The assembler understands rdmsr, wrmsr, rdtsc, and rdpmc, so there's
...
no need to use .byte.
2000-03-28 19:17:29 +00:00
thorpej
fd21635b22
Extern cpu_id and cpu_vendor[] here.
2000-03-28 19:16:05 +00:00
thorpej
a142c171d0
Add: cmpxchg8b, wrmsr, rdtsc, rdmsr, rdpmc, rsm. From FreeBSD.
2000-03-28 19:15:40 +00:00
thorpej
0c4b7c7531
Add functions to read the TSC and Performance Counters.
2000-03-28 01:38:22 +00:00