Commit Graph

5870 Commits

Author SHA1 Message Date
yamt 5d60643560 use acpi notify mechanism if possible.
XXX i'm not sure if there're PCs that actually need to fall back to polling.
2003-04-23 15:48:35 +00:00
jmmv f302f813f2 Bump ramdisk size to 3000 blocks. 2003-04-23 14:21:07 +00:00
fvdl bee66ff5b4 Add commented-out ahd driver. 2003-04-21 00:17:46 +00:00
fvdl 6886cf85b0 Initialize name and dma tag. 2003-04-20 16:54:23 +00:00
martin c1a5cc810d The sysmon device is used for sysmon_power too. 2003-04-20 16:51:35 +00:00
fvdl 4d6d3fb37b Call ahc_softc_init in attach function. 2003-04-20 15:48:25 +00:00
fvdl 349233c2db Adapt to new backend. Needs testing. 2003-04-19 19:36:20 +00:00
thorpej 091e93c002 Bump ramdisk size to 4600 blocks. 2003-04-17 22:57:16 +00:00
thorpej 9cac2cc6d1 Add mpt(4). 2003-04-16 23:39:02 +00:00
thorpej e56e76188e Fix a typo. 2003-04-16 23:36:22 +00:00
dsl 60c3e62a42 Add files for 2nd stage boot loader 2003-04-16 22:36:14 +00:00
dsl b10e65e490 Uncomment line that deletes tempory file 2003-04-16 22:34:00 +00:00
dsl 415cb92c98 Add functions needed by new boot code 2003-04-16 22:30:40 +00:00
dsl 2737b135d5 bootxx: bootstrap code - installable by MI installboot.
Loads /boot using filesystem accesses (rather than a list of block numbers)
2003-04-16 22:27:35 +00:00
dsl eb2692a8d2 bootxx: bootstrap code - installable by MI installboot.
Loads /boot using filesystem accesses (rather than a list of block numbers)
2003-04-16 22:16:36 +00:00
dsl c8db3bdc65 Partially reverse previous change.
Reset RTC only if ntp is running or adjtime system call has changed time.
2003-04-16 21:37:37 +00:00
dsl 1c31ec44a3 Don't set the RTC to kernel time during shutdown.
This stops the system RTC drifting if any hardclock ticks were missed (eg
if the system spent any time at the kdb prompt).
The RTC is set whenever the system clock is set, so setting at shutdown
is unnecessary.
2003-04-16 19:07:34 +00:00
dsl fe778b7b70 Remove definition of LIBSA_SUPPORT_UFS2, the source will only build separate
ufsv1 and ufsv2 objects (the merged one was too large for the code that only
supported a single fs type).
2003-04-16 19:03:33 +00:00
dsl 586810c59b Routines to switch between 16bit real and 32bit protected modes 2003-04-16 17:38:43 +00:00
dsl 0c5af93233 Add some debug prints to the memory size code 2003-04-16 15:03:59 +00:00
bouyer aec10dd80c Nake return values from bounds_check_with_label() conform to the man
page: -1 for error, 0 for EOF, 1 otherwise. Inspired by an OpenBSD commit
message, pointed out by Miod Vallat in private mail.
vax/mba/hp.c: check return value <= 0, not < 0 to be concistent with how
other places handle return values from bounds_check_with_label().
2003-04-16 15:00:59 +00:00
dsl cb61d88cb5 Add baud_rate arg to cominit_d 2003-04-16 14:58:32 +00:00
dsl e60ac53619 Modify baud rate handling to make it easier to take it from a variable.
Default to 9600 if the requested baud rate is illegal.
2003-04-16 14:56:55 +00:00
dsl d5b5933e8c remove unused defines 2003-04-16 14:23:11 +00:00
dsl 616c6baa61 Add code to parse V3.x bios disk information.
This should let NetBSD guarantee to tie together the bios disk numbers
with the physical hardware.
#defined out because I don't have a system with a bios that supports it.
2003-04-16 14:22:29 +00:00
dsl 621f25533d Add cvs version, delete unused definition 2003-04-16 13:49:21 +00:00
dsl 2ae46742a2 Add prototyps for all the asm bios/dos calls 2003-04-16 13:47:53 +00:00
dsl 4cf0478777 additional support routines for boot code 2003-04-16 13:24:09 +00:00
dsl 1d68743dfc C code now sets length of disk info structure 2003-04-16 12:45:10 +00:00
dsl 7119639d07 used daddr_t for disk block numbers,
add definitions for v2 and v3 disk info structures
2003-04-16 12:43:45 +00:00
dsl fd18f39232 Use daddr_t for disk block numbers,
Set size of extended disk info structure in the C code
2003-04-16 12:41:03 +00:00
scw 3e475eb186 From PR port-i386/20464, by Yoshihisa Nakagawa: Match i845G AGP bridge. 2003-04-16 07:37:09 +00:00
dsl 225615a61a avoid calling toupper with posibly -ve value. fixes PR 21171 2003-04-14 11:33:40 +00:00
simonb 4dcb48921b Use "options<space><tab>". 2003-04-12 07:39:39 +00:00
nathanw ff28c51cc0 Make cpu_getmcontext() run the PC through ras_lookup() so that kernel
getcontext() plus userlevel setcontext() (as used in libpthread) respects
the atomicity of RAS regions.
2003-04-11 22:02:28 +00:00
drochner 7e56069d9c IPR_VJ -> IRIP_VJ 2003-04-11 14:55:39 +00:00
dsl 243bb03c7c Explicitly specify both ffsv1 and ffsv2 2003-04-11 11:36:28 +00:00
christos b9f9db3ca2 Bye Bye UCONSOLE 2003-04-10 22:06:51 +00:00
thorpej a0aee79a1d Add the ability for pool caches to cache the physical address of
objects.  Clients of the pool_cache API must consistently use
the "paddr" variants or not, otherwise behavior is undefined.

