mycroft
ba50df223e
Take a stab at making this compile, at least.
2003-09-24 07:15:52 +00:00
itojun
8d9a724638
on arplookup() failure, nuke cloned route - otherwise outsider could use massive
...
number of bogus ARPs for DoS attack. FreeBSD-SA-03:14.arp
2003-09-24 06:52:47 +00:00
matt
9c8a5009b3
Define va_list as __builtin_va_list for GCC 3.x. Change stdarg macros
...
appropriately. (this is committed from a system run a kernel and userland
built with these changes).
2003-09-24 02:39:56 +00:00
thorpej
544359b9a2
- Make CCB allocation slightly more efficient by changing how the
...
CCB is returned to the caller.
- Make code paths that can use twe_ccb_alloc_wait() use it, and assert
that a CCB is always returned from that function.
- Assert that a CCB is always returned when allocating the reserved CCB
for an AEN fetch.
2003-09-23 23:50:04 +00:00
thorpej
765ddabe83
Add a comment clarifying why we clear TWEF_AEN in twe_reset() now.
2003-09-23 23:10:53 +00:00
thorpej
1cad401c12
Separate the AEN fetching path into its own special path that uses the
...
reserved CCB. This means that all remaining callers of twe_param_get*()
are called from a valid thread context, and thus have no need to use a
reserved CCB. This will allow for further cleanup in a future commit.
2003-09-23 23:08:54 +00:00
mycroft
ab223e99bc
Allow a device to reject CLEAR_FEATURE ENDPOINT_STALL (with a STALL) -- the
...
assumption being that the device will never use a STALL of a non-control pipe,
I guess.
2003-09-23 21:44:42 +00:00
mycroft
df8e298ddb
Small changes -- if your controller clears DRV_BUSY when recalibrate completes,
...
you get lucky and the probe is faster. A more complete fix will require making
the probe use interrupts, since there is no reliable way to poll.
2003-09-23 21:36:07 +00:00
martin
1f68fd5144
Same treatment as libc/hash/sha1.c: ifdef the sparc64 compiler bug
...
workaround for old gcc only.
2003-09-23 20:00:43 +00:00
martin
d505bdda83
Fix rx buffer size bitmask, do not explicitly set burst length and use 1536
...
bytes buffers, so this driver can finally cope with full size ethernet
packets. From Peter Bex.
2003-09-23 19:37:39 +00:00
cl
cf9f62a8e7
catch up with sys___sigaction14 compat_16 rename
2003-09-23 18:54:24 +00:00
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