Commit Graph

42698 Commits

Author SHA1 Message Date
fvdl 0bda0568cf Regen. 2000-12-18 14:37:36 +00:00
fvdl 41623d32a2 Update for Linux calls with 32 bit uids/gids. 2000-12-18 14:37:17 +00:00
fvdl 8839755950 Update for 32 bit Linux uid/gid calls. 2000-12-18 14:36:35 +00:00
jdolecek 214db5ca6b Store edx to rval[1], so that it won't get zeroed spuriously - this made
shared FreeBSD binaries coredump.
This solves port-i386/11708 by Atsushi Onoe.

XXX it may be worth it to split FreeBSD syscall code off syscall.c similar way
XXX as other emulations
2000-12-18 11:37:08 +00:00
jdolecek f66ae436e9 make compilable without KTRACE, too 2000-12-18 08:53:39 +00:00
minoura 6f08eabd1f %reg -> %%reg in asm() directive. 2000-12-18 02:46:49 +00:00
bjh21 c25ab2f1ec Rudimentary facilities for extracting the card's Ethernet address from the
ROM.  Only works on one of my two cards, though.  It looks like we'll need
to use the RISC OS loader on the podule to get this right.  *mutter*
2000-12-18 00:46:47 +00:00
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
thorpej f41028779b Add back the code that clears "odd" in VCHR. This shouldn't be
necessary, but we haven't made X cope with the wierd size yet.
2000-12-17 22:23:12 +00:00
pk 065dbd3604 Make pointer formats work with a 32-bit compiler. 2000-12-17 21:54:20 +00:00
pk 4bcb826e27 Cast a `bus_addr_t' argument to `u_long' for `%lx' format (XXX..) 2000-12-17 21:50:14 +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
jdolecek 5c6130a2b1 hum, use freebsd_setregs for FreeBSD ELF binaries (this bug was introduced with
the execsw[] changes)
2000-12-17 21:36:49 +00:00
thorpej 0a8ec4baf3 Add an at isapnp. 2000-12-17 20:35:45 +00:00
thorpej 19c3f4691f ISAPnP front-end for the Aironet 802.11 cards. Note this is currently
untested.
2000-12-17 20:34:40 +00:00
thorpej 5b67bb41a2 Regen; added Aironet 802.11. 2000-12-17 20:17:20 +00:00
thorpej 8c28f8f467 Add Aironet ISAPnP device ID. 2000-12-17 20:16:03 +00:00
bouyer 179157be03 Fix a reversed test.
Partial fix for kern/11726: now the kernel find the drives, but panics
after a device has been mounted.
2000-12-17 19:35:23 +00:00
jdolecek 6665bd7a9d add compat_util.c goo so that this doesn't depend on emul_find()
being available in the running kernel
2000-12-17 16:21:12 +00:00
jdolecek 5803fc683f add emul_find() goo, so that this doesn't depend on emul_find() being already
present in kernel
add (commented out) COMPAT_43, COMPAT_12, COMPAT_09 stuff needed for this
LKM to load
2000-12-17 16:20:23 +00:00
jdolecek 29fd738f28 make LKM safe 2000-12-17 16:15:54 +00:00
jdolecek cec7e3ceca regen 2000-12-17 16:14:40 +00:00
jdolecek b436e7bba3 add emulation of FreeBSD utrace(2) 2000-12-17 16:11:38 +00:00
jdolecek d2a0c208d5 add FreeBSD-compatible KTR_USER/KTRFAC_USER 2000-12-17 16:04:51 +00:00
jdolecek aca80bc6f2 use LKM name "compat_FOO", which matches name of the resulting LKM .o file 2000-12-17 16:00:37 +00:00
jdolecek df68499f38 make LKM safe 2000-12-17 15:55:47 +00:00
jdolecek cacec11253 delete obsolete comment 2000-12-17 15:52:39 +00:00
ad b5aee7bd4c Thinko. 2000-12-17 14:46:43 +00:00
ad 3b02b279aa Regen. 2000-12-17 13:56:19 +00:00
ad d092cb0d0a Sync with PixelStamp drivers. 2000-12-17 13:56:05 +00:00
ad 553c5108d4 Add wscons drivers for the DEC PixelStamp graphics accelerators. 2000-12-17 13:52:03 +00:00
itojun 60fa2b29af fix typo in function name (rn_satsifies_leaf -> satisfies). indent.
split rn_inithead() into two function - i'm putting some hook around here.
2000-12-17 10:23:19 +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
jmc 2967c3fac3 In fdcattach() reset the controller before moving on as some probes (ala pnpbios) may not have reset during match 2000-12-17 07:37:31 +00:00
eeh 519aef8cf4 Make sure bits in the flags are disjoint. 2000-12-17 06:18:21 +00:00
briggs d25ab824c8 Back out previous change. It appears to be in error. There is something
else that is causing the esp driver on the mac68k to fail miserably.
2000-12-17 04:38:29 +00:00
briggs 0debc0e91e At least the 53c96 does not work with the selatn3 command. Disable it
for both the 53c94 and 53c96.  This also addresses PR port-mac68k/11716.
2000-12-17 03:29:03 +00:00
scw 7fb03460dc Sprinkle some register prefixes in the asm() statements. 2000-12-16 22:59:32 +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