yamt
8956861179
curcpu: fix a typo. (cpuinfo -> cpu_info)
...
no functional difference.
2004-05-16 12:32:53 +00:00
wiz
b1ec4ffea9
Fix typo in comment, reported by Alexander Yurchenko grange at rt mipt ru.
2004-05-16 11:42:28 +00:00
kochi
660dc92018
Fix typo in variable name.
2004-05-16 07:14:17 +00:00
thorpej
56906b900a
Patch from HITOSHI Osada:
...
* Add PAUSE-related event counters.
* Return flow control bits in fxp_mii_mediastatus().
2004-05-16 02:59:04 +00:00
thorpej
7e156484d4
Patch from HITOSHI Osada:
...
* Newer chips do not need the receiver lock-up workaround; detect when it
is required.
2004-05-16 02:41:46 +00:00
thorpej
47e9c860d9
Add flow control support, based on work by HITOSHI Osada.
2004-05-16 02:34:47 +00:00
thorpej
f3eaee75cf
Add PAUSE-related event counters for sip(4) and gsip(4), slightly modified
...
from a patch supplied by HITOSHI Osada.
2004-05-15 22:33:13 +00:00
thorpej
ffa382bf7c
Patch from HITOSHI Osada:
...
* On the DP83820, don't set PCR_PS_DA if the PAUSE packet address is
not registered in the multicast filter.
2004-05-15 22:26:49 +00:00
thorpej
9ac446650a
Patch from HITOSHI Osada:
...
* SiS900 chips require the address of the PAUSE packet to be registered
in the multicast filter.
2004-05-15 22:24:51 +00:00
thorpej
b7d5c113dd
Add PAUSE-related event counters. Slightly modified from patch supplied by
...
HITOSHI Osada.
2004-05-15 22:19:27 +00:00
thorpej
34b8c2c481
Patches from HITOSHI Osada:
...
* Set buffer management high water marks for MTU > 1514.
* Set BGE_MAX_RX_FRAME_LOWAT (from Linux driver).
2004-05-15 21:58:40 +00:00
bouyer
bf4920bc20
In wdcprobe1(), protect the register writability test with splbio().
...
What we do here seems to trigger interrupts on some pcmcia adapters, which
cause the kernel to hang.
Add some WDCDEBUG_PRINT((), DEBUG_PROBE).
Avoid touching registers of nonexistent drives, once we know which drive is
or is not here.
This makes the "IBM PCMCIA Portable CD-ROM Drive" (external CD drive with
PCMCIA adapter) work.
2004-05-15 17:15:09 +00:00
he
b6e471013e
Expand the ramdisk image size from 3m to 3148k so that the contents
...
fits again.
2004-05-14 17:00:21 +00:00
christos
6d5a568271
don't accept a negative number of swap devices; it will attempt to malloc
...
something very large and might crash the kernel; From Evgeny Demidov
2004-05-14 16:56:09 +00:00
christos
d3f7c2a23c
Check for bad offsets at the beginning of the functions to save processing.
...
Idea from OpenBSD.
2004-05-14 16:36:33 +00:00
christos
999e9cef64
Simplify the code by:
...
1. Checking for a negative uio_offset at the beginning. This really does
not affect us in most cases because we check that later too.
2. Checking for attempts to write to init sooner and in all cases.
2004-05-14 16:35:24 +00:00
cl
c489489b14
- increase number of receive buffers
...
- handle case where last receive buffer is used
2004-05-14 14:23:35 +00:00
cl
4dd8e2b2cf
use relative links: using $S fails if $S is relative to another dir
...
than the one where it's used
2004-05-14 14:07:46 +00:00
pk
454a5a1188
Fix locking issues noticed by Tom Ivar Helbekkmo on tech-net:
...
* always acquire the device instance lock at splnet()
* missing unlocks in various places
Also, since this driver allows its device instances manipulated by two
independent subsystems (character device & interface clone create/destroy),
be careful not to rip away instance data in a clone destroy request if the
instance is still opened as a character device.
2004-05-14 13:23:12 +00:00
he
bf3ab88a22
Use lower optimization level (-O0) for miscfs/genfs/genfs_vnops.c
...
in order to avoid an internal compiler error with gcc 3.3.3 nb2.
2004-05-14 08:58:32 +00:00
yamt
66b2ec5ff7
fix a compile error in the case DDB && !GPROF.
...
the problem pointed by Jaka Jejcic on current-users@ and
by several others privately.
2004-05-13 20:30:39 +00:00
he
d05f876265
Avoid lint failure in setjmp.h; lint doesn't handle __attribute__
...
modified declarations.
2004-05-13 19:54:25 +00:00
kleink
71b3883248
KNF previous.
2004-05-13 17:56:14 +00:00
christos
6033f15f86
Disable chgsbsize. It is not MPSAFE
2004-05-13 17:43:11 +00:00
christos
a0d397a023
return an error on invalid mode.
2004-05-13 17:34:48 +00:00
pooka
40559f7fcc
10+ entries in the kernel sources can't be wrong ... no, wait, they can:
...
it really is "panicking" instead of "panicing", so revert rev 1.211
thanks to Klaus for holding the spelling bee
2004-05-13 16:34:22 +00:00
cl
719c5983ec
Workaround for gcc 2.95.3 failing to initialize structures
...
and/or unions inside structures using nested designators.
Should be reverted when gcc >=3.3.3 is ready for vax.
2004-05-13 15:44:04 +00:00
pooka
e2323790a2
typo in comment: panicking -> panicing
2004-05-13 15:20:18 +00:00
pooka
71085f7d18
Add el-cheapo finnish encoding, i.e. make the name "fi" point to
...
the swedish keymap, which actually gets set.
inspired by wiz
keymap name blessed by Klaus
2004-05-13 15:00:27 +00:00
yamt
d94ff45112
call mcount in Xspllower.
2004-05-13 12:27:38 +00:00
yamt
ed15986b95
pmap_load: assert that being able to take ipis.
2004-05-13 12:24:05 +00:00
yamt
a87499d4ea
witch_return: call Xspllower only when there're pending interrupts.
2004-05-13 12:15:01 +00:00
yamt
6b9fd4bdc5
npxsave_lwp: issue pause in a busy loop.
2004-05-13 12:13:20 +00:00
tron
edadbda9d6
Initialize interface type to IFT_TUNNEL as suggested by Erik Änggård
...
in PR kern/25555.
2004-05-13 11:31:09 +00:00
tron
7d553415ce
Mark gre(4) interfaces as IFT_TUNNEL (Encapsulation interface).
2004-05-13 11:29:40 +00:00
pk
cf098aff50
No need to pull in <bsd_openprom.h> explicitly.
2004-05-13 09:36:44 +00:00
cube
a1ec763832
It's not safe to save the sysctlnode pointer returned by sysctl_createv.
...
It should only be used by the calling function to create further nodes
in the same function, and of course to save the MIB number, which is what
is done now.
Correct a stupid bug in the ethernet address parsing code. <ashamed face>
2004-05-13 07:20:47 +00:00
matt
617ba1df60
In proc_representative_lwp, if there is an outstanding trap signal, return
...
the lwp that had the trap.
2004-05-12 21:10:09 +00:00
wiz
901973874a
Fix typo in comment; from Robert Nagy via OpenBSD.
2004-05-12 20:43:17 +00:00
wiz
a8c55b7623
Add one more unofficial leadtek PCI vendor id; from Robert Nagy
...
via OpenBSD.
2004-05-12 20:42:10 +00:00
yamt
054ed3afcb
use callout_schedule() for schedcpu().
2004-05-12 20:13:58 +00:00
yamt
8d2f96d0fc
g/c unused NFS_*ALLOC defines.
2004-05-12 20:11:27 +00:00
yamt
5469c2b7c1
add assertions.
2004-05-12 20:09:50 +00:00
yamt
3b6ad814b2
x86_ipi: call x86_pause() in busy loops.
2004-05-12 20:05:24 +00:00
yamt
d55112e112
add a comment to note that INTRFASTEXIT and trap() should be in sync.
2004-05-12 20:03:06 +00:00
cl
885c0b6fc9
``build.sh -m xen-i386 release'' now builds a release for NetBSD/xen
...
for i386. The resulting release consists of:
- NetBSD/xen for i386 kernel, loader and docuemntation
- NetBSD/i386 userland sets
2004-05-12 16:56:41 +00:00
pk
d5cc51b7d3
Remove obsolete `timerok' code, which dates back to when the timer/counter
...
interrupt handlers were pre-wired.
2004-05-12 15:44:28 +00:00
hannken
cdfa741c5c
Make compat_16_sys___sigreturn14() work again.
...
The 4XX family has no PSL_RI bit in MSR.
The 403 (explora) runs with machine check enabled.
2004-05-12 14:38:17 +00:00
minoura
72c4550293
Populate kbdmap-related definitions to the userland.
...
Also g/c unused ioctls.
Pointed out by he.
2004-05-12 14:25:08 +00:00
cube
aea96fa075
Add a sample utilization of Andrew Brown's sysctl framework. See comments
...
in the code for more details.
Give copyright to TNF.
2004-05-12 13:51:16 +00:00