Commit Graph

131901 Commits

Author SHA1 Message Date
sekiya
a061928d83 Add INSTALL and GENERIC kernel configuration wrappers for IP12 family.
Note that devices are defined in the IP2x configuration file; the IP12 is
99.5% the same as the IP20/22/24.  Indeed, the only reason to have a separate
config file for IP12 is to sort out the MIPS1/MIPS3 locore bits.

To that end, the wrappers include the IP2x GENERIC config, undefine a few
directives, and define the appropriate bits for IP12.
2004-11-13 03:20:37 +00:00
he
b659e3ae0f The size_t type isn't necessarily an int (on arm it's an unsigned int),
so add casts to int before using as a printf field width specifier.
2004-11-13 00:11:03 +00:00
sekiya
07c1fbd927 Use 8-bit SEEPROM addressing mode on the 4D/3x models. 6-bit might be used
on IP6, but we don't support them (and probably never will).
2004-11-12 23:28:05 +00:00
sekiya
c37efd2daa Print board identification, same as we do on the IP2x machines. 2004-11-12 23:01:01 +00:00
christos
692346d6f0 PR/28264: Miles Nordin: finger does not consult utmp if a username is specified 2004-11-12 21:48:58 +00:00
uwe
36ae53aba9 MBR_PTYPE_APPLE_UFS is now spelled with an underscore. 2004-11-12 19:34:43 +00:00
christos
88825a8a55 Use ptype table from <sys/bootblock.h> 2004-11-12 16:57:46 +00:00
christos
371d4782ee Fill in the list of mbr ptypes and make a static array of types and
descriptions.
2004-11-12 16:56:44 +00:00
he
398e7ad6d3 Mark ./usr/include/miscfs/ptyfs as obsolete instead of removing it. 2004-11-12 15:34:34 +00:00
he
d2c071958b g/c ./usr/include/miscfs/ptyfs entry, now that ptyfs.h is no longer installed. 2004-11-12 15:11:18 +00:00
he
60c4c90899 Add casts to unsigned char for the arguments to the ctype.h macros/functions. 2004-11-12 10:18:46 +00:00
he
cf13121ba3 Add a cast to unsigned char for an argument to toupper(). 2004-11-12 09:52:15 +00:00
atatat
e23f0e2a34 Pass the caller's proc* to soreceive() via auio.uio_procp so that
unp_externalize() is called properly.

