augustss
42a78db8f1
Regen.
2002-07-14 20:52:30 +00:00
augustss
1f7f7ee488
Add a scanner (from OpenBSD).
2002-07-14 20:52:11 +00:00
thorpej
c2a0c6fe7c
Add a missing ":" when printing the delay constant message.
2002-07-14 19:42:58 +00:00
drochner
08285ba648
explicitely set ds, es, fs and gs to 0 before calling kvm86;
...
use the right places in the trap frame (the 4 segment registers which
get loaded on a rti to VM86 mode) to set them for BIOS calls
(we have never set them to anything but 0 before, so it didn't matter)
2002-07-14 14:39:44 +00:00
drochner
ff2b8f83ec
fix typo which made textmode check always succeed
2002-07-14 13:56:20 +00:00
fvdl
c24cb24f0d
Update comment.
2002-07-14 12:30:36 +00:00
fvdl
ee925d3924
Consistently handle segment selectors in traps and interrupts.
2002-07-14 12:20:45 +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
thorpej
209a807d3d
Correct the description of two bits in the TCP context descriptor.
2002-07-14 00:56:22 +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
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
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
scw
1664941b2c
Blah, missed a comma.
2002-07-12 13:37:32 +00:00
rafal
fa5c0332f8
Fix PR port-sgimips/17568: the PROM on early Indigo2 machines did not like
...
the ECOFF version of boot produced by `objcopy'. Using elf2ecoff make it
work, so use that instead. Also, don't bother stripping the bootblocks on
install (as that confuses strip, at least for the ECOFF one, and since the
build already strips them).
2002-07-12 13:04:03 +00:00
scw
2675306718
Add IEEE FP mode control functions and definitions for SH5.
2002-07-12 12:20:24 +00:00
scw
67ea1085eb
Add MD procfs stub for SH5.
2002-07-12 11:20:12 +00:00
scw
270555326f
More SH5 toolchain hacks: Don't define _BSD_WCHAR_T if compiling C++.
2002-07-12 11:19:08 +00:00
matt
bbab86c27b
Enable COMPAT_LINUX
2002-07-12 05:30:24 +00:00
thorpej
b13f958c53
Match the BCM5421, found on the Apple Xserve. From Matt Thomas.
2002-07-12 04:00:10 +00:00
simonb
0e084cea1c
Add a comment; fix white-space niggle.
2002-07-12 00:40:00 +00:00
simonb
bb0c5d7d98
Don't need to include <sys/malloc.h>, <machine/locore.h> or
...
<uvm/uvm_extern.h> here.
2002-07-12 00:27:18 +00:00
simonb
85c8470e73
Fix a typo in a comment.
2002-07-12 00:23:04 +00:00
scw
f0643885eb
Fix a mem_region botch:
...
physmemr and availmemr both need to be arrays, where the last element
has `size' set to zero to act as a terminator.
2002-07-11 21:50:22 +00:00
augustss
ca8d36994e
Add a quirk for Trumpion device (extracted from OpenBSD).
2002-07-11 21:42:23 +00:00
augustss
8db4c51ebe
Regen.
2002-07-11 21:41:32 +00:00
augustss
5128e283d3
Add Trumpion device (from OpenBSD).
2002-07-11 21:41:12 +00:00
yamt
43b3a8007f
don't access freed memory.
2002-07-11 21:37:51 +00:00
scw
60fb656ee5
Validate the branch target registers and saved PC using the
...
appropriate macro.
2002-07-11 21:23:30 +00:00
scw
14013f679d
Add a macro which verifies that a 64-bit value is a valid effective
...
address as defined by the cpu's Implemented Effective Address bits.
2002-07-11 21:21:58 +00:00
yamt
c56faa76d8
don't access freed memory.
2002-07-11 21:21:53 +00:00
scw
d08670adc8
Sync with reality.
2002-07-11 21:20:23 +00:00
augustss
86650920c9
Get rid of trailing white space.
2002-07-11 21:14:24 +00:00
perseant
8f30dc2c9b
Remove lying comment on SEGM_PROT seglock.
2002-07-11 21:09:00 +00:00
matt
b35e786de2
Add a linux_syscall_intern entry (appropriately ifdef'ed COMPAT_LINUX).
...
When/if PPC ever supports LKMs, this should be moved to a separate file.
2002-07-11 19:32:43 +00:00
jdolecek
adaf086af4
do not install apbus.h, apcall.h, romcall.h
2002-07-11 19:04:19 +00:00
thorpej
37422dde7e
Add 64-bit quirk for the Accton EN1407-T/Planex GN-1000TE. IDs provided
...
by SAITOH Masanobu <msaitoh@netbsd.org>.
2002-07-11 18:07:56 +00:00
mycroft
ade1f1e303
Oops; add scsibus too.
2002-07-11 18:07:22 +00:00
mycroft
8c81ec0a3c
Enable the SCSI driver.
2002-07-11 17:56:31 +00:00
matt
79d770a01a
Add wchan to a panic (must have NOWAIT).
2002-07-11 17:18:48 +00:00
christos
f12f20db6c
Apply patches from Christian Limpach:
...
- NeXT label reading support
- SCSI dma fixes
- media support for if_xe.c
Some of these need more cleanup, but at least make SCSI support usable on
the NeXT.
2002-07-11 16:03:09 +00:00
scw
0d0a6374ef
Some cleanups for the MACHINE_ARCH endian suffix change.
2002-07-11 14:42:55 +00:00
scw
d55184012a
Cleanup the sigcontext structure, and sync {,sig}jmp_buf size and
...
offsets with it.
2002-07-11 14:16:42 +00:00
scw
5c90e3c0d6
In sys___sigreturn14(), validate the saved branch target registers and
...
program counter to avoid a possible kernel-mode IADDERR exception when
we try to restore the trapframe on return to user-mode.
2002-07-11 14:15:32 +00:00
scw
384b76c19b
Install <sh5/pte.h> for the benefit of cpu.h.
2002-07-11 14:11:18 +00:00
scw
e0e8310758
Include <machine/frame.h>, not <sh5/frame.h>
2002-07-11 14:10:39 +00:00
scw
026df6bf33
Cleanup the frame link/unlink macroes.
2002-07-11 14:09:34 +00:00
scw
b234c1aa10
Moved MID_MACHINE definition from <machine/param.h>
2002-07-11 14:08:45 +00:00
scw
e700a799a3
Follow convention for MACHINE_ARCH endian suffix.
2002-07-11 14:07:41 +00:00
simonb
00f3022be0
Remove unused MCLOFSET define.
2002-07-11 13:36:45 +00:00
scw
185627f408
Add MIDs for SH5.
2002-07-11 13:10:16 +00:00
wiz
7b9b4ac6f7
'environment', not 'enviroment'
2002-07-11 10:53:19 +00:00
pooka
15d9246bb2
Add FORK_NOWAIT flag, which sets init as the parent of the forked
...
process. Useful for FreeBSD rfork() emulation.
ok'd by Christos
2002-07-11 10:37:26 +00:00
drochner
ef054011f7
-if getting info for a mode fails, print out the mode
...
and continue with the next
-check that text modes are VGA compatible (haven't seen it
otherwise yet, but to be sure...)
2002-07-11 10:02:21 +00:00
simonb
873edaed34
Clean up some white space niggles.
2002-07-11 01:38:48 +00:00
simonb
dd2d708bd5
Echo the MKING command before executing it.
2002-07-11 01:29:28 +00:00
simonb
ffb069c949
Change the (intentionally) illegal "movd 0,0" to it's .word
...
equivalent; newer GAS complains about the illegal construct
and errors out.
XXX: what is the illegal instruction for exactly?
2002-07-11 00:41:50 +00:00
simonb
3350e73517
Add kttcp device.
2002-07-11 00:17:39 +00:00
wiz
4b20971f01
Spell acquire with a 'c'.
2002-07-10 23:16:32 +00:00
jdolecek
c96cc85feb
enable KERNFS and PROCFS - this is GENERIC after all, right?
...
adresses port-alpha/15348 by Ray Phillips
2002-07-10 22:05:29 +00:00
wiz
654db6f5fc
Fix two typos in comments. From OpenBSD.
2002-07-10 21:56:42 +00:00
itojun
db705b375f
use iana-assigned value for IFT_STF. sync w/kame
2002-07-10 21:01:06 +00:00
drochner
1719b0ab59
get some more info out of the VESA BIOS and attach subdevices for
...
8-bit pseudo color and text modes
still doesn't do anything useful
(It would be easy to attach a wsdisplay, but we have to cooperate with the
PCI or ISA attached VGA drivers. There are open issues.)
2002-07-10 19:15:42 +00:00
drochner
cd34aa2e82
add a function to read from the BIOS vm86
...
(most of it is already mapped to KVM, but it appears easier to me
to do it this way instead of a lot of range checks)
2002-07-10 19:09:35 +00:00
drochner
c318ca38c7
fix off-by-one error in string len check
2002-07-10 19:04:09 +00:00
scw
52876ee77d
First cut of the kernel side support for sh5 signals.
2002-07-10 15:55:01 +00:00
scw
528a743ee9
Update sh5_fpsave() prototype to match reality.
2002-07-10 15:53:57 +00:00
scw
a30ba3dd9a
Need <sys/types.h>
2002-07-10 15:52:49 +00:00