Commit Graph

24796 Commits

Author SHA1 Message Date
tsubai 9812c28653 Clean up unused variables. 2000-12-17 23:24:25 +00:00
tsubai 600a78f5a5 Move variable tickspending to clock.c; it's used in only clock.c. 2000-12-17 23:16:22 +00:00
tsubai 00940e9045 Switch to the idle stack in the idle loop. 2000-12-17 22:57:35 +00:00
jmc 3926121843 Comment out the isa wss driver.
GENERIC is the kernel used on new installs and too many things overlap the
resources (irq mostly) the default isa version may be using which causes
panics on reboot.
2000-12-17 22:53:52 +00:00
pk c421b5eb92 Pull over revision 1.23 from sparc:
Fake a label only if it appears to be blank, and if so use RAW_PART
	instead of 0.
2000-12-17 22:39:18 +00:00
bjh21 4942923809 Handle detecting the available media and state of medium selection links
on EtherLan 100 (and presumably 500) boards.
2000-12-17 22:29:26 +00:00
pk 065dbd3604 Make pointer formats work with a 32-bit compiler. 2000-12-17 21:54:20 +00:00
pk 51dca5ed7c Fix printf() pointer formats & make them work with a 32-bit compiler. 2000-12-17 21:43:54 +00:00
pk 4d082438e0 Literal `%' in format string => `%%' 2000-12-17 21:42:21 +00:00
pk 107489f7a1 Remove spurious `#define DEBUG' 2000-12-17 21:41:43 +00:00
thorpej 0a8ec4baf3 Add an at isapnp. 2000-12-17 20:35:45 +00:00
jdolecek cacec11253 delete obsolete comment 2000-12-17 15:52:39 +00:00
jmc d1c6f1123f Add pnpbios_getiosize 2000-12-17 07:59:14 +00:00
jmc 50445038df Change the attach routine so it handles all the known cases that pnpbios
returns for floppy controllers i/o ports. i.e.

1. 1 range of length 4 (which conveniently "forgets" the ctl i/o port),
2. 2 ranges: 1 of length 4 and the ctl i/o port.
3. 1 range of length 6 which goes to the end of the ctl i/o.

Make this line up with the MI fdc code by mapping in a range of 4 on the
base i/o and then either direct or submapping the ctl i/o. In the one case
where the BIOS lies and says it's not there just map it in anyways. (but note
the fact to the end user).
2000-12-17 07:58:37 +00:00
mycroft f25d5fc601 Fix another obvious linesw problem. 2000-12-16 21:16:22 +00:00
mycroft 8a6c4ba10b Fix an obvious braino in the line discipline change. 2000-12-16 21:09:18 +00:00
bjh21 72735aa75a Correct embarrassing null-pointer-dereference bug. Also fixes interrupt
enabling.
Default to 10base2 for now, since automatic media selection doesn't work.
2000-12-16 18:24:36 +00:00
bjh21 3ebcd51009 I think bit 0 of the status register is the interrupt status on read. 2000-12-16 18:23:14 +00:00
bjh21 3c5709c088 Separate out checkvectors(), so it can be used elsewhere for debugging. 2000-12-16 16:45:11 +00:00
simonb 4cf1e73334 Use sys/conf/newvers_stand.sh instead of local script. 2000-12-16 04:20:24 +00:00
tsutsui e9da06d897 Add options COMPAT_LINUX (sync with GENERIC). 2000-12-15 18:19:03 +00:00
itohy cf27186531 Remove empty lines from cpp output since make doesn't seem to like them. 2000-12-15 07:16:36 +00:00
tsubai 0763c14571 Make this compile again. 2000-12-15 01:16:48 +00:00
thorpej cd414d81ab Glue in ALTQ. 2000-12-14 23:55:31 +00:00
jeffs 1c726aab7f For MIPS software masking option, when returning to user mode apply
the mask to all interrupts to catch changes in the mask state faster.
Does not affect platforms w/o this option enabled.
2000-12-14 21:29:51 +00:00
jeffs 19adf5c987 Make userret() "static __inline". This lets it be inlined, even if you
do not have the compiler inline normal functions to save space.  It helps
a bit on lmbench.
2000-12-14 21:24:53 +00:00
bjh21 395a883e48 Pull across arm32 rev 1.19:
Remove ALTENTRY().  It's dangerous and should not be used.
2000-12-14 20:50:56 +00:00
mycroft fbcb53e0b5 Sync with -current, add COMPAT_LINUX. 2000-12-14 20:46:06 +00:00
bjh21 e266a563d8 Filter out non-ASCII characters from podule descriptions.
I think my MIDI card had a \r at the end, which was confusing.
2000-12-14 20:40:29 +00:00
scw 5cabdd3709 Some snippets of documentation for mvme68k... 2000-12-14 20:30:14 +00:00
bjh21 84d111ea01 Move RCSID to the end of locore so it doesn't end up in zero page if we
compile with an asm.h which doesn't know about section .ident.
2000-12-14 20:30:03 +00:00
bjh21 a6b4048c85 Get ELF RCSIDs back 2000-12-14 20:26:42 +00:00
mycroft e06ad67fa5 Remove ALTENTRY(). It's dangerous and should not be used. 2000-12-14 20:15:26 +00:00
bjh21 14198dc0bd Sync with arm32 -- they've got ELF stuff there these days. 2000-12-14 19:28:12 +00:00
bjh21 acff6e4375 Use _C_LABEL rather than _C_FUNC. 2000-12-14 19:22:39 +00:00
marcus 724713366e Made weak_alias create correct labels on sh-elf. 2000-12-14 18:47:30 +00:00
mycroft c0d0ffef4e Some #ifdefs to make LKMs happy. 2000-12-14 18:44:20 +00:00
mycroft 33d5c07c1b Clean up #includes. 2000-12-14 18:34:59 +00:00
mycroft 1b77a6e458 Add COMPAT_LINUX. 2000-12-14 18:28:30 +00:00
mycroft 3c073877f3 osf1_locore.s -> osf1_sigcode.s, to match the global convention.
Add linux_syscall.c.
2000-12-14 18:06:13 +00:00
mycroft 3418812d3c Partial syscall cleanup, as per other ports. 2000-12-14 10:33:42 +00:00
martin ee0eb24c13 Don't include opt_*.h if compiling as LKM. 2000-12-14 10:24:42 +00:00
onoe a7125e435c Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...
2000-12-14 04:11:25 +00:00
mycroft 0a01b4476a Do the previous with a forwarding declaration of struct proc instead. 2000-12-14 00:41:50 +00:00
mycroft 473eee8c82 Wrap mdproc in #ifdef _KERNEL. 2000-12-14 00:38:20 +00:00
jdolecek ca57e681bd g/c obsolete vtrace(2) stuff 2000-12-13 18:13:05 +00:00
kleink 7ed30e9594 This code wasn't written in Utah or Berkeley. 2000-12-13 09:41:57 +00:00
mycroft 008f44277d Do the fast/slow path separation, a la x86. 2000-12-13 07:53:58 +00:00
mycroft 108d17eb16 Do the md_syscall, __HAVE_MINIMAL_EMUL and __HAVE_SYSCALL_INTERN thangs. 2000-12-13 03:16:36 +00:00
mycroft 716c484ada Remove unnecessary #includes. 2000-12-13 01:24:46 +00:00