reinoud
c8f5e8e49c
Initial `machdep.booted_kernel' support as a string flag on the boot
...
arguments since otherwise RiscOS file names must be parsed.
2002-01-31 21:01:40 +00:00
tv
880a2cf970
These sources are pulled into makefs(8), so we need config.h and protection
...
for __KERNEL_RCSID().
2002-01-31 19:19:22 +00:00
tv
5d28098c5b
Revert previous. This is actually being done a better way.
2002-01-31 19:18:18 +00:00
tv
8ec192426e
For makefs, only include <machine/bswap.h> if it exists.
2002-01-31 19:17:02 +00:00
tv
af3dca1ea8
#undef MAXNAMLEN before defining it; this lets ufs/ufs/dir.h be used
...
properly on non-NetBSD hosts with makefs(8).
2002-01-31 19:16:34 +00:00
tv
805ab35e68
Make it possible for uudecode to be a host tool.
2002-01-31 19:15:23 +00:00
christos
6c041e0dc7
Frederic Bruckman spotted a missing _C_LABEL.
2002-01-31 18:03:44 +00:00
uch
9455834f75
update MINYEAR
2002-01-31 17:57:43 +00:00
uch
ace35e63ce
clean up header file.
2002-01-31 17:56:33 +00:00
christos
d47da1254f
Fix comments.
2002-01-31 17:41:38 +00:00
christos
7ea0ddda43
- fix hex constant in transmeta code to fit 32 bits.
...
- char assignment should be '\0'
- factor out some common strings
2002-01-31 17:40:51 +00:00
uwe
4495f84bf9
Driver for pckbc in javastations. Not finished yet.
2002-01-31 17:34:51 +00:00
uch
280ef43573
remove unneeded code and data.
2002-01-31 16:27:35 +00:00
uch
ff91f975fc
if RB_HALT is setted, don't load kernel.
2002-01-31 16:25:54 +00:00
tsutsui
51dc78b6ee
Add -Wno-main to CFLAGS for SA_PROGs.
2002-01-31 14:30:49 +00:00
is
48c749a49a
fix typo
2002-01-31 14:27:29 +00:00
uwe
13d8e231d8
Fix KBS_WARM comment.
2002-01-31 13:25:20 +00:00
uwe
39f110f6f7
Auto-configuration output formatting nit.
...
Don't start the attachment message on a new line.
2002-01-31 11:51:25 +00:00
uwe
0778a707e9
Honor RI_BSWAP.
2002-01-31 11:18:07 +00:00
chris
e1348c3690
Initial mechanism for building a working cats kernel with ELF compiler. Note that the shell script needs work, currently it assumes TOOLDIR is valid, if it's not it should probably just try using objdump and size. So some work still to do, but you can cross compile cats kernels now.
2002-01-31 10:37:41 +00:00
chris
4253f3bbfc
Set LOOSE_PROTOTYPES to no for cats. This means cats now uses stricter prototype checking.
2002-01-31 09:53:33 +00:00
chris
3ead7271d5
Fix the type of irqmasks (any reason it's even been added as an extern when it's in irqhandler.h with the correct type and array size?)
2002-01-31 09:43:42 +00:00
haya
30f44eaa28
Add an entry for NEC 9801N_J12, which is an OEM of IBM infomover.
...
PR #14084 .
2002-01-31 08:45:14 +00:00
itojun
d303c80bfb
correct bad ip checksum on multicast loopback packet. PR14597
2002-01-31 07:45:22 +00:00
itojun
88123ecf38
change key_timehandler to take void * as argument. sync with kame.
...
PR 14351
2002-01-31 07:05:43 +00:00
simonb
5d591d8020
White-space niggle.
2002-01-31 06:37:30 +00:00
itojun
867ce59a46
use ipseclog() instead of #ifdef IPSEC_DEBUG, to make it possible to
...
turn on/off debugging messages at runtime. sync with kame
2002-01-31 06:35:25 +00:00
itojun
8297f55292
change SPDUPDATE's behavior to meet with the latest KAME kit.
...
(there's no need to have policy before SPDUPDATE)
2002-01-31 06:17:03 +00:00
chs
8a910799bb
use curproc instead of b_proc for NFS. that's what we want for sync commits
...
and it doesn't cause any problems for async commits.
2002-01-31 05:56:57 +00:00
uch
340c3f66fe
call intr_init() after mips_vector_init(). intr_init use CPUISMIPS3 macro.
2002-01-31 05:11:16 +00:00
lukem
0d0b003e9c
use ${INSTALL_FILE} instead of "cp -p"
2002-01-31 04:23:15 +00:00
kleink
935d56d508
Add {POSIX_MONOTONIC_CLOCK} variables.
2002-01-31 00:32:47 +00:00
simonb
346fc0519d
Implement the CLOCK_MONOTONIC clock for the posix/opengroup realtime
...
clock_() functions. This simply returns the kernel mono_time variable.
As discussed on tech-kern.
2002-01-31 00:13:07 +00:00
christos
0a2c1af131
Define the strings for the flags used by mount(8) next to the flags, so
...
that they don't get out of sync again.
2002-01-30 21:39:51 +00:00
uch
715eb97754
remove unused variable.
2002-01-30 16:10:08 +00:00
uch
e3ba66bfd4
move TX39 specific cache configuration code to cache.c
2002-01-30 16:09:29 +00:00
ad
888b6f3f26
Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
...
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.
2002-01-30 14:35:43 +00:00
reinoud
a2cea03cf2
Update and clean the config files to look more equal ... some non standard
...
configutations were not updated during time.
2002-01-30 14:01:33 +00:00
is
5fa8e00d02
Fix typo: ASIX, not AMBIX
2002-01-30 12:49:23 +00:00
is
8a6348be5f
Add Lantech Fastnet/TX (really generic ASIX AX88190) card
2002-01-30 11:20:23 +00:00
thorpej
9265cef48c
irq_init() -> iq80310_intr_init()
2002-01-30 04:01:36 +00:00
thorpej
48499c673e
Pull in <evbarm/ifpga/irqhandler.h> for now.
2002-01-30 04:00:47 +00:00
thorpej
2bc996b0bc
New interrupt framework for NetBSD/evbarm, and accompanying new
...
interrupt code for the IQ80310 board support package.
XXX The Integrator board support package still uses the old-style
arm32 interrupt code, so some compatibility hacks have been added
for it. When the Integrator uses new-style interrupts, those hacks
can go away.
2002-01-30 03:59:39 +00:00
tron
abd441c487
Regen.
2002-01-30 01:53:00 +00:00
tron
e978c223ad
Fix vendor entry for "Rendition Inc.". This patch was supplied by
...
Paul Shupak in PR kern/15367.
2002-01-30 01:52:32 +00:00
thorpej
c45f5707d4
sa11x0_idle_mem is now an extern.
2002-01-30 00:40:20 +00:00
thorpej
53141e6287
Now that there is a generic SA-11x0 CPU sleep routine, use the
...
shared arm32 cpuswitch.S.
2002-01-30 00:38:55 +00:00
thorpej
5e0726b647
Set the CPU sleep routine to sa11x0_cpu_sleep() on SA-1100 and SA-1110
...
processors.
2002-01-30 00:37:18 +00:00
thorpej
50f7f1d785
Add prototype for sa11x0_cpu_sleep().
2002-01-30 00:36:32 +00:00
thorpej
2c0cb97fa8
Add a sleep routine for the SA-11x0.
2002-01-30 00:25:07 +00:00
thorpej
cb51977892
When initializing sf->sf_spl, simply always assume that 0 is
...
equivalent to spl0().
2002-01-29 23:02:48 +00:00
thorpej
558b6aece0
Move the generic ARM soft interrupt code into a generic place.
2002-01-29 22:54:14 +00:00
bouyer
8b9a58198e
Support Ultra/100 on Intel 830M. From ks@ub.uni-mainz.de on -current-users.
2002-01-29 21:13:17 +00:00
uch
6f463cfc19
remove obsolete file
2002-01-29 19:04:59 +00:00
uch
7d17099353
clean up debug print and configuration.
2002-01-29 18:53:01 +00:00
aymeric
410cbf81e5
remove BINDIR definition
2002-01-29 18:47:35 +00:00
uch
f39553cc10
hpcmips support of kloader.
2002-01-29 18:47:25 +00:00
aymeric
1edc58c08c
move BINDIR definition from Makefile.booters to installboot/Makefile.
...
all other Makefile's that need it already define it.
2002-01-29 18:46:11 +00:00
uch
a312f31998
separate machine-independent part of kloader.
2002-01-29 18:44:22 +00:00
uch
1523771250
simpify.
2002-01-29 18:38:32 +00:00
rearnsha
45b996e3b2
Fix copying and disclaimer (ARM != Causality).
2002-01-29 15:27:29 +00:00
uwe
a147f77669
Comment update for PCI_CONFIG_DUMP: dumping PCI config space for EBus
...
seems ok now. But an attempt of reading IGA1682 config space past
offset 64 hangs the machine.
2002-01-29 06:59:26 +00:00
junyoung
b265127f06
Regen.
2002-01-29 06:08:35 +00:00
junyoung
78d2285773
- s/INTERGRAPHICS/INTEGRAPHICS/
...
- Add two product IDs for Integraphics Systems graphics cards.
2002-01-29 06:07:16 +00:00
nisimura
5060825752
DANAS (disable autonegotiation) bit of BCR32 takes its effect when
...
set, not cleared.
2002-01-29 04:45:47 +00:00
thorpej
ed0b3a0857
Add SuperH ELF header flags.
2002-01-29 01:42:57 +00:00
thorpej
e46bcf64ee
Add SuperH relocation types.
2002-01-29 01:35:36 +00:00
eeh
f0684202f9
Shift the UPAID in the correct direction.
2002-01-29 01:15:50 +00:00
thorpej
1f4b5fa06c
Descend into include.
2002-01-29 01:13:18 +00:00
simonb
c37d15083b
Fix a tyop in a comment.
2002-01-29 00:31:55 +00:00
christos
7da411d63b
Look for _PIR in addition to $PIR. My libretto L2 now works without
...
any other kludges.
2002-01-28 23:53:08 +00:00
lukem
03bd9dc73f
cosmetic reorder of #defines to match other ports
2002-01-28 23:09:54 +00:00
thorpej
07d023a3aa
Define ELF32_EHDR_FLAGS_OK()/ELF64_EHDR_FLAGS_OK() and use it
...
as an added measure to make sure that we can execute a binary.
These default to (1) if elf_machdep.h does not override them.
On Sun2, ELF32_EHDR_FLAGS_OK() checks for the presense of EF_M68000,
since the 68010 cannot run binaries for the 68020-and-up.
2002-01-28 22:15:54 +00:00
thorpej
9c3a981460
Just use the stock m68k/elf_machdep.h for now, so that things compile.
...
A patch to handle EF_M68000 will be posted shortly.
2002-01-28 21:52:49 +00:00
thorpej
2ef9623f96
Define EF_CPU32 and EF_M68000.
2002-01-28 21:34:48 +00:00
thorpej
cde2b1d9c7
Clean up CPP flags.
2002-01-28 21:29:46 +00:00
thorpej
c5b600d0bc
Regen: Add product ID for the Intel i82544GC 64-bit variant.
2002-01-28 19:57:00 +00:00
thorpej
16fe240828
Add product ID for the Intel i82544GC 64-bit variant.
2002-01-28 19:55:15 +00:00
bouyer
6d7c6c755b
In hpt_pci_intr(): There is interrupt pending once IDEDMA_CTL_ACT is
...
turned off. It seems that IDEDMA_CTL_INTR is asserted before DMA transfer
is complete, leading to race condition in case of interrupt sharing.
Discovered reading the FreeBSD code.
2002-01-28 15:30:29 +00:00
aymeric
1ea4df81a8
add __KERNEL_RCSID as suggested by Luke Mewburn
2002-01-28 09:56:43 +00:00
aymeric
1a16f52c0a
sort a couple of entries by vendor number.
2002-01-28 09:25:33 +00:00
uwe
338616067d
Experimental config file for JavaStation NC (aka Krups). Not yet
...
usable without some additional patches to the tree, but handy to have
checked in for reference.
2002-01-28 08:55:39 +00:00
uch
0cc2d5d9dd
make this compile without DIAGNOSTIC.
2002-01-28 05:40:58 +00:00
uch
1391d49aaa
decrease sbss,sdata section size.
2002-01-28 05:40:30 +00:00
sommerfeld
c127a007e8
really fix it this time.
2002-01-28 03:47:14 +00:00
sommerfeld
3c99883ed4
Finish conversion to new-style isa config machinery (#ifdef DEBUG code was
...
left unconverted)
2002-01-28 03:45:25 +00:00
simonb
4aceab2a3d
Remember to update the "size copied" counter in sysctl_diskstats().
2002-01-28 03:33:55 +00:00
simonb
9e42930807
Use TAILQ_FOREACH().
2002-01-28 03:12:13 +00:00
simonb
bfc71f3c10
Add sysctls to read tk_{nin,nout,cancc,rawcc} (under a kern.tkstat node).
...
"extern" those variables in <sys/dkstat.h>, and add declarations for them
in sys/tty.c
2002-01-28 02:06:02 +00:00
augustss
ec18ceb107
Keep adv in alphabetical order.
2002-01-28 01:23:32 +00:00
augustss
044c8f0a7a
Use M_WAITOK instead of M_NOWAIT when allocating extra descriptors.
...
Spotted by OpenBSD.
2002-01-27 23:00:34 +00:00
is
5df9b72bfe
make this really compile.
2002-01-27 22:37:28 +00:00
bouyer
3ba24c2b42
IF we change the ATA modes, also reset the device, so that we can retry
...
the command with the new mode.
2002-01-27 22:00:40 +00:00
jdolecek
1731882d0a
emuxki_set_params(): don't try to set parameters if the appropriate
...
'voice' is not initialized
This fixes kern/15394 by Onno van der Linden.
Code fragment to trigger the bug:
AUDIO_INITINFO(&info);
info.mode = AUMODE_PLAY;
info.play.channels = 2;
fd = open("/dev/audioctl0", O_RDWR);
(void)ioctl(fd, AUDIO_SETINFO, &info);
emuxki_voice_set_audioparms(): g/c check for voice == NULL, this is
never called with null voice
some minor style changes in emuxki_open()/emuxki_close()
2002-01-27 20:38:07 +00:00
aymeric
1ebbe6900f
make sure we have CLOCAL set and HUPCL unset when the serial port is used as
...
a console.
2002-01-27 19:25:35 +00:00
augustss
9cdd3fd977
Don't dereference NULL pointer when no device attaches.
2002-01-27 18:10:34 +00:00
bjh21
70017578a1
Regen (breakpoint() implemented).
2002-01-27 15:28:22 +00:00
bjh21
8c36606f84
Add support for breakpoints to ARMLinux emulation.
2002-01-27 15:27:33 +00:00
bjh21
4929dc576f
Add support for PTRACE_GETREGS and PTRACE_SETREGS in ARMLinux emulation.
2002-01-27 15:11:38 +00:00
is
4205fc1471
Attach multifunction GVP boards.
2002-01-27 14:52:51 +00:00
is
5fea84442f
remove double {
2002-01-27 14:51:10 +00:00
bjh21
e4b1cbedfc
Add revision->stepping maps for the SA-110, SA-1100 and SA-1110.
...
Those for the SA-1100 and SA-1110 are from Intel's documentation.
The mapping for the SA-110 is from various sources on the net, since Intel
don't seem to document it.
Also, change the layout of the maps to have four steppings per line,
so they aren't quite so unwieldy.
2002-01-27 14:43:47 +00:00
is
637649fac0
Register a shutdown handler that switches off interupts.
2002-01-27 14:39:28 +00:00
is
2f444c68be
Add some video modes which are displayable on my LCD.
2002-01-27 14:32:21 +00:00
is
97a611702b
Make this compile for specialized kernels.
2002-01-27 14:29:26 +00:00
takemura
a0584b29ab
Added vripif.
2002-01-27 14:18:11 +00:00
bjh21
bf73a232ce
Regen (prototype for linux_sys_nosys()).
2002-01-27 14:09:38 +00:00
bjh21
71953fb155
Make syscall 0 an explicit call of linux_sys_nosys, as it is on i386. This
...
is necessary to get a prototype for linux_sys_nosys generated in syscallargs.h.
2002-01-27 14:08:56 +00:00
jdolecek
431b02b81f
regen:
...
add options PIPE_SOCKETPAIR to individual kernel configs
the option is commented out on everything but kernels I was able
to recognize as INSTALL-like or ones for small memory machines
2002-01-27 13:56:49 +00:00
is
78f59c0127
*** empty log message ***
2002-01-27 13:36:58 +00:00
lukem
fea75ff830
- kern.maxvnodes: only call vfs_reinit() and nchreinit() if the value
...
was successfully changed. previously, successfully viewing the
current value would flush the cache :-/
- similarly, don't change hostid and sb_max unless the value was
successfully changed
2002-01-27 13:33:36 +00:00
is
2aee73a306
Don't include audio devices in INSTALL kernels.
2002-01-27 13:27:51 +00:00
jdolecek
6d265bd894
add options PIPE_SOCKETPAIR to individual kernel configs
...
the option is commented out on everything but kernels I was able
to recognize as INSTALL-like or ones for small memory machines
2002-01-27 13:23:08 +00:00
is
fbd27d85b3
add Toccata.
2002-01-27 13:18:24 +00:00
is
939ae0a6d7
Add toccata to the GENERIC configuration.
2002-01-27 13:01:46 +00:00
simonb
ed6b438e40
Implement the hw.disknames and hw.diskstats sysctl's that have been listed
...
in <sys/sysctl.h> since day one but never implemented.
2002-01-27 12:41:07 +00:00
martin
7942602380
Don't crash when trying to read phone data while there is no ISDN
...
connection. From FreeBSD, via Matthias Drochner.
2002-01-27 11:42:13 +00:00
martin
b41d81ade2
Ooops, ISDN phone devices have an ioctl function, so add them to the
...
cdevsw. Noticed by Matthias Drochner.
(One of these days I'll setup an answering machine for testing myself ;-) )
2002-01-27 11:40:48 +00:00
jdolecek
ba097d4c37
normalize INSECURE and SCSIVERBOSE descriptions
2002-01-27 11:15:36 +00:00
jdolecek
c3bf023668
regen: INSECURE, SCSIVERBOSE description change,
...
s/define/uncomment/, add raid stuff
2002-01-27 11:12:39 +00:00
jdolecek
0be9185a81
take care to undo some cpp's whitespace changes when
...
generating the kernel configs
2002-01-27 11:11:35 +00:00
takemura
7f66bbfe65
Don't call tx39power_suspend_cpu unless the CPU is TX.
2002-01-27 11:11:11 +00:00
takemura
345bbe4615
Do nothing if there is no screen.
2002-01-27 11:08:30 +00:00
jdolecek
5592a685d7
avoid '# define', this is processed by cpp
2002-01-27 11:07:38 +00:00
jdolecek
e9fccf8bac
normalize description of INSECURE and SCSIVERBOSE
2002-01-27 10:52:31 +00:00
jdolecek
6faa3a8ff2
add defflag PIPE_SOCKETPAIR
2002-01-27 10:28:20 +00:00
thorpej
1964af2d8a
Update for a leading-underscore-free ELF world.
2002-01-27 09:02:37 +00:00
lukem
8d39bcd4da
correct comment
2002-01-27 07:19:25 +00:00
uch
415a0562eb
clean up debug print and configuration.
2002-01-27 05:15:35 +00:00
uch
4a61fd0786
add self kernel loader.
2002-01-27 05:14:33 +00:00
minoura
2bc20613fa
Pull back from xxboot/img.
2002-01-27 01:47:59 +00:00
minoura
99c2f565c1
Remove obsolete xxboot.
2002-01-27 01:43:27 +00:00
minoura
c2857a6c0b
Install as /usr/mdec/install instead of installboot.new.
2002-01-27 01:07:44 +00:00
minoura
c3d188aaa8
omit xxboot, old a.out-only bootblock.
2002-01-27 01:07:00 +00:00
tron
6b3f95eac6
Regen.
2002-01-26 22:41:46 +00:00
tron
0f7d8365c0
Add missing names for devices supported by puc(4).
...
This patch was supplied by Paul Shupak in PR kern/15368.
2002-01-26 22:40:46 +00:00
ichiro
96f25772c6
OCHI -> OHCI
2002-01-26 16:34:27 +00:00
ichiro
a66a4379d2
regen
2002-01-26 16:31:18 +00:00
ichiro
ee79a9205a
OCHI -> OHCI
2002-01-26 16:30:00 +00:00
aymeric
839a40e98d
Now that this file is not included when it should not, use the print-objdir
...
target instead of guessing (wrongly with the new toolchain) object directories.
This allows cross-building of bootblocks with the new toolchain.
2002-01-26 15:07:58 +00:00
aymeric
4de458a43c
Remove this file so it doesn't get included inadvertently
2002-01-26 15:04:07 +00:00
aymeric
2eb3bcf102
include ${.CURDIR}/../Makefile.booters
2002-01-26 15:03:17 +00:00
aymeric
8cecf70c19
This is a copy of Makefile.inc
...
Makefile.inc is going to disappear because we don't want txlt, aout2bb and
elf2bb directories to include this stuff; it is only required by bootblocks.
2002-01-26 15:01:17 +00:00
aymeric
9382c87338
- ANSIfy
...
- remove some trailing spaces/tabs
- minor style nits
2002-01-26 13:40:52 +00:00
aymeric
08fd7bc990
- ANSIfy
...
- remove some trailing spaces/tabs
- minor style nits
2002-01-26 13:24:53 +00:00
aymeric
685f8b8623
remove trailing spaces and tabs
2002-01-26 13:22:12 +00:00
aymeric
c54298e658
- ANSIfy
...
- remove some trailing spaces/tabs
- minor style nits
2002-01-26 13:18:57 +00:00
aymeric
181d083e76
s/BOOT_ELF/BOOT_ELF32/ inside a comment
2002-01-26 13:17:58 +00:00
aymeric
c520d6cae2
- ANSIfy
...
- remove some trailing spaces/tabs
- minor style nits
2002-01-26 13:16:06 +00:00
takemura
e8088a8f99
Straightened vripvar.h
2002-01-26 10:50:43 +00:00
takemura
672880d927
Adjusted GP size.
2002-01-26 10:24:58 +00:00
chs
1b454dbb4f
fix an error case.
2002-01-26 08:32:05 +00:00
chs
2a8b52def1
re-enable NFSv3 commit RPCs by abandoning my new approach in favor of
...
frank's scheme, with one new twist: don't wait until we've totally run
out of free pages before committing, but instead notice when we've built
up a largish range of uncommitted pages and commit only the older half of
the range, which is likely to already be on disk on the server.
2002-01-26 02:52:19 +00:00
chs
0365a63944
in genfs_putpages():
...
- yield the cpu if we've taken too long.
- when traversing by offset, skip over any pages that we clustered.
2002-01-26 02:44:27 +00:00
augustss
a7dea23b26
Regen.
2002-01-25 22:54:53 +00:00
augustss
6fd474bf85
Fix typo pointed out by Manuel Bouyer.
2002-01-25 22:54:34 +00:00
fvdl
194ca09a3f
Add bus_space_mmap.
2002-01-25 22:01:42 +00:00
fvdl
bd94b6db19
Add wsfont files to make building with wscons possible.
2002-01-25 22:01:12 +00:00
thorpej
f59990cae7
* Default dcache_inv_range to xscale_cache_flushD_rng for XScale
...
cores.
* For i80200 Step-A0 and Step-A1, set dcache_inv_range to
xscale_cache_purgeD_rng to work around a bug where a D$
"invalidate by address" doesn't properly clear the dirty
bits on the cache block (i80200 errata item #25 ).
2002-01-25 21:33:26 +00:00
thorpej
08342df793
Overhaul bus_dmamap_sync for the ARM:
...
* Track which process (XXX really, vmspace) owns the mapping. When
we sync the map, if the mapping doesn't belong to the kernel or to
the current process (XXX really, vmspace), then no cache fobbing
is necessary, since the cache is Wb-Inv'd on context switch (XXX need
to revisit this when we support FCSE).
* Be smarter about which cache operation we do when sync'ing the map:
- PREREAD -- Invalidate D$ (XXX right now, we actually do Wb-Inv)
- PREWRITE -- Write-back D$ (note, we do NOT invalidate here)
- PREREAD|PREWRITE -- Wb-Inv D$
More work is needed here. In particular, a version for CPUs
with write-through caches should be provided, to eliminate
the write-back steps (which are noops on such CPUs, but skipping
two branches would be nice).
2002-01-25 20:57:41 +00:00
thorpej
3fe7e33bdc
When loading the bounce buffer into the DMA map, don't
...
pass in a proc, because the bounce buffer belongs to the
kernel.
2002-01-25 20:49:25 +00:00
thorpej
2c23251a7a
ANSI'ify function decls.
2002-01-25 19:37:49 +00:00
tsutsui
b5d7745709
Remove extra brace.
2002-01-25 19:19:46 +00:00
thorpej
4e990d9ccb
Overhaul of the ARM cache code. This is mostly a simplification
...
pass. Rather than providing a whole slew of cache operations that
aren't ever used, distill them down to some useful primitives:
icache_sync_all Synchronize I-cache
icache_sync_range Synchronize I-cache range
dcache_wbinv_all Write-back and Invalidate D-cache
dcache_wbinv_range Write-back and Invalidate D-cache range
dcache_inv_range Invalidate D-cache range
dcache_wb_range Write-back D-cache range
idcache_wbinv_all Write-back and Invalidate D-cache,
Invalidate I-cache
idcache_wbinv_range Write-back and Invalidate D-cache,
Invalidate I-cache range
Note: This does not yet include an overhaul of the actual asm files
that implement the primitives. Instead, we've provided a safe default
for each CPU type, and the individual CPU types can now be optimized
one at a time.
2002-01-25 19:19:22 +00:00
thorpej
8ed8f67cf7
Make the software copy of INTCTL volatile.
2002-01-25 19:05:36 +00:00
thorpej
dac6fe0dba
Fix a prototype.
2002-01-25 18:16:24 +00:00
thorpej
14b07cc031
Fix a function prototype.
2002-01-25 18:14:39 +00:00
pk
fa4a18f612
Remove out-dated comment on pager pages + some other comment nit-pickings.
2002-01-25 17:50:33 +00:00
pk
cbfb1366b6
Implement the sun4c hardware-assisted page flush operation in a separate
...
function.
2002-01-25 17:40:44 +00:00
thorpej
f5ee1b0539
Don't explicitly assign MACHINE_ARCH.
2002-01-25 17:22:35 +00:00
thorpej
593454cde4
Fix asm constraints. Sun3 kernels built with the new toolchain boot now.
2002-01-25 16:42:22 +00:00
ad
49849b4d3a
- Always validate the return value read from the outbound FIFO.
...
- Copy access method info into the softc so we don't double dereference.
- Remove static on functions.
2002-01-25 16:10:35 +00:00
reinoud
6875bccf40
Cleanup kernel configuration file and add a generic INSTALL kernel. The
...
A7000 kernels are obsolete now the ARM7500 detection is integrated. The
NC's however are not completely supported and should in the near future be
bootable with GENERIC/INSTALL too.
2002-01-25 15:20:54 +00:00
jmcneill
8a10d0653d
Make sure not to set the intellimouse mode more than once at boot, but still
...
reset the intellimouse mode on suspend/resume. Fixes problems with pmsi mice
locking the keyboard controller when X starts.
2002-01-25 14:53:43 +00:00
rafal
5e26468b29
Less odious hack for powerfail interrupt; even thought it's still odious,
...
at least now we only attempt to install the handler once.
2002-01-25 04:54:31 +00:00
he
d69be53e42
Add entries for the 'esa at pci' audio driver (ESS Allegro-1 / Maestro-3).
2002-01-24 20:19:46 +00:00
thorpej
c2004821b2
Use a table to look up stepping names. Add a generic stepping
...
table ("rev 0", "rev 1", etc.) and an i80200 stepping table that
has the stepping names that appear in the i80200 manuals/errata..
2002-01-24 20:14:19 +00:00
thorpej
0404ff83b9
Generic soft interrupt support for the evbarm port. Two caveats:
...
* This is not currently used by the in-tree evbarm interrupt code. New
interrupt code will appear "soon" which makes use of this file.
* This file will probably move to a generic ARM location eventually.
2002-01-24 18:48:03 +00:00
thorpej
e05fbea5e8
Shave an instruction off the case where we want to do a CPWAIT and
...
then return.
2002-01-24 17:53:08 +00:00
pk
92be3a121c
pmap_kenter_pa4_4c(): set supervisor bit in PTE.
2002-01-24 16:50:34 +00:00
martti
a54225fdf9
Added missing -DIPFILTER_LKM
2002-01-24 13:50:32 +00:00
martti
b035470c38
Fixed initialization
2002-01-24 08:24:59 +00:00
martti
7a8f11612c
Re-sync with IPFilter
2002-01-24 08:23:40 +00:00
martti
b9920d0f43
Upgraded IPFilter to 3.4.23
2002-01-24 08:21:30 +00:00
martti
b0499f9062
Import IPFilter 3.4.23
2002-01-24 08:18:28 +00:00
thorpej
c50e5f6562
Don't need pciide_machdep.c
2002-01-24 06:51:30 +00:00
thorpej
d58e8e800b
Update copyright years and author list.
2002-01-24 06:21:27 +00:00
thorpej
68a5455c8b
Work around a bug in the XScale core's D-cache. The work-around is to
...
use 2 adjacent cache-size areas for global cache clean, alternating
between the two of them on each call. Without this, D-cache blocks
aren't evicted properly, and no one seems to know why.
2002-01-24 06:18:12 +00:00
briggs
2341768d92
Two changes for XScale:
...
1) Add defparam XSCALE_CCLKCFG to define a parameter for the
CCLKCFG register. Default it to '9' on the IQ80310.
2) Add a sleep call to the xscale CPU function vector (replacing
the nullop) which should drop the CPU into "idle" mode when
cpu_switch finds nothing on the run queues.
2002-01-24 04:23:18 +00:00
thorpej
bd098d4ca4
Fix a typo (thanks Allen).
2002-01-24 03:58:09 +00:00
thorpej
ffe44b126d
Pull in files.i80200
2002-01-24 03:57:36 +00:00
thorpej
ae267d2bc7
s/CPLD/iq80310/g
2002-01-24 03:34:28 +00:00
rafal
17abb81d69
One more change resulting from my GDT rearrangement... Since GMACHCALLS_SEL
...
is always defined now, don't use that to test if we should install the MACH
compat gate; test COMPAT_MACH instead.
2002-01-24 03:20:28 +00:00
gson
11111119ae
Make receiving packets work again after struct fxp_rfa grew.
2002-01-24 02:52:15 +00:00
gson
d4da6dc52d
Debug printf within #if 0..#endif did not compile if enabled.
2002-01-24 02:44:11 +00:00
gson
69ba1e26ce
Remove duplicate definition of global variable bcea which caused
...
linking to fail, along with other globals already
defined in lib/sa/globals.c
2002-01-24 02:37:53 +00:00
itojun
a709c83618
place NRL copyright notice itself, not a reference to it.
2002-01-24 02:12:29 +00:00
thorpej
7c2247336b
Clean up the i80312 PMU definitions.
2002-01-24 01:21:44 +00:00
thorpej
e33cde5940
Add an IRQ vector to be shared by all i80200 applications. This
...
consults the interrupt source bits in the i80200 ICU and calls
a board-specific external IRQ dispatcher if an external IRQ is
pending.
2002-01-24 01:12:40 +00:00
ross
e31435237d
sync
2002-01-24 00:45:22 +00:00
ross
ddbaa8d2e8
Tweak boilerplate to kill assembler warning (netbsd pr alpha/15119)
2002-01-23 21:33:19 +00:00
scw
86be963a27
Completely re-write wrtvid.c to make it usable during a cross-build.
...
Instead of parsing the 1st stage booter in wrtvid, use objcopy to
generate a binary image, leaving wrtvid to create the VID/CFG block.
2002-01-23 21:06:28 +00:00
thorpej
372342ce22
i80200: Call i80200_intr_init() to initialize the ICU, rather than
...
doing it ourselves.
2002-01-23 21:03:07 +00:00
thorpej
d70b940ca2
Add generic code to manipulate the i80200 ICU.
2002-01-23 21:00:12 +00:00
thorpej
361cbb0a88
Make this usable directly by assembly code.
2002-01-23 20:58:29 +00:00
thorpej
0b33a64433
Add a stub procfs_machdep.
2002-01-23 19:21:42 +00:00
uwe
2536236e11
Add notag quirk for Seagate "ST11200N SUN1.05".
2002-01-23 18:13:08 +00:00
lukem
93e58d97ac
Add support for WSCONS screenblank ioctls. From Phil Budne in [kern/15213].
2002-01-23 17:11:38 +00:00
bjh21
3985634329
Regen (sys_nosys -> linux_sys_nosys).
2002-01-23 16:14:45 +00:00
bjh21
6add1ec812
sys_nosys="linux_sys_nosys", since that's how it should be.
2002-01-23 16:14:20 +00:00
bjh21
6b940e1484
Regen (cacheflush() and remove syscall 0).
2002-01-23 15:55:51 +00:00
bjh21
8b78e49ada
Syscall 0 isn't syscall() on ARMLinux. Mark it UNIMPL instead.
2002-01-23 15:54:34 +00:00
bjh21
8a3c27fbf7
Add support for the ARM-specific syscalls in ARMLinux. These are invoked
...
by SWI numbers above 0x9f0000, but we re-map them down to somewhere just
after the end of the usual syscall range, since NetBSD doesn't handle
sparse syscall arrays well.
The only syscall I've actually implemented in this range is cacheflush(),
which was previously being mapped to fork(), causing ... interesting results.
2002-01-23 15:52:58 +00:00
pk
4df7c33bf4
Eliminate `cputyp' test from cpu_switch().
2002-01-23 15:46:03 +00:00
rafal
bc2214ed89
Rebuild after my re-arrangement of GDT entries, since this code depends on
...
the values of GBIOSCODE_SEL and GBIOSDATA_SEL.
2002-01-23 15:05:33 +00:00
rafal
37d3472889
Re-arrange GDT entries somewhat so that: (1) I can reserve the 8th entry for
...
BIOS-bug-avoidance [fixes part of my own port-i386/11299], and (2) lets you
have APM and COMPAT_MACHO in the kernel at the same time. Also comments on
the special 8th entry and what else changing some of these values affects.
OK'ed by Frank.
2002-01-23 15:02:34 +00:00
ichiro
ed09e8d901
It corrected forgetting to attach ","
2002-01-23 14:50:45 +00:00
pooka
7eb7ad4b7e
free memory allocated for suspend save area in detach
2002-01-23 11:27:59 +00:00
pk
e9b6d353de
Add missing `#ifdef SUN4U'.
2002-01-23 10:19:42 +00:00
chris
fc6b067849
Update/remove prototypes.
2002-01-22 19:14:48 +00:00
thorpej
122a3fe161
Re-add -mcmodel=large .. we'll just have to use a patched gcc
...
for now.
2002-01-22 18:57:39 +00:00
thorpej
cf6dc8e084
Update for ISA autoconfiguration changes.
2002-01-22 18:53:02 +00:00
ross
a583e1d1dc
we need the compat_13 sys_sigreturn to do osf1 emulation
...
closes port-alpha/8788
2002-01-22 18:37:06 +00:00
thorpej
470bbfb229
Update for ISA autoconfiguration changes.
2002-01-22 18:36:51 +00:00
augustss
fd7f5e11ae
Don't pretend we can handle i830; it needs a somewhat different AGP driver.
...
(I added i830 to quickly.)
2002-01-22 17:29:36 +00:00
pk
8769ef5de3
Remove out-dated dependencies on Makefile.
2002-01-22 17:04:31 +00:00
pk
6c51c2d3f4
Support for the ` Magma 2+1HS Sp' (from mouse on port-sparc):
...
- add sbus node name field to board info structure
2002-01-22 17:00:47 +00:00
pk
d29b3f6d0c
Support for the ` Magma 2+1HS Sp' (from mouse on port-sparc):
...
- allow for sbus node name matching
- get clock frequency from prom property.
2002-01-22 16:59:30 +00:00
uch
a68b39d7c2
Reset configuration of bridge order before enumerating bridge devices.
...
This is required when two or more bridges on the same bus, and some of
them are incompletely initialized by BIOS.
Reported by NAKAGAWA Yoshihisa <y-nakaga@nwsl.mesh.ad.jp>
2002-01-22 15:08:53 +00:00
uch
29d84d9a58
Add pci_bridge_foreach ().
2002-01-22 15:07:27 +00:00
minoura
1dded0f21b
Back out the previous.
...
It was my misreading from the lack of mbuf usage...
Sorry for the mess.
2002-01-22 09:37:59 +00:00
junyoung
bb6d64e459
Regen.
2002-01-22 08:33:15 +00:00
junyoung
4d71cd5c7f
Rename RAGEXL to MACH64_GR.
2002-01-22 08:32:08 +00:00
itojun
ae1b9c29e9
make sure to check address family on route cache. with IPv4 mapped
...
address we can see both AF_INET/INET6.
2002-01-22 03:53:55 +00:00
ichiro
e00f8610ea
regen
2002-01-22 03:17:28 +00:00
ichiro
c1227aa54e
supported RATOC Systems REX-USB60
2002-01-22 03:13:28 +00:00
ichiro
9684a618c1
add product
...
RATOC Systems USB serial adapter REX-USB60
2002-01-22 03:12:18 +00:00
junyoung
7ef377f884
Regen. Add Mach64 GS.
2002-01-22 02:39:59 +00:00
junyoung
1e4a315dcc
Add ATI Mach64 GS.
2002-01-22 02:35:46 +00:00
mrg
81cfc30e85
turn on BLINK & bridge
2002-01-22 01:23:18 +00:00
wiz
c244b23bfe
Fix typo.
2002-01-22 00:04:29 +00:00
is
5e5bb729dc
First draft of a Toccata driver.
2002-01-21 22:13:25 +00:00
jdolecek
ff8305bbac
Switch to MI dev/md_root.c for archs which don't have any special
...
memory disk hooks (i.e. everything except atari).
2002-01-21 21:56:57 +00:00
ichiro
8d5e7bd872
if AP is nothing, FrameLen is 3 or less.
2002-01-21 21:55:05 +00:00
manu
5e54c68a88
Fixed a bug introduced in the previous fix to mapelf:
...
we used load_psection, then ran each vmcmd and tried to relocate the failing
ones. This fails if there is two vmcmd for one section, and the second is
not a mapping (for instance a map_pagedvn and a map_zero), because the first
one gets relocated, but not the second one.
Additionnaly, it was not necessary to update the userlevel psection array:
libc stubs seems to do the job themselves.
2002-01-21 21:51:31 +00:00
ichiro
a319f48222
regen
2002-01-21 21:45:46 +00:00
ichiro
c1b363222f
fixed some products name
2002-01-21 21:43:55 +00:00
eeh
e0747a992d
Regen.
2002-01-21 18:55:26 +00:00
eeh
e7a70bc9de
Add the device id for something that claims to be an ATI Rage XL.
2002-01-21 18:51:44 +00:00
eeh
40f4f638ed
More 32-bit cleanup.
2002-01-21 18:50:36 +00:00
nsmrtks
e23bb0cb51
Fix uvm fault at startup on 040/060. (patch by minoura)
2002-01-21 17:21:52 +00:00
thorpej
efc5b2fd84
Regen; Broadcom BCM570x-related IDs.
2002-01-21 17:20:05 +00:00
thorpej
2177c5565c
* Add Broadcom Corporation vendor ID.
...
* Add 3Com 3c996 product ID.
* Add Alteon "Tigon 3" (Broadcom BCM570x) product IDs.
* Add Broadcom Corporation BCM570x product IDs.
2002-01-21 17:19:23 +00:00
nonaka
3c6fc4ebff
Fix panic at extent_free() in boot-time.
...
(ia->ia_io[0].ir_size is zero if noset iosiz in kernel config file.)
2002-01-21 16:26:58 +00:00
wiz
b36c0a5406
deamon -> daemon
2002-01-21 14:42:26 +00:00
fvdl
e4701eef88
VOP_UNLOCK + vgone --> vput, since the vnode will already have
...
a reference.
2002-01-21 13:48:51 +00:00
mrg
319101532e
- reduce INSTALL size by 2.5MB.
2002-01-21 13:47:25 +00:00
minoura
a2791dabb9
Correctly write back the updated value of the local variable to the
...
struct nfssvc_sock.
Affected only when a recordmark of RPC over TCP is fragmented to
multiple mbufs. I do not know whether this code has ever been executed :)
2002-01-21 13:21:51 +00:00
martin
f8974bfebe
Add support for ITK IX1 PnP cards.
...
Thanks to Nick Hudson for testing.
2002-01-21 12:31:42 +00:00
martin
a585d748dc
Duplicate include protection.
2002-01-21 11:38:16 +00:00
martin
6121a90ba1
Fix copy&pasto: truncate strings copied in at *their* right length, not
...
some other strings length.
Found by Arne Helme.
2002-01-21 11:37:29 +00:00
ichiro
65967c6704
Print Association status changes to the console.
2002-01-21 11:29:22 +00:00
ichiro
e08ec84292
"Association Faild" was added to "Link Stat" messages.
...
;
Implement wi_scan into wi.c.
forces if_wi to initiate one round of access point scan.
This code was written by jrb@cs.pdx.edu , modified and bug-fixed by ichiro@netbsd.org
2002-01-21 11:28:18 +00:00
augustss
12f71ce4b8
Regen.
2002-01-21 11:20:42 +00:00
augustss
8f9166873c
Add some new devices.
2002-01-21 11:20:25 +00:00
ichiro
93c743cc3b
mistake bit number of tx_rate
...
case 4 -> case 5
2002-01-20 07:26:14 +00:00
ichiro
19ae79a0b6
Upps
...
Garbage was removed.
2002-01-20 06:49:32 +00:00
ichiro
f62afb33a0
add few Information frame types
2002-01-20 06:45:22 +00:00
mrg
61d679b8c1
convert sparc64 to use `makefs' rather than vnd/newfs/mount. this severely
...
cleans up a lot of the processing here.
XXX: note that the sparc64 "INSTALL" kernel's file system has a copy of
GENERIC in /netbsd. fix this shortly.
2002-01-20 05:57:10 +00:00
ichiro
c1a93623bd
When the length of the key of WEP was 5 or less octets, WEP was set to 40Bit.
...
5.5MBps were added to ifmedia.
2002-01-20 05:39:52 +00:00
ichiro
c9cdd04709
add scan req/result RIDs
2002-01-20 04:37:04 +00:00
thorpej
e594c94727
Some prototype cleanup.
2002-01-20 03:41:47 +00:00
thorpej
ce74acf44c
XXX Local prototype for syscall().
2002-01-20 03:39:51 +00:00
shin
073b07d45d
bugfix: OHCI is bus 0, device 12 or 19, function 2 (not 0).
2002-01-20 03:34:27 +00:00
oster
71a4ca8acd
Bah.. Not sure how those ";"'s got missed :-(
2002-01-19 22:20:48 +00:00
scw
0e17fb3d6a
Make this compile again.
2002-01-19 21:13:45 +00:00
chris
e05c355470
Following on from similair change by Jason for xscale, pass the l1 page table into the map_chunk function so it can try to map the kernel in sections.
2002-01-19 18:51:58 +00:00
oster
39b858e3bf
Add new RF_* options for RAIDframe bits that are no longer built by default.
...
While we're here, enable RAIDframe (and RAID_AUTOCONFIG) by default for
architectures that I'm comfortable can deal with it being on by default.
Also: bump the number of 'raid' devices from 4 to 8, since 4 seems to
be insufficient in practise.
2002-01-19 18:45:06 +00:00
chs
b263a7eb4d
add a new flag PMAP_CACHE_VIVT for the pmap to inform the MI code that
...
that the cache is virtually-indexed and virtually-tagged (such as on the ARM),
and use this flag in the UBC code to be more friendly to those caches.
2002-01-19 16:55:20 +00:00
manu
ddd039179b
Fixes the problem with libX11.so mapping by syssgi(MAPELF): the load address
...
for the text section of libx11.so was overlapping with other ELF sections
aloready loaded, and this resulted into an ENOMEM error.
syssgi(MAPELF) uses elf32_load_psection() from syssrc/sys/kern/exec_subr.c
The problem was never experienced with load_psection() because it only has
to load one section, hence the requested address are not already allocated.
The fix is done when the initial mapping at the default address fails by
finding a free location in the VM space using uvm_map_findspace(), and then
retrying to load the section.
Other details:
- once the ELF section has been relocated, the ELF program header must be
updated with the new address and copied back to userland. For now we always
do it, maybe we could copy it only when it was modified.
- We are able to emulate the exact address where IRIX loads libX11.so instead
of the default location
2002-01-19 14:56:02 +00:00
mrg
194652a3c1
update to reality, even if it still does not quite work.
2002-01-19 14:49:18 +00:00
shin
69d0f55255
add VR4131 cache-op bug workaround code.
...
we can't use Hit_WriteBack_Invalidate.
2002-01-19 04:25:36 +00:00
eeh
de4c6a980a
Remove some DEBUG code.
2002-01-19 03:30:54 +00:00
eeh
160abd5faf
Remove some obsolete code.
2002-01-19 03:16:38 +00:00
eeh
112afe4fa4
Fix a few more bugs.
2002-01-19 03:02:34 +00:00
oster
9872e4c410
Let's not bother building a number of infrequently used RAID types.
...
The code is still there if people want it, but these other RAID
types (using various DECLUSTERING and SPARING techniques) arn't being
used in practise. Saves about 100K on i386 GENERIC kernels.
2002-01-19 02:50:54 +00:00
oster
e38e358cb2
Only include some debugging printf's if DEBUG is defined.
2002-01-19 01:51:51 +00:00
jdolecek
ec531589ce
couple cosmetic style fixes, and drop ^L's
2002-01-18 22:39:12 +00:00
ross
8828878167
Fix bug which prevented SIGFPE delivery
2002-01-18 22:15:56 +00:00
jdolecek
74c54977ea
drop completely superfluous PRINT() macro
2002-01-18 21:59:41 +00:00
thorpej
d2ee788a90
Document the CONUNIT and CONSPEED config options.
2002-01-18 19:47:38 +00:00
thorpej
d25c8d3cac
Allow the console unit to be overridden with the CONUNIT configuration
...
option.
2002-01-18 19:47:05 +00:00
fvdl
9e4014046f
Unlock vnode before calling vgone() in case of getattr failure during
...
nfs_nget. Fixes problem reported by Chuck Cranor.
2002-01-18 18:59:24 +00:00
toshii
ee99b636ab
Add back a missing key mapping for Japanese jornada720.
2002-01-18 15:27:26 +00:00
shin
b886a869ed
add support for LASER5 L-Router.
2002-01-18 13:51:01 +00:00
ichiro
0c0bcf42a6
to use 104bit WEP key
2002-01-18 11:41:49 +00:00
enami
ac35ac58f5
- For CIRCLEQ, comparing the loop variable against NULL doesn't make sense.
...
- Minor KNF while I'm here.
# This doesn't fix real problems though.
2002-01-18 00:30:03 +00:00
thorpej
940aa6cbf5
Add cpwait's after TLB operations.
2002-01-17 23:56:01 +00:00
bjh21
6ad60873c2
More-or-less working signal handling for Linux processes on ARM.
2002-01-17 22:50:38 +00:00
eeh
85bf931596
Be more tolerant of unaligned stack pointers.
2002-01-17 22:23:47 +00:00