Poul-Henning Kamp
6cc5a7220c
Don't use <sys/disk.h>
1999-05-06 19:19:30 +00:00
Poul-Henning Kamp
9f9431d611
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 Wemm
3f251a4979
Fix 'signed char as array index' warnings and an unused variable.
1999-05-06 18:58:05 +00:00
Peter Wemm
c41dbe5cc4
Missing 'int' in declaration of variables.
1999-05-06 18:54:19 +00:00
Peter Wemm
03a4d0108f
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 Wemm
d5558c001a
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 Wemm
522c197d02
The joypart() macro had a precedence bug. Add seatbelts for UNIT() too.
1999-05-06 18:39:32 +00:00
Peter Wemm
754d670b57
Missing 'int' declaration in devsw_installed variable.
1999-05-06 18:33:48 +00:00
Peter Wemm
dfd5dee1b0
Add sufficient braces to keep egcs happy about potentially ambiguous
...
if/else nesting.
1999-05-06 18:13:11 +00:00
Peter Wemm
5f0d05904c
Add missing comment characters from wi driver description.
1999-05-06 18:08:23 +00:00
Poul-Henning Kamp
84c55b38e4
Remove unused fields from struct buf:
...
b_savekva
b_validoff
b_validend
Reviewed by: dillon, bde
1999-05-06 17:06:41 +00:00
Bill Paul
e566363ef1
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
Bill Paul
727c88e9da
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
Dmitrij Tejblum
70c03db51c
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
Nick Hibma
4ca710c5e2
Added USB HID devices major number.
...
Submitted by: MAEKAWA Masahide
1999-05-06 13:51:26 +00:00
Peter Wemm
442e64375a
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 Wemm
97bf178703
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
Joseph Koshy
16e1a37f6c
Fix spelling and typos.
...
PR: docs/11506
Submitted by: Norihiro Kumagai <kuma@jp.freebsd.org>
1999-05-06 12:17:58 +00:00
Joseph Koshy
45ba9ca7f3
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
Jordan K. Hubbard
eb6b299247
revert premature DHCP commit
1999-05-06 11:15:33 +00:00
Jordan K. Hubbard
44070deaa0
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
Jordan K. Hubbard
734ec189d0
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
Bruce Evans
ea2b3e3d1b
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 Takenori
5c32431080
Sync with sys/i386/i386/userconfig.c revision 1.138.
1999-05-06 09:15:20 +00:00
KATO Takenori
bb0992d7ab
Sync with sys/i386/conf/files.i386 revision 1.237.
1999-05-06 09:13:56 +00:00
Bruce Evans
54ab20b159
Fixed bitrot in comments.
1999-05-06 03:35:44 +00:00
Bill Paul
c49713fde1
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 Cobbs
f5004fb09b
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
Bruce Evans
6e19760bfa
"Fixed" missing dependency of ${PROG} on ${LIBC} in the elf case.
1999-05-06 02:58:30 +00:00
Luoqi Chen
25b602e4c2
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 Chen
c300b7b6c1
Initialize dblfault_tss.tss_fs to the per-cpu private data segment selector.
1999-05-06 00:54:54 +00:00
Luoqi Chen
d28ab90f02
Don't ignore mmap() address hint below the text section.
1999-05-06 00:46:19 +00:00
Luoqi Chen
68db6cea99
Do not set curproc until proc0 is fully initialized (in proc0_init()).
1999-05-06 00:39:00 +00:00
Bruce Evans
7d56f04342
Don't forget to install crash.8 after moving it.
1999-05-06 00:01:48 +00:00
David E. O'Brien
025998c77d
MFS: don't build the pcic.ko module.
1999-05-05 20:58:15 +00:00
Mark Murray
a657e5291f
Incomplete. Back out until I can revisit.
1999-05-05 20:28:54 +00:00
Mark Murray
42b42f6ec9
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
Mark Murray
02f0393e5a
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
Poul-Henning Kamp
c020621f03
Various cosmetics.
...
Submitted by: Rudolf Cejka <cejkar@dcse.fee.vutbr.cz>
Reviewed by: phk
1999-05-05 19:23:45 +00:00
Mark Murray
86fc822ada
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
Bill Paul
b346e4e2e4
Dynamically increase TX start threshold if TX underruns are detected.
1999-05-05 17:05:07 +00:00
Chris Timmons
1e58fe3903
Fix a typo (wi. -> wi.4)
...
Submitted by: Zach Heilig <zach@uffdaonline.net>
1999-05-05 12:54:50 +00:00
John Birrell
785d2100dd
Add the INIT_PATH option for embedded systems.
1999-05-05 12:22:31 +00:00
John Birrell
67481196cc
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
Jordan K. Hubbard
2d49c1f84a
Another round of updates for -current and 3.2
1999-05-05 11:34:03 +00:00
John Birrell
9775e37869
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
Jordan K. Hubbard
38ed24dd3c
Typo fix.
1999-05-05 10:18:55 +00:00
Jordan K. Hubbard
66e576f88d
Fix a few bogons and make this safer for humanity.
1999-05-05 10:14:06 +00:00
Jordan K. Hubbard
3d0d924077
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
Andrzej Bialecki
934ebc48ce
Deal with MAKEDEV's braindedness.
...
Submitted by: Patrick Powell <papowell@astart4.astart.com>
Reviewed by: abial
1999-05-05 08:37:46 +00:00