Commit Graph

37569 Commits

Author SHA1 Message Date
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
wpaul
fd47563fe4 Add device driver support for the Lucent WaveLAN/IEEE 802.11 PCMCIA
adapter (and some workalikes). Also add man pages and a wicontrol
utility to manipulate some of the card parameters.

This driver was written using information gleaned from the Lucent HCF Light
library, though it does not use any of the HCF Light code itself, mainly
because it's contaminated by the GPL (but also because it's pretty gross).
The HCF Light lacks certain featurs from the full (but proprietary) HCF
library, including 802.11 frame encapsulation support, however it has
just enough register information about the Hermes chip to allow someone
with enough spare time and energy to implement a proper driver. (I would
have prefered getting my hands on the Hermes manual, but that's proprietary
too. For those who are wondering, the Linux driver uses the proprietary
HCF library, but it's provided in object code form only.)

Note that I do not have access to a WavePOINT access point, so I have
only been able to test ad-hoc mode. The wicontrol utility can turn on
BSS mode, but I don't know for certain that the NIC will associate with
an access point correctly. Testers are encouraged to send their results
to me so that I can find out if I screwed up or not.
1999-05-05 07:37:11 +00:00
abial
44741b5aa7 Simple_HTTPd on steroids - major rework of the original program, by
William Lloyd. New features include:

* many additional command line options
* "fetch" mode
* less bugs :-)
* better README.

Submitted by:	William Lloyd <wlloyd@lap.net>
Reviewed by:	abial
1999-05-05 07:22:34 +00:00
wpaul
0a863b6b19 Add device driver support for the Lucent WaveLAN/IEEE 802.11 wireless
network adapters. These are all PCMCIA devices (the ISA version is a
PCMCIA to ISA bridge with a PCMCIA card plugged into it). Also add a
wicontrol utility to read and write some of the card's parameters.

Note: I do not have access to a WavePOINT access point, so I have only
been able to test this driver in ad-hoc (point to point) mode. The
wicontrol utility allows programming the desired service set name (SSID)
and enabling BSS mode, but I can't tell for sure if it works (I know the
card switches modes, but I can't verify that it joins a service set
correctly).

This driver was written using information gleaned from the Lucent HCF Light
library, which is an API library designed to simplify driver development
for devices based on the Lucent Hermes chip. Unfortunately, the HCF Light
is missing certain features (like 802.11 frame encapsulation!) which are
available only in the proprietary complete HCF code, which is not available
to the public. This driver uses none of the HCF Light code: it's very ugly
and contaminated by the GPL. IP and ARP packets are encapsulated as 802.11
frames, everything else is encapsulated as 802.3.

(It would be easier to just get the Hermes programming manual, but that's
not publically available either. For those who are wondering, the Linux
WaveLAN/IEEE driver uses the proprietary HCF code, which is provided in
object code form only. So much for supporting open source sofware.)

Multicast filter support is implemented, however it appears that the
filter doesn't work: programming in one IP mutlicast group enables them
all.
1999-05-05 07:11:38 +00:00
jkh
ace20ddfff Install the right man page. 1999-05-05 07:09:21 +00:00
imp
297f05ae42 Remove bt_softcs. It is no longer used. 1999-05-05 06:45:10 +00:00
markm
bc16aa792f Restore perror --> err changes. 1999-05-05 06:15:30 +00:00
jkoshy
60b9aebc2a Correct sd', st' -> da', sa'; add xref to scsi(4); remove xref
to nca(4).

PR:		docs/11493
Submitted by:	"Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
1999-05-05 04:01:40 +00:00
kato
157de01eb6 Sync with sys/i386/isa/fd.c revision 1.137. 1999-05-05 03:43:00 +00:00
kato
25e1350072 Sync with sys/i386/conf/majors.i386 revision 1.71. 1999-05-05 03:41:39 +00:00
jkoshy
1b272fa37e Correct prototype for tigetstr().
PR:		docs/11489
Submitted by:	Andrew <andrew@ugh.net.au>
1999-05-05 02:51:45 +00:00
kato
baf8e55667 Fixed missing parenthesis.
Submitted by:	Takahashi Yoshihiro <nyan@dd.catv.ne.jp>
1999-05-05 01:53:43 +00:00
max
9569411f9f Typo fix and a very minor wording adjustment. 1999-05-05 00:20:15 +00:00
jkh
08b7f2279c Substantially update this to match reality. Also do a typo/facto pass over
Max's serial console instructions (this is good stuff, thanks Max!).
1999-05-04 23:27:07 +00:00
msmith
bccd81a06a Clean up after another half-Danish.
Add 'ad' as another known disk driver of the same kind as 'wd'.
1999-05-04 22:44:48 +00:00
dfr
71a93464d5 Use unit, not device_id as an argument to an old-style ISA interrupt
handler. This fixes pnp interrupts and would have fixed pccard interrupts
but a workaround has been applied there.

This the sound driver problems which people have reported with new-bus.
1999-05-04 21:18:20 +00:00
billf
e10abce1f8 Add procfs_rlimit.c so the kernel actually compiles.
PR:		kern/11497
Submitted by:	Jos Backus <jos.backus@nl.origin-it.com> (misordered patch)
Pointy Hat:	phk, adrian
1999-05-04 21:08:58 +00:00
obrien
637e731db4 Make `ed0' example match reality.
Merge `ed1' and `ed2' examples as we don't ship with an `ed1' any more we
yet, the example of extra flags could be useful to someone.
1999-05-04 21:04:01 +00:00
ghelmer
256ebbee36 Make "\n" appear in cample C code.
PR:		docs/10708
1999-05-04 21:03:22 +00:00
wpaul
2052c68e70 Fix the media selection for the 3c900B-FL 10baseFL adapter. It actually
uses the AUI port with an on-board AUI to 10baseFL transceiver, not the
10baseT port like I had earlier suspected. The 3c900B-FL should be properly
supported now.
1999-05-04 20:52:30 +00:00
ghelmer
8cce482cb2 Use Cd macro for SYNOPSIS.
PR:		docs/10495
1999-05-04 20:49:12 +00:00
ghelmer
dd4a91858b Use Cd macro instead of Em for SYNOPSIS, as do other section 4 pages.
Added $Id$.

