Commit Graph

66277 Commits

Author SHA1 Message Date
cl 0dd1fb3d17 regen 2003-09-23 18:32:12 +00:00
cl 7e40a36c7f catch up with sys___sigaction14 compat_16 rename 2003-09-23 18:31:03 +00:00
nathanw b1a13994b7 When the syscall was made a compat syscall and the function name
changed to compat_16_sys___sigaction14, the name of the _args
structure chaged as well.
2003-09-23 17:59:48 +00:00
thorpej f0d728e698 Avoid a type punning warning in the MALLOC_DEBUG case. 2003-09-23 16:36:59 +00:00
bouyer 5a2aac1c7c Fix a typo that prevented pre-ata drives from working since 1999. 2003-09-23 16:27:10 +00:00
dyoung 847c5ca1c6 More changes following this pattern:
#ifdef __FreeBSD__
	/* FreeBSD-ism */
#else
	/* NetBSD-ism */
#endif
2003-09-23 16:03:46 +00:00
dyoung 20a915d375 Put FreeBSDisms in #ifdef __FreeBSD__, and add the equivalent
NetBSDisms.
2003-09-23 16:01:21 +00:00
dyoung 608fc21500 Make ieee80211_unref_node compile.
#ifdef __FreeBSD__ a lot of lines, and put the NetBSDisms into the #else
half.

Add ieee80211_node_{dec,inc}ref to ieee80211_node.h.
2003-09-23 15:59:09 +00:00
dyoung 1c4de65baa Make if_printf more nearly match FreeBSD's, and make it compile.
Remove ieee80211_node_{dec,inc}ref (they go to ieee80211_node.h).
2003-09-23 15:57:25 +00:00
shige dc98452dce Copy PCI codes for IBM405GPx from evbppc/walnut/pci/{pchb.c,pci_machdep.c}. 2003-09-23 15:30:22 +00:00
shige 03467d74b5 Add devices info for IBM405GPR. 2003-09-23 15:26:46 +00:00
shige 91be153592 Add global cpu_model variable. 2003-09-23 15:25:26 +00:00
shige e20e959b37 Copy IBM4xxGPx specific autoconf code from evbppc/walnut/autoconf.c. 2003-09-23 15:24:15 +00:00
shige a8dd07e005 Copy IBM4XX OpenBIOS locore.S from evbppc/walnut. 2003-09-23 15:21:58 +00:00
shige fc29eb23bf Add some PCI definitions listed in evbppc/include/walnut.h. 2003-09-23 15:19:05 +00:00
shige 2977d5a89a Add IBM40x specific machdep functions. 2003-09-23 15:14:02 +00:00
shige 87f629a7b8 Add IBM405GPr PVR. 2003-09-23 15:10:05 +00:00
shige 94959351e8 Add IBM405GPx specific kernel configuration file. 2003-09-23 15:06:40 +00:00
shige ee990c494d Move todclock driver from evbppc/walnut/dev. 2003-09-23 15:01:50 +00:00
shige ff6df75f63 Add on-chip IIC driver.
Add some definitions for IIC driver.
2003-09-23 14:56:08 +00:00
shige 9c7b98f8ce Add new evbppc port.
This port is for OpenBlockS266.
OpenBlockS266: IBM405GPr OpenBIOS.
X1226 is a rtc chip connected with IIC bus.
2003-09-23 14:45:12 +00:00
christos 643e2f262c Regen 2003-09-23 14:34:38 +00:00
christos b601ca6ba8 __sigaction14 should have been COMPAT_16 a while ago. GC it now. 2003-09-23 14:34:07 +00:00
christos 24915aa1a2 Regen. 2003-09-23 14:33:34 +00:00
christos cf3a45c8c1 Make this compile and link properly. 2003-09-23 14:33:24 +00:00
pooka 4915f83148 Make isdntel hangup via /dev/isdnteld work by digging out the correct
soft context and using it instead of the incorrect one.