Addresses PR kern/28194.
2004-11-12 04:15:29 +00:00
wiz
1a496846ae Sort options, fix Xr, some nit fixes. 2004-11-12 02:39:21 +00:00
jklos
befeef393b Add comments for OFB_ENABLE_CACHE (doesn't work on iMacs) and awacs
(causes lockups). OK'd by Tsubai Masanari (port maintainer).
2004-11-12 02:23:09 +00:00
hubertf
531272da6c Translate an error message from C to english.
Before:	disklabel: warning, partition g: offset % cylinder-size != 0
After:	disklabel: warning, partition g: not starting on cylinder boundary
2004-11-12 01:00:40 +00:00
dsl
c74f8d82e5 Specify --chroot and -h to tar so that it will chroot into the target
filesystem and then follow existing symbolic links in that filesystem.
The choot is required to make absolute links be processed correctly,
and must be done by tar because the program (and input file) do not
exist inside the chroot.
Fixes PR install/5010 and install/8090 (at least)
2004-11-11 22:39:03 +00:00
dsl
b1bc1fb2fa Remove precisely the set files when tidying up after an ftp install.
(why this code persists in running 'rm -f' and not just calling unlink()
is rather beyond me....)
2004-11-11 22:30:49 +00:00
dsl
4c23b8b763 Put WARNS=3 in the right place - so it actually affects the compilations 2004-11-11 22:21:53 +00:00
christos
d8edf257eb Don't create the lastlogx file with 0 mode. 2004-11-11 22:14:20 +00:00
dsl
efe04144e4 Get network some interface details by using the relevant ioctls (not
trying to parse the output of ifconfig)
Loop if the user specifies an unsupported media type.
Run ifocnfig to set the media type (any anything else the user typed in)
    before running dhcp to assign an address.
Correctly extract the defualt gateway from output of 'route -n show'
Extract nameserver from resolv.conf without using get_command_out(),
    delete get_command_out().
Fixes (at least) PR install/11880, install/12706
2004-11-11 22:10:54 +00:00
christos
fbed044c7e Grr, this was not updating lastlogx! 2004-11-11 22:08:39 +00:00
dsl
e4ad2fc0f8 Make url_decode() return a pointer to the end of the string, and take a
char * limit (not a length) to simplify buffer overrun avoidance.
2004-11-11 21:36:23 +00:00
dsl
7d6407147b Add support for fetching using http (by specifying http URL to ftp)
Remove a 'Press <enter> to continue' message that was accidently left
in by a previous commit.
Fixes PR/18555 (and a recent discussion on a mailing list)
2004-11-11 21:24:40 +00:00
dsl
9d819ed558 Functions for converting media types to/from text are now in libutil. 2004-11-11 20:37:18 +00:00
dsl
ece723d1ec Add if_media.c, functions for converting media to/from strings.
(from ifconfig.c)
2004-11-11 20:36:28 +00:00
dsl
de3f63a902 Add prototypes for functions that convert media to/from strings.
In libutil/if_media.c (moved from ifconfig.c so that they can be shared
in crunched binaries)
2004-11-11 20:34:30 +00:00
dsl
855ac51c74 Simplify code that opens file for -f option.
I bet no one ever uses the option anyway!
2004-11-11 20:17:48 +00:00
christos
cd0f7573f1 Add support for lastlogx output. Unfortunately not many programs use it
yet.
2004-11-11 20:17:36 +00:00
dsl
9dbf8d89fe Use strtoul() instead of atoi() and cast arg of remaining ctype fns
to unsigned char.
2004-11-11 20:14:02 +00:00
nathanw
ba1f693b99 Build wsfb. 2004-11-11 20:05:23 +00:00
nathanw
dbd2260f9f Makefile for wsfb reachover. 2004-11-11 20:04:17 +00:00
dsl
f5a10817b2 need to deconst() a qouted string to compile with WARNS=3 2004-11-11 20:00:40 +00:00
jdolecek
1782122374 move sys/lkm/vfs/miscfs/ptyfs/ to sys/lkm/vfs/ptyfs/ 2004-11-11 19:25:30 +00:00
jdolecek
e086026946 convert to one 'SUBDIR+=' per entry format 2004-11-11 19:24:04 +00:00
jdolecek
407f95a9b4 ptyfs moved from miscfs/ to fs/
sort file system includes
2004-11-11 19:21:46 +00:00
jdolecek
9d12d591c6 update #include path to fs/ptyfs/ 2004-11-11 19:19:59 +00:00
jdolecek
e8950fdc08 add -I${NETBSDSRCDIR}/sys into CPPFLAGS, so that this picks up necessary
kernel includes without need to have them installed
2004-11-11 19:10:16 +00:00
jdolecek
73830da5a7 g/c ptyfs.h - it's not installed anymore 2004-11-11 19:00:31 +00:00
jdolecek
d5e68a44ca ptyfs moved from sys/miscfs/ to sys/fs/ 2004-11-11 18:57:21 +00:00
jdolecek
156a03ce12 move ptyfs off sys/miscfs/ptyfs/ to sys/fs/ptyfs/ 2004-11-11 18:56:25 +00:00
christos
03409a2526 whitespace. 2004-11-11 15:58:59 +00:00
christos
13eabbb5aa - add unlockpt(); linux wants it.
- disable major/minor test and explain why.
2004-11-11 15:57:47 +00:00
jwise
aa4b2f2cf3 Revert previous. This was discussed at length in 1999 and 2000.
If we feel we need to revisit this decision, the place to do this is the
mailing lists, not the TODO document.
2004-11-11 14:59:45 +00:00
jmmv
69a6878485 Fix typo. 2004-11-11 14:47:02 +00:00
wiz
8958e5d831 Add line for groff and me as responsible. 2004-11-11 14:45:12 +00:00
wiz
14b920142e Bump date for COMPAT_BSDPTY. 2004-11-11 14:07:53 +00:00
christos
60cb41ca3f We still use the pty_check prototype even if NO_DEV_PTM. From Takahiro Kambe. 2004-11-11 13:45:39 +00:00
christos
d7f4671483 Add a license; thanks manu. 2004-11-11 13:42:55 +00:00
christos
19886a62bd Mention COMPAT_BSDPTY. 2004-11-11 13:38:18 +00:00