Commit Graph

52953 Commits

Author SHA1 Message Date
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