Also, don't bother to crash the kernel if we try to hangup a non-connected
dialer, simply return an error.
2003-09-23 14:15:59 +00:00
cl 3337c2e727 move #defines back to frame.h 2003-09-23 11:33:50 +00:00
scw 6b19830ebb Tweak register usage to shave a couple of instructions off
the Xscale code.
2003-09-23 10:01:36 +00:00
mycroft f9d629fb93 Fix more probe delay and/or failure problems:
1) Don't wait for DRQ on an IDENTIFY command -- if it's not set when we see
   BSY clear, abort the command and ignore the drive.  (Do this by testing
   for DRQ in the read/write cases in __wdccommand_intr().)
2) Don't wait for DRQ to deassert when we finish an IDENTIFY (or any other
   non-block command that reads data) -- we don't do this for block I/O, and
   empirically it doesn't clear on my CF cards at all, causing a pointless 1s
   delay.
3) Add comments to some of the delay()s, and add missing ones in wdcreset()
   and the WDCC_RECAL in the so-called "pre-ATA" probe.
4) Slightly simplify the reset sequence -- we were doing an extra I/O.
5) Modify the register writability test to make sure that registers are not
   overlapped -- this can happen in some weird cases with a missing device 1.
6) Check the error register value after the reset -- if it's not 01h or 81h,
   as appropriate (see ATA spec), punt.
Tested with a number of ATA-only, ATAPI-only, mixed ATA-ATAPI, CF, and IDE
disk configurations.

Also remove the SINGLE_DRIVE nonsense again.
2003-09-23 09:19:22 +00:00
simonb 5a696d0850 Fix uninitialised variable introduced with previous change.
Patch from mlelstv.
2003-09-23 09:16:07 +00:00
mycroft 07da406c30 GC a structure element. 2003-09-23 09:11:43 +00:00
yamt 67a5559821 cleanup IN_ADIROP/VDIROP handling a little. 2003-09-23 05:26:49 +00:00
yamt e2fbe9d54d remove unnecessary externs of lfs_do_flush. 2003-09-23 05:26:12 +00:00
skd f3de6832d9 Additional definitions as per SATA specifications.
Approved by Manuel Bouyer.
2003-09-23 03:55:59 +00:00
itojun ec5e739b46 extra blank line 2003-09-23 00:03:05 +00:00
cl c49d4a7e55 pass signo to fownsignal #ifdef ALTQ 2003-09-22 20:49:39 +00:00
thorpej ddfcdc4f1f Add support for dynamically attaching and detaching RAID array units. 2003-09-22 18:31:10 +00:00
jandberg bc88a03488 regen after wsmouse addition 2003-09-22 18:29:05 +00:00
jandberg 05be5081d9 added wsmouse 2003-09-22 18:23:01 +00:00
jandberg 448afe509a add wscons support to amiga mouse 2003-09-22 18:17:30 +00:00
tsutsui 75ae5bc4d8 Count clock interrupts.
clock_intr() functions on sun3 are called directly without dispatchers.

XXX should use evcnt(9)?
2003-09-22 17:53:46 +00:00
matt 8012bf2926 Make COMPAT_xx imply all later COMPAT_yy. (COMPAT_09 implies all whereas
COMPAT_14 just implies COMPAT_1[56]).  This means COMPAT_xy implies NetBSD
compatibility for NetBSD x.y OR LATER.
2003-09-22 17:26:14 +00:00
tsutsui e1e026b917 KNF a bit. 2003-09-22 17:21:51 +00:00
tsutsui da943b106a Remove #ifdef _KERNEL inside #ifdef _KERNEL. 2003-09-22 17:11:46 +00:00
tsutsui 4c224a510b - replace a magic number with macro
- some KNF
2003-09-22 16:54:14 +00:00
cl 95bf6d89d8 SA_SIGINFO support for m68k (compat svr4) 2003-09-22 14:47:35 +00:00
cl 11af0a3c8d SA_SIGINFO support for m68k (emul linux) 2003-09-22 14:36:42 +00:00
cl 6821f967f5 SA_SIGINFO support for m68k (compat hpux) 2003-09-22 14:35:58 +00:00
cl bf9728e0db SA_SIGINFO support for m68k (compat sunos) 2003-09-22 14:34:57 +00:00
cl 9b18b6fa61 regen 2003-09-22 14:32:15 +00:00