67321 Commits

Author SHA1 Message Date
iedowse
1d5e042937 The Olympus C-1 digital camera uses a non-standard BBB command-status
signature, but otherwise behaves just like a normal USB mass-storage
device. Add a new quirk to cover this case, and enable it for C-1
cameras. The quirk enables translation from the C-1 signature to
the normal CSWSIGNATURE value.

Reviewed by:	n_hibma
2001-11-23 17:35:35 +00:00
brian
d8f0ad876a When writing messages to the routing socket, round sockaddr sizes
up in the same way that we expect them to be when we read them.

This is a no-op on i386 and probably on alphas, as we currently
only support AF_INET and AF_INET6.
2001-11-23 17:19:36 +00:00
brian
e37212b653 Be paranoid about non-zero netmasks being associated with INET addresses
of 0.0.0.0.

The OpenBSD PF_ROUTE/NET_RT_DUMP sysctl is sending back routes with
RTAX_NETMASK set, but the corresponding sockaddr being 4 zero bytes
(with an address family of zero).  ppp was getting confused by this
and ending up interpreting it as a 0.0.0.0/32 routing table
destination and subsequently failing to do anything with the route.

Specifically, after this fix, ppp under OpenBSD can successfully
change and delete the default route again !
2001-11-23 17:19:27 +00:00
iedowse
ee9d3747a1 Regen. 2001-11-23 16:36:28 +00:00
iedowse
1e07ed78d1 Add Olympus C-1. 2001-11-23 16:35:40 +00:00
brian
5f83a6b610 Remove an unused variable (oops) 2001-11-23 15:47:04 +00:00
dd
4ee088e5a0 The RETURN VALUES section is not appropriate for section 1 manual
pages; rename it to DIAGNOSTICS.  Also use the .Ex macro while I'm
here.
2001-11-23 14:40:35 +00:00
dd
534b7e1f5c Fix grammar in AUTHORS section. 2001-11-23 14:37:27 +00:00
iwasaki
22f1a17878 Add suspend/resume code mostly merged from fxp driver. 2001-11-23 14:27:33 +00:00
nyan
a518818140 Search ${MACHINE}/drivers.conf instead of ${MACHINE_ARCH}/drivers.conf.
The previous commit is not completely.
2001-11-23 14:08:25 +00:00
brian
274cbc8854 Don't adjust_linklocal() when pulling a sockaddr out of an ncpaddr or
ncprange structure.

Don't write() the netmask for IPv6 sockaddrs to the routing socket if
the prefixlen is 128.

It seems that messages written to the routing socket with the scopeid
set for link local addresses are not understood.  Instead, we have to
put the scopeid in the 5th and 6th bytes of the address (see
adjust_linklocal() in ncpaddr.c).  I think this may be a bug in the
KAME implementation - it should really understand both forms.
2001-11-23 12:39:20 +00:00
bde
d2d81413e2 Fixed a buffer overrun. In my kernel configuration, tcp_syncache happens
to be followed by nfsnodehashtbl, so bzeroing callouts beyond the end of
tcp_syncache soon caused a null pointer panic when nfsnodehashtbl was
accessed.
2001-11-23 12:31:27 +00:00
sheldonh
700dcd9f73 Regen.
This file is now generated using src/tools/tools/pciid/mk_pci_vendors.pl,
which merges the Boemler and Heckenbach lists used for rev 1.2.

For now, mk_pci_vendors.pl is called with the -l option, which uses
the entry with the longer description where the same device or vendor
is found in both lists.

