Commit Graph

67328 Commits

Author SHA1 Message Date
dfr
194b963c4d Since we used '#ifdef __i386__', don't close with '#endif /* !__alpha__ */' 2001-11-24 10:11:14 +00:00
nyan
10d48dc5d0 PC98 boxes cannot boot from CD-ROM. 2001-11-24 05:21:53 +00:00
keramida
472fe40c00 Be more explicit about the fact that realloc() might return a
different pointer than the one passed to it.

PR:		docs/31925
Submitted by:	Andrew <andrew@ugh.net.au>
2001-11-24 03:05:40 +00:00
luigi
2a4db36652 Whitespace change - replace leading spaces with tabs. 2001-11-24 01:47:50 +00:00
obrien
8c5542cd12 Remove the use of _PATH_DEV in the example.
The kernel certainly doesn't use _PATH_DEV or even /dev/ to find the device.
It cannot, since "/" has not been mounted.  Maybe the only affect of using
/dev/ is that it gets put in the mounted-from name for "/", so that mount(8),
etc., display an absolute path before "/" has been remounted.  Many have
never bothered typing the full path, and code that constructs a path in
rootdevnames[] never bothered to construct a full path, so the example
shouldn't have it.

Submitted by:	bde
2001-11-24 01:34:12 +00:00
ache
ba99a6c219 Fix decode table
PR:		32233
Submitted by:	Basileios Anastasatos <B.Anastasatos@MyRealBox.com>
2001-11-23 22:27:03 +00:00
brian
244dad812b Remove the hack that ensures that rt_Update() works on FreeBSD. Now
that the ncpaddr code doesn't create default routes with non-zero
masks, everything works as it should.
2001-11-23 19:20:45 +00:00
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