PR:		docs/10494
1999-05-04 20:42:26 +00:00
ghelmer
0de2c28a63 Add gensetdefs.8 man page.
PR:		docs/10517
Submitted-by:	Oliver Fromme <oliver.fromme@heim3.tu-clausthal.de>
1999-05-04 20:31:28 +00:00
ghelmer
4d2da9228b writev(2) can return EDESTADDRREQ when attempting to write to a
UNIX domain socket on which connect(2) had been used to set a destination
address and the destination goes away.

PR:		docs/10451
1999-05-04 20:07:44 +00:00
ghelmer
78f6c49fe5 Add missing -A option to SYNOPSIS.
PR:		docs/10771
1999-05-04 19:42:01 +00:00
gibbs
311e53d294 Don't touch a path after we've free'd it. 1999-05-04 19:24:21 +00:00
ghelmer
fe0b12fd7b Mention the special destination "default" for default routes. Fix a
couple of formatting bugs.

PR:		docs/9960
1999-05-04 18:41:32 +00:00
ghelmer
b0fd1929e0 Add missing parenthesis. Change "hardware block" to "SCSI logical block".
While I'm here, fix dangling "to".

PR:		docs/9940
1999-05-04 18:22:38 +00:00
phk
592151ff93 Fix various bogons.
Submitted by:	Rudolf Cejka <cejkar@dcse.fee.vutbr.cz>
Reviewed by:	phk
1999-05-04 18:20:53 +00:00
ghelmer
1d4a1667d4 Correct SYNOPSIS (remove args from synopsis that are actually arguments
to flags).

PR:		docs/9658
1999-05-04 18:12:49 +00:00
des
6c7b6a78d0 Is there a limit to how stupid I can get? 1999-05-04 18:03:59 +00:00
ghelmer
69fbcbc4cc Show "#include <machine/param.h>" in SYNOPSIS to get declaration of
PAGE_SIZE for sys/shm.h.

PR:		docs/8464
1999-05-04 17:59:29 +00:00
ghelmer
dbe880b622 Note the effect of close(2) on fcntl(2) record locks.
PR:		docs/3522
1999-05-04 17:45:12 +00:00
hosokawa
7cdda5c87e added card1 and card2 to 'all' target.
(for machines with more than two PC-card slots)
1999-05-04 17:03:58 +00:00
luoqi
bdad99cc1c Uninitialized variable. Do not assume certain endianess. 1999-05-04 16:59:42 +00:00
luigi
2085d1a050 Free the dummynet descriptor in ip_dummynet, not in the called
routines. The descriptor contains parameters which could be used
within those routines (eg. ip_output() ).

On passing, add IPPROTO_PGM entry to netinet/in.h
1999-05-04 16:20:33 +00:00
max
aa335447ef Add a new section ``Tips for Serial Console Users''. (Previous
commit included the entry for this section in the Table of Contents
by mistake.)
Also, some typo fix.
1999-05-04 15:57:09 +00:00
wpaul
3ee1bc2e50 Unbreak slot_irq_handler(). The problem here is that slot_irq_handler()
abuses its argument, which is supposed to be an integer unit number, as
a pointer to the head of the 'struct slot' list. When this code was
hacked^Wupdated for newbus, a new mechanism for registering slot_irq_handler()
was put in place and the significance of the unit number was overlooked.
When registering an interrupt, we have both device_id and unit. The unit
number is passed as 'unit' but /sys/i386/usa/intr_machdep.c:register_intr()
drops unit on the floor and uses device_id instead. Since pccard_alloc_intr()
always sets device_id to 0, this means the unit number is always zero, and
slot_irq_handler() is always called with 0, which becomes a NULL pointer
which slot_irq_handler() tries to dereference and the kernel explodes.

Result: if you assign a PCMCIA driver in the kernel config file like this:

device wi0 at isa? port? irq?

Then the system will panic the moment a PCMCIA device is attached and
an interrupt is triggered.

The quick fix: make pccard_alloc_intr() pass the unit number as both
the device_id and unit arguments to register_pcic_intr(). The correct fix
would be to rewrite /sys/pccard to be less disgusting.
1999-05-04 15:43:02 +00:00
max
a9f74f0a06 Style fix: make the indentation consistent. 1999-05-04 15:33:38 +00:00
ghelmer
dca0df20d0 Spelling correction.
PR:		10824
1999-05-04 13:51:56 +00:00
kato
fc52dce7a0 Replace misused FE_D6_BBW with FE_D6_SBW.
Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
Reminded by:	Takahashi Yoshihiro <nyan@dd.catv.ne.jp>
1999-05-04 12:59:59 +00:00
jkh
1ff822af67 Add missing copyright. 1999-05-04 12:58:56 +00:00
jkh
2364b674a3 Add "fire" screen saver.
Submitted by:	Brad Forschinger <retch@flag.blackened.net>
1999-05-04 12:23:32 +00:00
jkoshy
1036a1e791 Fix typos.
PR:		docs/11485
Submitted by:	Kazuo Horikawa <horikawa@jp.freebsd.org>
1999-05-04 11:34:33 +00:00
brian
189ed9cc1b Add missing ``.''. 1999-05-04 10:56:13 +00:00