If it turns out that this causes to much "back-and-forth" in future
deltas, we can drop the use of the -l option.
2001-11-23 12:03:50 +00:00
brian
ffae273af1 Remove a bogus log_Id() decl 2001-11-23 11:15:35 +00:00
ache
968571c9f2 Add us-ascii_to_cp437 screenmap 2001-11-23 11:15:21 +00:00
brian
c382139ffc Fix usage for the log command 2001-11-23 11:07:43 +00:00
brian
798ae959dd Whitespace tweak 2001-11-23 10:46:28 +00:00
ache
b2d7b10039 Add fonts,screenmaps,console types 2001-11-23 07:40:54 +00:00
mike
297623a658 Add support for the `restrict' type qualifier, new in C99.
Reviewed by:	wollman
2001-11-23 06:55:41 +00:00
iwasaki
0825f414a5 Validate requested sleep state in acpi_SetSleepState() to avoid reentry
during wakeup procedure.
2001-11-23 05:57:03 +00:00
ache
066850942f Add table for iso-8859-4 vga9 fonts 2001-11-23 01:39:42 +00:00
ache
c63e0b16dd 1) Map all unused characters into 'space'.
2) iso-8859-4_to_cp437 not do what its name tells at all, remove it
2001-11-23 01:25:56 +00:00
ache
1aae1f7206 Standard conformance cleanup 2001-11-23 00:10:17 +00:00
luigi
f5781681df Expand the comment on the layout of softc, arpcom and ifnet structures,
and list the places where the assumption is used.
2001-11-22 23:59:56 +00:00
ache
6da34a3b75 Standards conformance cleanup 2001-11-22 23:39:06 +00:00
orion
9c629e4ed0 Fix typo introduced with last commit. 2001-11-22 23:38:26 +00:00
ache
9adece6dee Sync with main 2001-11-22 21:43:43 +00:00
ache
e5663d89e9 Back out part of prev. commit for CP437 case, there are lower controls
graphics defined in codepage
2001-11-22 21:41:43 +00:00
ache
a4b0ee2641 Copy from main termcap 2001-11-22 21:05:57 +00:00
ache
0028d820ef Don't use lower controls for console ACS. It makes screen or cut copy charset
adequate.
2001-11-22 21:04:44 +00:00
ache
5e151785f2 Merge with main variant 2001-11-22 19:39:36 +00:00
ache
ffa1d8fba0 Add Greek console family (PR)
Add more ACS chars to l1/l2

PR:		32193
Submitted by:	Basileios Anastasatos <B.Anastasatos@MyRealBox.com>
2001-11-22 19:28:24 +00:00
ache
0d66b4d439 Fix Latin1/Latin2 ac= to not use non-standard 8bit characters 2001-11-22 19:06:00 +00:00
iwasaki
b951745fc5 Add disabling code via the debug.acpi.disable environment variable. 2001-11-22 17:43:15 +00:00
jlemon
be5f14aae7 Add #include <net/route.h> in order to get this to compile.
Spotted by: David Wolfskill
Forgotten by: me
2001-11-22 17:19:52 +00:00
ru
40b55200ed mdoc(7) police: minor spelling, markup and style fixes. 2001-11-22 16:08:45 +00:00
guido
6ece6a6a1b When mkdir()-ing, the parent dir gets is linkcount increased.
Fix VN_KNOTE to reflect that.

Found by: tobez@freebsd.org
MFC after:	2 days
2001-11-22 15:33:12 +00:00
sheldonh
af9a546450 Add the script that will be used to maintain src/share/misc/pci_vendors.
The script written and used originally by msmith has been lost.

This version takes the Boemler and Heckenbach lists and produces merged
output.  It defaults to ignoring any entries from Heckenbach already
found in Boemler but the -l option causes it to take the entry with the
longest description where an entry appears in both lists.

If this script is replaced, care should be taken to

1) Always use upper-case hexidecimal tokens in device ids.

2) Always keep device lists sorted within vendor lists, which must also
   be sorted.

3) Do not try to include input from the previous pci_vendors file, since
   bogus ids seem to be removed from both the Boemler and Heckenbach
   lists from time to time.
2001-11-22 14:26:30 +00:00
ru
ebe2ce32d2 Install pnpbios(4) manpage.
Submitted by:	Alexander Leidinger <Alexander@leidinger.net>
2001-11-22 13:05:54 +00:00
ru
57f082bf43 mdoc(7) police: oops, didn't catch this one without ispell(1). 2001-11-22 12:08:35 +00:00
ru
eea089732d mdoc(7) police: tiny markup fixes. 2001-11-22 12:03:31 +00:00
ru
49cc4a51f1 mdoc(7) police: general cleanup. 2001-11-22 11:56:54 +00:00
ru
58dcc65a5c mdoc(7) police: minor markup and misc fixes. 2001-11-22 11:36:29 +00:00
ru
1d30b42b7b mdoc(7) police: minor markup and spelling fixes. 2001-11-22 11:32:27 +00:00
ru
439558b27f mdoc(7) police: minor markup and misc fixes. 2001-11-22 11:25:02 +00:00
ru
c6fd839478 mdoc(7) police: markup cleanup. 2001-11-22 11:17:58 +00:00
ru
e82e55512f Be pedantic; we don't know of any shell that provides
"similar but not identical" built-in replacements for
false(1) and/or true(1).
2001-11-22 11:05:31 +00:00
nyan
9e91ed5c4e Use a separate drivers.conf between i386 and pc98. 2001-11-22 11:04:12 +00:00
ru
46ad89b6ed mdoc(7) police: add missing comma. 2001-11-22 09:48:54 +00:00
benno
d330713082 Change the failure mode in option parsing to silently bailing out of option
negotiation rather than rejecting the request.

Apple OpenFirmware 3.0f3 (the version in my iMac) adds trailing garbage to the
end of an otherwise valid request.  Without this change, the requests were
rejected which prevented me from booting.

Reviewed by:	obrien
2001-11-22 05:08:35 +00:00