tsutsui
f855ff2dde
Enable NCR_F_DMASELECT to use DMA xfer on command/selection phase.
...
It didn't work on sun3x when I and gwr tried back in April 1999,
but now it just works fine.
2005-01-30 03:52:41 +00:00
martin
101ec2e3b7
If we get a kernel data access fault without curlwp, we would panic later
...
in uvmfault with a meaningless messages - instead, panic right away with
a helpfull message. Or course, neither of this should ever happen.
2005-01-29 22:42:19 +00:00
jonathan
0e8a3d7d0d
Now that we've switched to the split re(4) for PCI, add the cardbus
...
frontend for the split re(4) to files.cardbus, and to the generic x86
laptop config (sys/i386/conf/GENERIC_LAPTOP).
NB: as best I know, there are still unresolved issues in attach and
powersave, with the NetGear cardbus cards and re(4).
2005-01-29 21:59:53 +00:00
scw
6a6fbded73
Pull in sigcode.S only if COMPAT_16 is defined.
2005-01-29 11:41:06 +00:00
scw
1a62c87dce
Add a simple driver for the on-chip DMA controller. Its only use at
...
this time is for hardware-assisted page copy/zero.
2005-01-29 11:37:18 +00:00
scw
ac750eb431
Performance improvements for the cache/tlb manipulation routines.
2005-01-29 11:26:07 +00:00
scw
f454961d0c
When dealing with a pagefault, save pcb_onfault and set it to NULL until
...
after the pagefault has been dealt with. This ensures we DTRT if another
pagefault comes in (e.g. a NULL dereference) while dealing with the first.
2005-01-29 11:25:13 +00:00
scw
c77d6b4d62
Shave an instruction from the ADDC macro.
...
(Pointed out by Simon Burge a long time ago)
2005-01-29 11:22:30 +00:00
scw
5ef90f8740
Change pmap_copyzero_page_dpurge() to return void.
2005-01-29 11:21:47 +00:00
scw
c0efddb30c
- Add some hooks to enable hardware-assisted (e.g. DMA) copy/zero page.
...
- Fix pmap_extract() to deal with a NULL paddr_t *.
2005-01-29 11:20:09 +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
is
7fa7b64071
Don't expose spl functions to non-kernel.
2005-01-28 10:19:57 +00:00
rumble
de81c2c878
Sprinkle options UFS_DIRHASH on GENERIC kernels. It's presently
...
commented out and labeled experimental pending further review and
testing.
2005-01-28 03:19:49 +00:00
mycroft
7ecc7a3071
Make awaitkey() poll once even if the timeout is 0. This also fixes a problem
...
where a keypress within the last polling interval would not be noticed.
Add a new function, conisshift(), which is used to detect whether a shift key
is pressed. Use this via awaitkey() to allow interrupting the boot by holding
down shift (similar to LILO).
This allows setting the timeout to 0 and still being able to use the boot
program.
2005-01-27 18:20:45 +00:00
simonb
90d5b03202
Fix a typo in a printf string.
2005-01-27 12:35:53 +00:00
is
97eadfd5d7
NTOHL() is not the same as ntohl()...
2005-01-27 11:00:46 +00:00
martin
c7b31c04d6
Remove orphaned extern declaration.
2005-01-27 08:50:27 +00:00
jmcneill
109219993b
Fixup ACPI wakecode on i386. This (along with some PCI power management
...
hooks) allows my Latitude D600 to recover from S3 sleep.
acpi_wakeup.c changes from lha@:
http://people.su.se/~lha/patches/netbsd/acpi-wakeup-1
2005-01-26 21:46:38 +00:00
kleink
3d7886ed58
MPC601: Use RTC instead of TB. (While I'm here, update these to use
...
the inline versions from <powerpc/cpu.h>).
2005-01-26 20:51:47 +00:00
he
0429525c8e
The ANSIfication apparently revealed a use of netif_attach() with a
...
missing argument. (It doesn't appear to be used, though, so this should
be a functional NOOP, except for fixing the build problem.)
2005-01-26 20:34:50 +00:00
he
6012a9f72d
Make forward declaration and actual function definitions consistent.
...
Some of the functions changed signature in the previous commit.
2005-01-26 20:32:27 +00:00
he
bee4200faa
Preserve the const qualifier even if we cast the "from" argument in the
...
memcpy() and memmove() inline functions.
2005-01-26 15:53:52 +00:00
briggs
d9b6766216
Ensure i/o commands are allocated on 16-byte boundary by allocating 15
...
extra bytes and adjusting array starts.
Issue pointed out on port-macppc by Michael Lorenz.
Also remove extra print of the device name on attach().
2005-01-25 19:05:22 +00:00
matt
691566cdec
Initialize zsconschannel to -1 so that it can't matched unless zscninit
...
is explicitly called to set it up.
2005-01-24 21:39:15 +00:00
shige
3ad343e546
Add OpenBlockS266 GPIO LED Driver.
2005-01-24 18:47:37 +00:00
is
909ba1f5de
Fixes by Klaus Klein.
2005-01-24 16:57:21 +00:00
is
0c23284a1c
Don't be confused with trigraphs.
...
EXEC_ELF -> EXEC_ELF32
2005-01-24 15:49:29 +00:00
simonb
0bcf992248
Fix a couple of comments.
2005-01-24 11:54:51 +00:00
drochner
50ed6c7cf3
-remove definition of "struct sigframe" -- haven't found a use of it
...
(should fix build problems w/o COMPAT_16 reported by Markus W Kilbinger
per PR port-mips/29041 and by Havard Eidnes)
-further shuffle COMPAT_* conditionals to allow COMPAT_ULTRIX
w/o COMPAT_16
2005-01-24 10:03:57 +00:00
joff
1cd0ad9aff
Add atu(4) 802.11b USB driver
2005-01-24 03:02:45 +00:00
joff
204717149e
Enable atu, vnd, and kttcp by default
2005-01-24 02:40:00 +00:00
joff
8506af05a4
Fix mem/io extents usage. Previously had been mis-using the bs_cookie for a bs_tag.
2005-01-24 02:38:15 +00:00
joff
f61320850a
whoops, had intr mask inverted
2005-01-24 02:36:04 +00:00
cdi
ab1460715b
New kernel configuration for use during Cobalt netboot or as a rescue kernel
...
image. The idea is to keep INSTALL as small as possible (XXXVERBOSE options are
off, no IP filtering, SCSI support etc.) to shoehorn into size limits imposed
by the Cobalt's firmware and to have full-blown GENERIC kernel which uses
NetBSD bootloader anyway.
2005-01-23 20:05:26 +00:00
shige
5ed37446b2
Add gpio module.
2005-01-23 19:24:31 +00:00
shige
17dda52768
Add driver for On-chip General Purpose I/O.
2005-01-23 19:22:22 +00:00
chs
924b155d98
turn interrupts on in cpu_reboot(), in case someone reboots from
...
a strange context via ddb.
2005-01-23 19:10:23 +00:00
chs
fba432b011
make this the same as the other m68k platforms.
2005-01-23 17:32:56 +00:00
chs
fa924b7be7
move spl*() and IPL_* definitions from psl.h to intr.h.
2005-01-23 17:27:03 +00:00
pk
dca752e34a
Make pmap_map() work on sun4 machines.
...
Thanks to Matthew and Julian for finding this.
2005-01-23 17:04:26 +00:00
he
e23b180fd3
Adapt to the change in type of ite_on() -- don't pretend that it returns
...
a value anymore (return type is now void).
2005-01-23 09:25:52 +00:00
simonb
dc5fd1a390
Use lis@h/ori@l instead of lis@ha/addi@l since we may use r0 and addi
...
is one of those funny instructions that treats r0 == 0 when used as the
first arg.
Fixes problems on ibm4xx. Ok'd by matt@.
2005-01-23 00:23:57 +00:00
chs
70e6d93136
bring back the sun3 MAXPHYS definition that has been missing for 8 years.
...
more recently, we changed to relying on MAXPHYS rather than MAXBSIZE to
limit page cache I/O sizes, and sun3 has been broken since then.
2005-01-22 17:13:14 +00:00
chs
10b1a7be5e
de-__P, remove register, ansify, b* -> mem*, u_int*_t -> uint*_t.
2005-01-22 15:36:09 +00:00
tsutsui
ec0d5b6338
Use TAILQ_* macro.
2005-01-22 11:08:18 +00:00
tsutsui
7310abde32
Make all intr_mask value types uint32_t rather than int, u_int,
...
or unsigned etc.
2005-01-22 08:43:02 +00:00