fvdl
d97eddb8d3
Remove fs and gs kludge.
2002-07-14 12:29:59 +00:00
fvdl
ee925d3924
Consistently handle segment selectors in traps and interrupts.
2002-07-14 12:20:45 +00:00
wiz
b086d19bf7
Add simple_lock_unlock.
2002-07-14 10:40:54 +00:00
wiz
fed48e80ae
Unifdef __STDC__.
2002-07-14 09:59:23 +00:00
gmcgarry
f289290626
simple_lock_unlock -> simple_unlock
2002-07-14 04:08:42 +00:00
oster
9a86d198bb
Oops... one more #include can disappear.
2002-07-14 03:20:12 +00:00
oster
1c1010f7e7
Nuke unneeded #include.
2002-07-14 03:16:06 +00:00
oster
3995c18b9e
Remove incorrect comment.
2002-07-14 03:04:02 +00:00
thorpej
4616eedacf
Document exactly what the problem with TCP/UDP checksum offloading is.
2002-07-14 01:34:00 +00:00
thorpej
bc09351189
And thus spake the manual...
...
When initializing a TCP/IP context descriptor, even if a checksum
offload feature is not going to be used, the IPCSS and TUCSS fields
must be initialized.
2002-07-14 01:12:28 +00:00
wiz
e58b7d4682
ANSIfy. Remove ifndef __STDC__. Remove __P().
2002-07-14 01:01:10 +00:00
wiz
84dd8f31fd
ANSIfy. Remove ifndef __STDC__. Remove __P(). Remove register.
2002-07-14 00:58:30 +00:00
thorpej
209a807d3d
Correct the description of two bits in the TCP context descriptor.
2002-07-14 00:56:22 +00:00
wiz
c807c0dfe6
Finish ANSIfication. Remove ifndef __STDC__.
2002-07-14 00:37:46 +00:00
wiz
aae9c2a083
De-register.
2002-07-14 00:30:02 +00:00
wiz
131109e49e
ANSIfy. Remove ifndef __STDC__.
2002-07-13 23:56:39 +00:00
thorpej
7ba40961d6
Add a BGE_QUIRK_CSUM_BROKEN quirk, and give it to BCM5700 B0, rather
...
than testing for the revision all over the driver. If the chip has
broken checksums, then don't advertise the capability to the stack.
2002-07-13 22:48:40 +00:00
thorpej
0ff52204b9
Give BCM5700 Ax and Bx revs the BGE_QUIRK_LINK_STATE_BROKEN quirk,
...
and test for that, rather than checking revision where the quirk is
handled.
2002-07-13 22:31:18 +00:00
thorpej
dcebb2bf0d
Add a lookup table with ASIC revision, name, and any quirks. Print
...
ASIC revision at attach time. Add BCM5703 revisions.
2002-07-13 22:21:20 +00:00
itojun
d67bce4593
no need to bzero() twice. from he@netbsd
2002-07-13 21:04:55 +00:00
oster
76e98667c5
Nuke a redundant wakeup().
2002-07-13 20:54:57 +00:00
oster
ef989419d9
Nuke a redundant check.
2002-07-13 20:51:54 +00:00
oster
bc8ead0c0a
Most folks won't need the DAG printing and verification routines.
...
Introduce a #define to toggle them on/off. Disable calls to
rf_PrintDAGList(). Saves ~6K on GENERIC+DEBUG kernel on i386.
2002-07-13 20:14:33 +00:00
oster
1beb201fc3
rf_ValidateDAG isn't something that we want to even consider
...
calling unless DEBUG is turned on.
2002-07-13 20:01:13 +00:00
oster
28ce42a2bb
Minor cleanup.
2002-07-13 19:59:26 +00:00
oster
33643c74c5
rf_compute_workload_shift() is only used by the CHAINDECLUSTER stuff,
...
so only include it if needed.
2002-07-13 19:56:55 +00:00
oster
69fb0af058
Nuke a redundant check that raidPtr->valid is true.
2002-07-13 19:35:34 +00:00
oster
8fcfe433d8
No need to unlock and then immediately relock a mutex.
2002-07-13 17:47:44 +00:00
oster
38f0cae9e2
- don't be quite so chatty.
...
- if we need to print stuff, print out which raid device the information
is related to (where applicable).
2002-07-13 17:24:41 +00:00
oster
73eaafcf06
As suggested by MRG, if we have an autoconfig set for root, we should
...
set booted_device, even if RB_ASKNAME is set. That way the appropriate
device gets set as the default when it asks where you want to look for /.
2002-07-13 17:04:09 +00:00
oster
acb6f97235
Cleanup unneeded #includes.
2002-07-13 16:53:44 +00:00
toshii
5e1f92b4ef
If "-f" is given, don't set errc on dependency add failure.
...
This change makes "pkg_add -f" work as it used to be.
2002-07-13 16:38:00 +00:00
toshii
aa2f38ff11
Recognize hpcboot's "b=xx" option, which specifies the root device to use.
2002-07-13 13:40:28 +00:00
drochner
79c6003c2b
make sure struct proc and struct frame are declared
2002-07-13 12:30:11 +00:00
itojun
d97f14e190
use snprintf. inspired by openbsd change
2002-07-13 11:35:35 +00:00
martin
5d9a5f68c8
Use "mono_time" instead of "time" for timeout calculations.
2002-07-13 11:08:03 +00:00
scw
bef00d4895
m68k syscall rototill:
...
- Switch all m68k-based ports over to __HAVE_SYSCALL_INTERN.
- Add systrace glue.
- Define struct mdproc in <m68k/proc.h> instead of <machine/proc.h>.
(They were all defined exactly the same anyway, other than a couple
of the MDP_* flags.)
2002-07-13 08:28:40 +00:00
isaki
b35fcc7d5a
- Use HZ mechanism.
...
Pointed out by Perry E. Metzger <perry@piermont.com> on port-x68k.
- Correct microtime() value.
2002-07-13 05:55:26 +00:00
thorpej
7d85789f0a
Move the BCM5401 DSP patch out of the bge driver and into
...
the brgphy driver; all users of the BCM5400 and BCM5401 need
the DSP patch and the sledgehammer-reset-at-media-set-time.
Also add a DSP patch for the BCM5411 gleaned from Apple's
GMAC driver for Darwin.
Tested with a 3Com 3c996-T (BCM5700 + BCM5401).
2002-07-13 01:23:27 +00:00
enami
f216ec52a0
Match Altima AC1001.
2002-07-12 22:29:14 +00:00
enami
2bb480867f
Regen.
2002-07-12 22:27:55 +00:00
enami
d5138d122f
Add product id of Altima AC1001.
2002-07-12 22:26:32 +00:00
scw
d911ae5d57
SH5 systrace(5) glue.
2002-07-12 20:43:12 +00:00
scw
e6115d56d5
Add some devices which should be present in the latest simulator.
2002-07-12 20:41:55 +00:00
scw
6daca7f652
Ditch the "simulated clock" hack. It would never really have worked,
...
and the latest simulator won't need it anyway.
2002-07-12 19:52:21 +00:00
scw
e9688612da
Make it so kernels can be compiled for 32-bit or 64-bit with a
...
simple config file option.
Also, don't hard code the endian setting in a header file. Rely instead
on the compiler defining __LITTLE_ENDIAN__ and DTRT as appropriate.
2002-07-12 19:33:27 +00:00
scw
3a5b311011
Cast a pointer to uintptr_t before comparing with a long int.
2002-07-12 19:27:32 +00:00
scottr
3b09fcde6d
Correct misplaced #endif that causes compile-time error if
...
neither M68040 nor M68060 are configured into the kernel.
2002-07-12 18:53:16 +00:00
wrstuden
e3fc9184bd
cscope.out target needs depend too, zap old comments
2002-07-12 17:48:23 +00:00
scw
c02c1c7cd2
Clean up <sh5/asm.h> to be more 64-bit friendly.
...
Clean up the kernel asm files to be less 32-bit dependent.
2002-07-12 15:42:27 +00:00