Enable this on Alpha, ARM, MIPS, and x86.  Other platforms must
define POOL_VTOPHYS() in the appropriate manner in order to enable
the feature.

Part 1 of a series of simple patches contributed by Wasabi Systems
to improve network performance.
2003-04-09 18:22:13 +00:00
thorpej fe57487140 Remove something accidentally included in last commit. 2003-04-09 18:17:34 +00:00
thorpej cf9d21bf8e Use PAGE_SIZE rather than NBPG. 2003-04-08 23:39:14 +00:00
abs 89c93ddc45 Note that BSDI binaries require COMPAT_12, COMPAT_13, and COMPAT_43.
Addresses PR/3553, PR/6872, and PR/8029. Does not address PR/7262
Also add some missing COMPAT_15 entries.
2003-04-08 18:58:19 +00:00
perry 31cbf7d80d Add gentbi* PHYs
I noted in reading the log for PR kern/20988 that they were missing
XXX I'm not sure I got the name in the comment right, but if I don't
XXX do this who will?
2003-04-05 18:41:19 +00:00
kent 5e655987ff Print correct name for Pentium-M 2003-04-05 17:16:06 +00:00
perry 773de18a27 Recognize VT82C596A
Patch from Christopher SEKIYA in PR port-i386/21013
2003-04-05 16:03:48 +00:00
christos a9c71d20ab bioscall.S needs assym.h now. 2003-04-02 22:10:23 +00:00
fvdl 42614ed3f3 Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.
2003-04-02 10:39:19 +00:00
thorpej cc2c493bc4 Use PAGE_SIZE rather than NBPG. 2003-04-02 07:35:54 +00:00
mycroft d35a2d2955 Add -DSLOW to reduce the size of libz a bit. 2003-04-01 21:25:34 +00:00
mycroft 96f88c853c Trivial const poisoning. 2003-04-01 21:10:45 +00:00