phk
b80490d9a5
Don't use <sys/disk.h>
1999-05-06 19:19:30 +00:00
phk
9002c906cf
Nuke bogus prototypes which have bogotified ccd and vinum
...
(who shouldn't really use this file in the first place!)
1999-05-06 19:07:06 +00:00
peter
571738073e
Fix 'signed char as array index' warnings and an unused variable.
1999-05-06 18:58:05 +00:00
peter
08a8ee359c
Missing 'int' in declaration of variables.
1999-05-06 18:54:19 +00:00
peter
56d0896c15
Fix a precedence bug in the atapi tape driver. I think it could either
...
write a filemark where it wasn't needed, or neglect to write one at all,
depending on how the boolean converted to an int value for the &.
1999-05-06 18:50:10 +00:00
peter
459d4a2cc5
Fix up a few easy 'assignment used as truth value' and 'suggest parens
...
around && within ||' type warnings. I'm pretty sure I have not masked
any problems here, I've committed real problem fixes seperately.
1999-05-06 18:44:42 +00:00
peter
daa969b066
The joypart() macro had a precedence bug. Add seatbelts for UNIT() too.
1999-05-06 18:39:32 +00:00
peter
6823e815bb
Missing 'int' declaration in devsw_installed variable.
1999-05-06 18:33:48 +00:00
peter
73556bfee1
Add sufficient braces to keep egcs happy about potentially ambiguous
...
if/else nesting.
1999-05-06 18:13:11 +00:00
peter
ff951279f9
Add missing comment characters from wi driver description.
1999-05-06 18:08:23 +00:00
phk
45443ee5d4
Remove unused fields from struct buf:
...
b_savekva
b_validoff
b_validend
Reviewed by: dillon, bde
1999-05-06 17:06:41 +00:00
wpaul
07346f9ac9
Modify wicontrol(8) and wi(4) to allow setting the frequency of the
...
WaveLAN's radio modem. The default is whatever the NIC uses since NICs
sold in different countries may default to different frequencies. (The
Lose95/LoseNT software doesn't let you select the channel so it's probably
not really meant to be changed.)
1999-05-06 16:32:45 +00:00
wpaul
8b3db0e822
Tweak the Macronix driver to hopefully make it more reliable:
...
- Change to the same transmit scheme as the PNIC driver.
- Dynamically set the cache alignment, and set burst size the same as
the PNIC driver in mx_init().
- Enable 'store and forward' mode by default. This is the slowest option
and it does reduce 100Mbps performance somewhat, but it's the most
reliable setting I can find. I'm more interested in having the driver
work reliably than trying to squeeze the best performance out of it.
The reason I'm doing this is that on *some* systems you may see a lot
of transmit underruns (which I can't explain: these are *fast* test
systems) and these errors seem to cause unusual and decidedly
non-tulip-like behavior. In normal 10Mbps mode, performance is fine
(you can easily saturate a 10Mbps link).
Also tweak some of the other drivers:
- Increase the size of the TX ring for the Winbond, ASIX, VIA Rhine
and PNIC drivers.
- Set a larger value for ifq_maxlen in the ThunderLAN driver. The setting
of TL_TX_LIST_CNT - 1 is too low (the ThunderLAN driver only allocates
20 transmit descriptors, and I don't want to fiddle with that now
because the ThunderLAN's descriptor structure is an oddball size
compared to the others).
1999-05-06 15:32:52 +00:00
dt
14f270d531
readklog(): rename variable 'l' to 'len', to avoid possible confusion with 'i'
...
and '1'.
Requested by: mckay
1999-05-06 13:57:57 +00:00
n_hibma
90f99b8c30
Added USB HID devices major number.
...
Submitted by: MAEKAWA Masahide
1999-05-06 13:51:26 +00:00
peter
83df0b4ee9
Move the proc0 init before the driver probe/attach etc since machdep.c
...
doesn't set curproc anymore, and certain drivers like to tsleep() during
probes, usb for example.
1999-05-06 13:42:25 +00:00
peter
e0954ac124
I'm not sure why the #ifdef SMP became #if 1 (this overrode the npx probe
...
and always succeeded as is required on SMP). Anyway, reverting this
still compiles and appears ok.
1999-05-06 12:47:21 +00:00
jkoshy
1ec34cbf01
Fix spelling and typos.
...
PR: docs/11506
Submitted by: Norihiro Kumagai <kuma@jp.freebsd.org>
1999-05-06 12:17:58 +00:00
jkoshy
95826a20dd
Fix typos and -mdoc usage.
...
PR: docs/11537
Submitted by: Motomichi Matsuzaki <mzaki@e-mail.ne.jp>
1999-05-06 11:28:01 +00:00
jkh
649882a616
revert premature DHCP commit
1999-05-06 11:15:33 +00:00
jkh
1e04321d77
Argh, those last two commits snuck in with the other one by mistake.
...
Disable the non-working dhcp client code I just committed by mistake.
1999-05-06 11:05:19 +00:00
jkh
d6a2e062bc
Fix includes; I had a slightly different Makefile than everyone else
...
which is why I didn't see this. :)
Noted by: Maxim Sobolev <sobomax@altavista.net>
1999-05-06 11:03:21 +00:00
bde
5b08c51b31
Fixed profiling of elf kernels. Made high resolution profiling compile
...
for elf kernels (it is broken for all kernels due to lack of egcs support).
Renaming of many assembler labels is avoided by declaring by declaring
the labels that need to be visible to gprof as having type "function"
and depending on the elf version of gprof being zealous about discarding
the others. A few type declarations are still missing, mainly for SMP.
PR: 9413
Submitted by: Assar Westerlund <assar@sics.se> (initial parts)
1999-05-06 09:44:57 +00:00
kato
897b3119d8
Sync with sys/i386/i386/userconfig.c revision 1.138.
1999-05-06 09:15:20 +00:00
kato
394a374f23
Sync with sys/i386/conf/files.i386 revision 1.237.
1999-05-06 09:13:56 +00:00
bde
ffb41f0ed8
Fixed bitrot in comments.
1999-05-06 03:35:44 +00:00
wpaul
7d2d27f237
Fix some byte ordering problems; I was storing string lengths wrong,
...
which was causing wicontrol to crash when reading string parameters
from the WaveLAN.
Patches submitted by: Brad Karp <karp@eecs.harvard.edu>
1999-05-06 03:34:02 +00:00
archie
78c2183cb6
Add the capability for traceroute(8) to send packets of any IP protocol
...
instead of just UDP; an alternate protocol is specified by '-P proto'.
This is useful for finding routers that are blocking packets based on
IP protocol. New handlers can be added fairly easily to do protocol-
specific things.
1999-05-06 03:23:24 +00:00
bde
254c5bc5a2
"Fixed" missing dependency of ${PROG} on ${LIBC} in the elf case.
1999-05-06 02:58:30 +00:00
luoqi
f9fddff55a
Now that each cpu has its own gdt table, we need to setup apm gdt entries in
...
all the tables.
1999-05-06 01:07:03 +00:00
luoqi
0d146f2c92
Initialize dblfault_tss.tss_fs to the per-cpu private data segment selector.
1999-05-06 00:54:54 +00:00
luoqi
148df5d8ab
Don't ignore mmap() address hint below the text section.
1999-05-06 00:46:19 +00:00
luoqi
71f27dfa4f
Do not set curproc until proc0 is fully initialized (in proc0_init()).
1999-05-06 00:39:00 +00:00
bde
ebf1194701
Don't forget to install crash.8 after moving it.
1999-05-06 00:01:48 +00:00
obrien
99320bfeca
MFS: don't build the pcic.ko module.
1999-05-05 20:58:15 +00:00
markm
2be1518239
Incomplete. Back out until I can revisit.
1999-05-05 20:28:54 +00:00
markm
52d4188c7f
Add extra dirs needed by install. Do the include/* by reusing
...
BSD.include.dist to make tracking this easier.
Pointed out by: Rod Grimes
1999-05-05 19:44:14 +00:00
markm
f55eb995a9
This has bitrotted to the state that it is no longer functional.
...
Make Mike Smith very happy by nuking the PCIC auto-load code. :-)
NOTE - You will have to have PCIC in your kernel again!!
You have been warned!!
1999-05-05 19:34:29 +00:00
phk
16a5877732
Various cosmetics.
...
Submitted by: Rudolf Cejka <cejkar@dcse.fee.vutbr.cz>
Reviewed by: phk
1999-05-05 19:23:45 +00:00
markm
307cd2910e
Remove $Log garbage from these; it was causing failure when expanded.
...
Found by: Udo Schweigert <ust@cert.siemens.de>
1999-05-05 19:09:48 +00:00
wpaul
2f0e23771d
Dynamically increase TX start threshold if TX underruns are detected.
1999-05-05 17:05:07 +00:00
cwt
14530fc329
Fix a typo (wi. -> wi.4)
...
Submitted by: Zach Heilig <zach@uffdaonline.net>
1999-05-05 12:54:50 +00:00
jb
20827e2653
Add the INIT_PATH option for embedded systems.
1999-05-05 12:22:31 +00:00
jb
8a1c5093d7
Allow the init_path to be customised in an embedded system using the
...
INIT_PATH config option.
Also fix two bugs which caused an infinite loop in none of the programs
in the init_path were found. That code was obviously not tested!
1999-05-05 12:20:23 +00:00
jkh
2f046ead78
Another round of updates for -current and 3.2
1999-05-05 11:34:03 +00:00
jb
ab91f06287
Add an INIT_PATH option to allow the init_path (for sys/kern/init_main.c)
...
to be customised in an embedded system which doesn't want to
run either init of sysinstall.
1999-05-05 11:24:15 +00:00
jkh
ee85f689d3
Typo fix.
1999-05-05 10:18:55 +00:00
jkh
7e9d6510e2
Fix a few bogons and make this safer for humanity.
1999-05-05 10:14:06 +00:00
jkh
90a7392da8
Add information strings for a number of devices which have suddenly appeared
...
in the configuration name space.
1999-05-05 09:37:22 +00:00
abial
a56a225db6
Deal with MAKEDEV's braindedness.
...
Submitted by: Patrick Powell <papowell@astart4.astart.com>
Reviewed by: abial
1999-05-05 08:37:46 +00:00