svn commit: r221399 - in projects/largeSMP: bin/stty
cddl/compat/opensolaris/misc contrib/bsnmp/snmp_mibII
contrib/one-true-awk contrib/texinfo/makeinfo contrib/top etc
lib/libstand sbin/geom/class...
Attilio Rao
attilio at FreeBSD.org
Tue May 3 18:57:47 UTC 2011
Author: attilio
Date: Tue May 3 18:57:46 2011
New Revision: 221399
URL: http://svn.freebsd.org/changeset/base/221399
Log:
MFC
Modified:
projects/largeSMP/bin/stty/stty.c
projects/largeSMP/cddl/compat/opensolaris/misc/zmount.c
projects/largeSMP/contrib/bsnmp/snmp_mibII/mibII_interfaces.c
projects/largeSMP/contrib/one-true-awk/FIXES
projects/largeSMP/contrib/one-true-awk/README
projects/largeSMP/contrib/one-true-awk/b.c
projects/largeSMP/contrib/one-true-awk/lib.c
projects/largeSMP/contrib/one-true-awk/main.c
projects/largeSMP/contrib/one-true-awk/makefile
projects/largeSMP/contrib/one-true-awk/run.c
projects/largeSMP/contrib/texinfo/makeinfo/sectioning.c
projects/largeSMP/etc/newsyslog.conf
projects/largeSMP/lib/libstand/__main.c
projects/largeSMP/lib/libstand/bswap.c
projects/largeSMP/lib/libstand/cd9660.c
projects/largeSMP/lib/libstand/dosfs.c
projects/largeSMP/lib/libstand/environment.c
projects/largeSMP/lib/libstand/getopt.c
projects/largeSMP/lib/libstand/net.c
projects/largeSMP/lib/libstand/tftp.c
projects/largeSMP/lib/libstand/udp.c
projects/largeSMP/sbin/geom/class/part/geom_part.c
projects/largeSMP/sbin/geom/class/part/gpart.8
projects/largeSMP/share/man/man4/sem.4
projects/largeSMP/sys/amd64/conf/DEFAULTS
projects/largeSMP/sys/amd64/pci/pci_bus.c
projects/largeSMP/sys/boot/ia64/common/exec.c
projects/largeSMP/sys/cam/cam_xpt.c
projects/largeSMP/sys/conf/makeLINT.mk
projects/largeSMP/sys/conf/options
projects/largeSMP/sys/dev/acpica/acpi_pcib_acpi.c
projects/largeSMP/sys/dev/acpica/acpi_pcib_pci.c
projects/largeSMP/sys/dev/bxe/if_bxe.c
projects/largeSMP/sys/dev/pci/pci.c
projects/largeSMP/sys/dev/pci/pci_pci.c
projects/largeSMP/sys/dev/pci/pcib_private.h
projects/largeSMP/sys/dev/sound/pcm/dsp.c
projects/largeSMP/sys/dev/vxge/include/build-version.h
projects/largeSMP/sys/dev/vxge/vxge.c
projects/largeSMP/sys/dev/vxge/vxge.h
projects/largeSMP/sys/i386/conf/DEFAULTS
projects/largeSMP/sys/i386/pci/pci_bus.c
projects/largeSMP/sys/kern/kern_jail.c
projects/largeSMP/sys/kern/kern_racct.c
projects/largeSMP/sys/kern/kern_rctl.c
projects/largeSMP/sys/sparc64/pci/apb.c
projects/largeSMP/sys/sparc64/pci/ofw_pcib.c
projects/largeSMP/sys/sys/jail.h
projects/largeSMP/sys/sys/rctl.h
projects/largeSMP/sys/x86/pci/qpi.c
projects/largeSMP/sys/x86/x86/mptable_pci.c
projects/largeSMP/tools/tools/vxge/vxge_info.c
projects/largeSMP/usr.bin/calendar/calendars/calendar.freebsd
projects/largeSMP/usr.bin/login/login.c
projects/largeSMP/usr.bin/rctl/rctl.8
projects/largeSMP/usr.sbin/makefs/cd9660/cd9660_eltorito.c
Directory Properties:
projects/largeSMP/ (props changed)
projects/largeSMP/cddl/contrib/opensolaris/ (props changed)
projects/largeSMP/contrib/bind9/ (props changed)
projects/largeSMP/contrib/binutils/ (props changed)
projects/largeSMP/contrib/bzip2/ (props changed)
projects/largeSMP/contrib/dialog/ (props changed)
projects/largeSMP/contrib/ee/ (props changed)
projects/largeSMP/contrib/expat/ (props changed)
projects/largeSMP/contrib/file/ (props changed)
projects/largeSMP/contrib/gcc/ (props changed)
projects/largeSMP/contrib/gdb/ (props changed)
projects/largeSMP/contrib/gdtoa/ (props changed)
projects/largeSMP/contrib/gnu-sort/ (props changed)
projects/largeSMP/contrib/groff/ (props changed)
projects/largeSMP/contrib/less/ (props changed)
projects/largeSMP/contrib/libpcap/ (props changed)
projects/largeSMP/contrib/libstdc++/ (props changed)
projects/largeSMP/contrib/llvm/ (props changed)
projects/largeSMP/contrib/llvm/tools/clang/ (props changed)
projects/largeSMP/contrib/ncurses/ (props changed)
projects/largeSMP/contrib/netcat/ (props changed)
projects/largeSMP/contrib/ntp/ (props changed)
projects/largeSMP/contrib/one-true-awk/ (props changed)
projects/largeSMP/contrib/openbsm/ (props changed)
projects/largeSMP/contrib/openpam/ (props changed)
projects/largeSMP/contrib/pf/ (props changed)
projects/largeSMP/contrib/sendmail/ (props changed)
projects/largeSMP/contrib/tcpdump/ (props changed)
projects/largeSMP/contrib/tcsh/ (props changed)
projects/largeSMP/contrib/top/ (props changed)
projects/largeSMP/contrib/top/install-sh (props changed)
projects/largeSMP/contrib/tzcode/stdtime/ (props changed)
projects/largeSMP/contrib/tzcode/zic/ (props changed)
projects/largeSMP/contrib/tzdata/ (props changed)
projects/largeSMP/contrib/wpa/ (props changed)
projects/largeSMP/contrib/xz/ (props changed)
projects/largeSMP/crypto/openssh/ (props changed)
projects/largeSMP/crypto/openssl/ (props changed)
projects/largeSMP/gnu/lib/ (props changed)
projects/largeSMP/gnu/usr.bin/binutils/ (props changed)
projects/largeSMP/gnu/usr.bin/cc/cc_tools/ (props changed)
projects/largeSMP/gnu/usr.bin/gdb/ (props changed)
projects/largeSMP/lib/libc/ (props changed)
projects/largeSMP/lib/libc/stdtime/ (props changed)
projects/largeSMP/lib/libutil/ (props changed)
projects/largeSMP/lib/libz/ (props changed)
projects/largeSMP/sbin/ (props changed)
projects/largeSMP/sbin/ipfw/ (props changed)
projects/largeSMP/share/mk/bsd.arch.inc.mk (props changed)
projects/largeSMP/share/zoneinfo/ (props changed)
projects/largeSMP/sys/ (props changed)
projects/largeSMP/sys/amd64/include/xen/ (props changed)
projects/largeSMP/sys/boot/ (props changed)
projects/largeSMP/sys/boot/i386/efi/ (props changed)
projects/largeSMP/sys/boot/ia64/efi/ (props changed)
projects/largeSMP/sys/boot/ia64/ski/ (props changed)
projects/largeSMP/sys/boot/powerpc/boot1.chrp/ (props changed)
projects/largeSMP/sys/boot/powerpc/ofw/ (props changed)
projects/largeSMP/sys/cddl/contrib/opensolaris/ (props changed)
projects/largeSMP/sys/conf/ (props changed)
projects/largeSMP/sys/contrib/dev/acpica/ (props changed)
projects/largeSMP/sys/contrib/octeon-sdk/ (props changed)
projects/largeSMP/sys/contrib/pf/ (props changed)
projects/largeSMP/sys/contrib/x86emu/ (props changed)
projects/largeSMP/usr.bin/calendar/ (props changed)
projects/largeSMP/usr.bin/csup/ (props changed)
projects/largeSMP/usr.bin/procstat/ (props changed)
projects/largeSMP/usr.sbin/ndiscvt/ (props changed)
projects/largeSMP/usr.sbin/zic/ (props changed)
Modified: projects/largeSMP/bin/stty/stty.c
==============================================================================
--- projects/largeSMP/bin/stty/stty.c Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/bin/stty/stty.c Tue May 3 18:57:46 2011 (r221399)
@@ -61,9 +61,11 @@ main(int argc, char *argv[])
struct info i;
enum FMT fmt;
int ch;
+ const char *file;
fmt = NOTSET;
i.fd = STDIN_FILENO;
+ file = "stdin";
opterr = 0;
while (optind < argc &&
@@ -79,6 +81,7 @@ main(int argc, char *argv[])
case 'f':
if ((i.fd = open(optarg, O_RDONLY | O_NONBLOCK)) < 0)
err(1, "%s", optarg);
+ file = optarg;
break;
case 'g':
fmt = GFLAG;
@@ -92,7 +95,7 @@ args: argc -= optind;
argv += optind;
if (tcgetattr(i.fd, &i.t) < 0)
- errx(1, "stdin isn't a terminal");
+ errx(1, "%s isn't a terminal", file);
if (ioctl(i.fd, TIOCGETD, &i.ldisc) < 0)
err(1, "TIOCGETD");
if (ioctl(i.fd, TIOCGWINSZ, &i.win) < 0)
Modified: projects/largeSMP/cddl/compat/opensolaris/misc/zmount.c
==============================================================================
--- projects/largeSMP/cddl/compat/opensolaris/misc/zmount.c Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/cddl/compat/opensolaris/misc/zmount.c Tue May 3 18:57:46 2011 (r221399)
@@ -98,8 +98,10 @@ zmount(const char *spec, const char *dir
build_iovec(&iov, &iovlen, "fspath", __DECONST(char *, dir),
(size_t)-1);
build_iovec(&iov, &iovlen, "from", __DECONST(char *, spec), (size_t)-1);
- for (p = optstr; p != NULL; strsep(&p, ",/ "))
- build_iovec(&iov, &iovlen, p, NULL, (size_t)-1);
+ for (p = optstr; p != NULL; strsep(&p, ",/ ")) {
+ if (*p != '\0')
+ build_iovec(&iov, &iovlen, p, NULL, (size_t)-1);
+ }
rv = nmount(iov, iovlen, 0);
free(optstr);
return (rv);
Modified: projects/largeSMP/contrib/bsnmp/snmp_mibII/mibII_interfaces.c
==============================================================================
--- projects/largeSMP/contrib/bsnmp/snmp_mibII/mibII_interfaces.c Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/contrib/bsnmp/snmp_mibII/mibII_interfaces.c Tue May 3 18:57:46 2011 (r221399)
@@ -289,8 +289,7 @@ op_ifentry(struct snmp_context *ctx, str
* cable) and hence return 'dormant'.
*/
if (ifp->mib.ifmd_flags & IFF_RUNNING) {
- if (ifp->mib.ifmd_data.ifi_link_state ==
- LINK_STATE_DOWN)
+ if (ifp->mib.ifmd_data.ifi_link_state != LINK_STATE_UP)
value->v.integer = 5; /* state dormant */
else
value->v.integer = 1; /* state up */
Modified: projects/largeSMP/contrib/one-true-awk/FIXES
==============================================================================
--- projects/largeSMP/contrib/one-true-awk/FIXES Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/contrib/one-true-awk/FIXES Tue May 3 18:57:46 2011 (r221399)
@@ -25,6 +25,32 @@ THIS SOFTWARE.
This file lists all bug fixes, changes, etc., made since the AWK book
was sent to the printers in August, 1987.
+May 1, 2011:
+ after advice from todd miller, kevin lo, ruslan ermilov,
+ and arnold robbins, changed srand() to return the previous
+ seed (which is 1 on the first call of srand). the seed is
+ an Awkfloat internally though converted to unsigned int to
+ pass to the library srand(). thanks, everyone.
+
+ fixed a subtle (and i hope low-probability) overflow error
+ in fldbld, by adding space for one extra \0. thanks to
+ robert bassett for spotting this one and providing a fix.
+
+ removed the files related to compilation on windows. i no
+ longer have anything like a current windows environment, so
+ i can't test any of it.
+
+May 23, 2010:
+ fixed long-standing overflow bug in run.c; many thanks to
+ nelson beebe for spotting it and providing the fix.
+
+ fixed bug that didn't parse -vd=1 properly; thanks to santiago
+ vila for spotting it.
+
+Feb 8, 2010:
+ i give up. replaced isblank with isspace in b.c; there are
+ no consistent header files.
+
Nov 26, 2009:
fixed a long-standing issue with when FS takes effect. a
change to FS is now noticed immediately for subsequent splits.
Modified: projects/largeSMP/contrib/one-true-awk/README
==============================================================================
--- projects/largeSMP/contrib/one-true-awk/README Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/contrib/one-true-awk/README Tue May 3 18:57:46 2011 (r221399)
@@ -29,7 +29,7 @@ by Al Aho, Brian Kernighan, and Peter We
Changes, mostly bug fixes and occasional enhancements, are listed
in FIXES. If you distribute this code further, please please please
distribute FIXES with it. If you find errors, please report them
-to bwk at bell-labs.com. Thanks.
+to bwk at cs.princeton.edu. Thanks.
The program itself is created by
make
Modified: projects/largeSMP/contrib/one-true-awk/b.c
==============================================================================
--- projects/largeSMP/contrib/one-true-awk/b.c Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/contrib/one-true-awk/b.c Tue May 3 18:57:46 2011 (r221399)
@@ -752,7 +752,7 @@ Node *unary(Node *np)
/* #define HAS_ISBLANK */
#ifndef HAS_ISBLANK
-int (isblank)(int c)
+int (xisblank)(int c)
{
return c==' ' || c=='\t';
}
@@ -766,7 +766,11 @@ struct charclass {
} charclasses[] = {
{ "alnum", 5, isalnum },
{ "alpha", 5, isalpha },
+#ifndef HAS_ISBLANK
+ { "blank", 5, isspace }, /* was isblank */
+#else
{ "blank", 5, isblank },
+#endif
{ "cntrl", 5, iscntrl },
{ "digit", 5, isdigit },
{ "graph", 5, isgraph },
Modified: projects/largeSMP/contrib/one-true-awk/lib.c
==============================================================================
--- projects/largeSMP/contrib/one-true-awk/lib.c Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/contrib/one-true-awk/lib.c Tue May 3 18:57:46 2011 (r221399)
@@ -256,6 +256,7 @@ void fldbld(void) /* create fields from
{
/* this relies on having fields[] the same length as $0 */
/* the fields are all stored in this one array with \0's */
+ /* possibly with a final trailing \0 not associated with any field */
char *r, *fr, sep;
Cell *p;
int i, j, n;
@@ -268,7 +269,7 @@ void fldbld(void) /* create fields from
n = strlen(r);
if (n > fieldssize) {
xfree(fields);
- if ((fields = (char *) malloc(n+1)) == NULL)
+ if ((fields = (char *) malloc(n+2)) == NULL) /* possibly 2 final \0s */
FATAL("out of space for fields in fldbld %d", n);
fieldssize = n;
}
Modified: projects/largeSMP/contrib/one-true-awk/main.c
==============================================================================
--- projects/largeSMP/contrib/one-true-awk/main.c Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/contrib/one-true-awk/main.c Tue May 3 18:57:46 2011 (r221399)
@@ -25,7 +25,7 @@ THIS SOFTWARE.
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-const char *version = "version 20091126 (FreeBSD)";
+const char *version = "version 20110501 (FreeBSD)";
#define DEBUG
#include <stdio.h>
@@ -41,6 +41,7 @@ extern char **environ;
extern int nfields;
int dbg = 0;
+Awkfloat srand_seed = 1;
char *cmdname; /* gets argv[0] for error messages */
extern FILE *yyin; /* lex input file */
char *lexprog; /* points to program argument if it exists */
@@ -71,6 +72,10 @@ int main(int argc, char *argv[])
exit(1);
}
signal(SIGFPE, fpecatch);
+
+ srand_seed = 1;
+ srand(srand_seed);
+
yyin = NULL;
symtab = makesymtab(NSYMTAB/NSYMTAB);
while (argc > 1 && argv[1][0] == '-' && argv[1][1] != '\0') {
@@ -120,14 +125,10 @@ int main(int argc, char *argv[])
WARNING("field separator FS is empty");
break;
case 'v': /* -v a=1 to be done NOW. one -v for each */
- if (argv[1][2] != 0) { /* arg is -vsomething */
- if (argv[1][2] != 0)
- setclvar(&argv[1][2]);
- } else { /* arg is -v something */
- argc--; argv++;
- if (argc > 1 && isclvar(argv[1]))
- setclvar(argv[1]);
- }
+ if (argv[1][2] == '\0' && --argc > 1 && isclvar((++argv)[1]))
+ setclvar(argv[1]);
+ else if (argv[1][2] != '\0')
+ setclvar(&argv[1][2]);
break;
case 'd':
dbg = atoi(&argv[1][2]);
Modified: projects/largeSMP/contrib/one-true-awk/makefile
==============================================================================
--- projects/largeSMP/contrib/one-true-awk/makefile Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/contrib/one-true-awk/makefile Tue May 3 18:57:46 2011 (r221399)
@@ -26,13 +26,12 @@ CFLAGS = -g
CFLAGS = -O2
CFLAGS =
-CC = gcc -Wall -g -Wwrite-strings
-CC = gcc -fprofile-arcs -ftest-coverage # then gcov f1.c; cat f1.c.gcov
CC = gcc -Wall -g
CC = cc
+CC = gcc -Wall -g -Wwrite-strings
+CC = gcc -fprofile-arcs -ftest-coverage # then gcov f1.c; cat f1.c.gcov
CC = gcc -O4
-
YACC = bison -y
YACC = yacc
YFLAGS = -d
@@ -40,13 +39,13 @@ YFLAGS = -d
OFILES = b.o main.o parse.o proctab.o tran.o lib.o run.o lex.o
SOURCE = awk.h ytab.c ytab.h proto.h awkgram.y lex.c b.c main.c \
- maketab.c parse.c lib.c run.c tran.c proctab.c missing95.c
+ maketab.c parse.c lib.c run.c tran.c proctab.c
LISTING = awk.h proto.h awkgram.y lex.c b.c main.c maketab.c parse.c \
- lib.c run.c tran.c missing95.c
+ lib.c run.c tran.c
-SHIP = README FIXES $(SOURCE) ytab[ch].bak makefile makefile.win \
- vcvars32.bat buildwin.bat awk.1
+SHIP = README FIXES $(SOURCE) ytab[ch].bak makefile \
+ awk.1
a.out: ytab.o $(OFILES)
$(CC) $(CFLAGS) ytab.o $(OFILES) $(ALLOC) -lm
Modified: projects/largeSMP/contrib/one-true-awk/run.c
==============================================================================
--- projects/largeSMP/contrib/one-true-awk/run.c Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/contrib/one-true-awk/run.c Tue May 3 18:57:46 2011 (r221399)
@@ -69,6 +69,7 @@ void tempfree(Cell *p) {
jmp_buf env;
extern int pairstack[];
+extern Awkfloat srand_seed;
Node *winner = NULL; /* root of parse tree */
Cell *tmps; /* free temporary cells for execution */
@@ -1469,6 +1470,7 @@ Cell *bltin(Node **a, int n) /* builtin
Cell *x, *y;
Awkfloat u;
int t;
+ Awkfloat tmp;
char *p, *buf;
Node *nextarg;
FILE *fp;
@@ -1520,7 +1522,10 @@ Cell *bltin(Node **a, int n) /* builtin
u = time((time_t *)0);
else
u = getfval(x);
+ tmp = u;
srand((unsigned int) u);
+ u = srand_seed;
+ srand_seed = tmp;
break;
case FTOUPPER:
case FTOLOWER:
@@ -1890,9 +1895,10 @@ Cell *gsub(Node **a, int nnn) /* global
adjbuf(&buf, &bufsz, 1+strlen(sptr)+pb-buf, 0, &pb, "gsub");
while ((*pb++ = *sptr++) != 0)
;
- done: if (pb > buf + bufsz)
- FATAL("gsub result2 %.30s too big; can't happen", buf);
- *pb = '\0';
+ done: if (pb < buf + bufsz)
+ *pb = '\0';
+ else if (*(pb-1) != '\0')
+ FATAL("gsub result2 %.30s truncated; can't happen", buf);
setsval(x, buf); /* BUG: should be able to avoid copy + free */
pfa->initstat = tempstat;
}
Modified: projects/largeSMP/contrib/texinfo/makeinfo/sectioning.c
==============================================================================
--- projects/largeSMP/contrib/texinfo/makeinfo/sectioning.c Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/contrib/texinfo/makeinfo/sectioning.c Tue May 3 18:57:46 2011 (r221399)
@@ -256,13 +256,13 @@ current_chapter_number (void)
return xstrdup ("");
else if (enum_marker == APPENDIX_MAGIC)
{
- char s[1];
+ char s[2];
sprintf (s, "%c", numbers[0] + 64);
return xstrdup (s);
}
else
{
- char s[5];
+ char s[11];
sprintf (s, "%d", numbers[0]);
return xstrdup (s);
}
Modified: projects/largeSMP/etc/newsyslog.conf
==============================================================================
--- projects/largeSMP/etc/newsyslog.conf Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/etc/newsyslog.conf Tue May 3 18:57:46 2011 (r221399)
@@ -8,7 +8,7 @@
# is no process which needs to be signalled when a given log file is
# rotated, then the entry for that file should include the 'N' flag.
#
-# The 'flags' field is one or more of the letters: BCGJNUWZ or a '-'.
+# The 'flags' field is one or more of the letters: BCDGJNUXZ or a '-'.
#
# Note: some sites will want to select more restrictive protections than the
# defaults. In particular, it may be desirable to switch many of the 644
Modified: projects/largeSMP/lib/libstand/__main.c
==============================================================================
--- projects/largeSMP/lib/libstand/__main.c Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/lib/libstand/__main.c Tue May 3 18:57:46 2011 (r221399)
@@ -38,6 +38,6 @@ __FBSDID("$FreeBSD$");
void __main(void);
void
-__main()
+__main(void)
{
}
Modified: projects/largeSMP/lib/libstand/bswap.c
==============================================================================
--- projects/largeSMP/lib/libstand/bswap.c Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/lib/libstand/bswap.c Tue May 3 18:57:46 2011 (r221399)
@@ -16,9 +16,11 @@ static char *rcsid = "$NetBSD: bswap64.c
#undef bswap32
#undef bswap64
+u_int32_t bswap32(u_int32_t x);
+u_int64_t bswap64(u_int64_t x);
+
u_int32_t
-bswap32(x)
- u_int32_t x;
+bswap32(u_int32_t x)
{
return ((x << 24) & 0xff000000 ) |
((x << 8) & 0x00ff0000 ) |
@@ -27,8 +29,7 @@ bswap32(x)
}
u_int64_t
-bswap64(x)
- u_int64_t x;
+bswap64(u_int64_t x)
{
u_int32_t *p = (u_int32_t*)&x;
u_int32_t t;
Modified: projects/largeSMP/lib/libstand/cd9660.c
==============================================================================
--- projects/largeSMP/lib/libstand/cd9660.c Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/lib/libstand/cd9660.c Tue May 3 18:57:46 2011 (r221399)
@@ -545,7 +545,7 @@ again:
}
static int
-cd9660_write(struct open_file *f, void *start, size_t size, size_t *resid)
+cd9660_write(struct open_file *f __unused, void *start __unused, size_t size __unused, size_t *resid __unused)
{
return EROFS;
}
Modified: projects/largeSMP/lib/libstand/dosfs.c
==============================================================================
--- projects/largeSMP/lib/libstand/dosfs.c Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/lib/libstand/dosfs.c Tue May 3 18:57:46 2011 (r221399)
@@ -358,7 +358,7 @@ dos_stat(struct open_file *fd, struct st
static int
dos_readdir(struct open_file *fd, struct dirent *d)
{
- DOS_FILE *f = (DOS_FILE *)fd->f_fsdata;
+ /* DOS_FILE *f = (DOS_FILE *)fd->f_fsdata; */
u_char fn[261];
DOS_DIR dd;
size_t res;
@@ -414,7 +414,7 @@ dos_readdir(struct open_file *fd, struct
}
}
- d->d_fileno = dd.de.clus[1] << 8 + dd.de.clus[0];
+ d->d_fileno = (dd.de.clus[1] << 8) + dd.de.clus[0];
d->d_reclen = sizeof(*d);
d->d_type = (dd.de.attr & FA_DIR) ? DT_DIR : DT_REG;
memcpy(d->d_name, fn, sizeof(d->d_name));
Modified: projects/largeSMP/lib/libstand/environment.c
==============================================================================
--- projects/largeSMP/lib/libstand/environment.c Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/lib/libstand/environment.c Tue May 3 18:57:46 2011 (r221399)
@@ -207,13 +207,14 @@ env_discard(struct env_var *ev)
}
int
-env_noset(struct env_var *ev, int flags, const void *value)
+env_noset(struct env_var *ev __unused, int flags __unused,
+ const void *value __unused)
{
return(EPERM);
}
int
-env_nounset(struct env_var *ev)
+env_nounset(struct env_var *ev __unused)
{
return(EPERM);
}
Modified: projects/largeSMP/lib/libstand/getopt.c
==============================================================================
--- projects/largeSMP/lib/libstand/getopt.c Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/lib/libstand/getopt.c Tue May 3 18:57:46 2011 (r221399)
@@ -52,10 +52,7 @@ char *optarg; /* argument associated wi
* Parse argc/argv argument vector.
*/
int
-getopt(nargc, nargv, ostr)
- int nargc;
- char * const *nargv;
- const char *ostr;
+getopt(int nargc, char * const *nargv, const char *ostr)
{
static char *place = EMSG; /* option letter processing */
char *oli; /* option letter list index */
Modified: projects/largeSMP/lib/libstand/net.c
==============================================================================
--- projects/largeSMP/lib/libstand/net.c Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/lib/libstand/net.c Tue May 3 18:57:46 2011 (r221399)
@@ -48,6 +48,7 @@ __FBSDID("$FreeBSD$");
#include <netinet/if_ether.h>
#include <netinet/in_systm.h>
+#include <netinet/in_pcb.h>
#include <netinet/ip.h>
#include <netinet/ip_var.h>
#include <netinet/udp.h>
Modified: projects/largeSMP/lib/libstand/tftp.c
==============================================================================
--- projects/largeSMP/lib/libstand/tftp.c Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/lib/libstand/tftp.c Tue May 3 18:57:46 2011 (r221399)
@@ -110,11 +110,7 @@ static const int tftperrors[8] = {
};
static ssize_t
-recvtftp(d, pkt, len, tleft)
- struct iodesc *d;
- void *pkt;
- ssize_t len;
- time_t tleft;
+recvtftp(struct iodesc *d, void *pkt, ssize_t len, time_t tleft)
{
struct tftphdr *t;
@@ -152,14 +148,14 @@ recvtftp(d, pkt, len, tleft)
printf("illegal tftp error %d\n", ntohs(t->th_code));
errno = EIO;
} else {
-#ifdef DEBUG
+#ifdef TFTP_DEBUG
printf("tftp-error %d\n", ntohs(t->th_code));
#endif
errno = tftperrors[ntohs(t->th_code)];
}
return (-1);
default:
-#ifdef DEBUG
+#ifdef TFTP_DEBUG
printf("tftp type %d not handled\n", ntohs(t->th_opcode));
#endif
return (-1);
@@ -168,8 +164,7 @@ recvtftp(d, pkt, len, tleft)
/* send request, expect first block (or error) */
static int
-tftp_makereq(h)
- struct tftp_handle *h;
+tftp_makereq(struct tftp_handle *h)
{
struct {
u_char header[HEADER_SIZE];
@@ -212,8 +207,7 @@ tftp_makereq(h)
/* ack block, expect next */
static int
-tftp_getnextblock(h)
- struct tftp_handle *h;
+tftp_getnextblock(struct tftp_handle *h)
{
struct {
u_char header[HEADER_SIZE];
@@ -246,9 +240,7 @@ tftp_getnextblock(h)
}
static int
-tftp_open(path, f)
- const char *path;
- struct open_file *f;
+tftp_open(const char *path, struct open_file *f)
{
struct tftp_handle *tftpfile;
struct iodesc *io;
@@ -287,11 +279,8 @@ tftp_open(path, f)
}
static int
-tftp_read(f, addr, size, resid)
- struct open_file *f;
- void *addr;
- size_t size;
- size_t *resid; /* out */
+tftp_read(struct open_file *f, void *addr, size_t size,
+ size_t *resid /* out */)
{
struct tftp_handle *tftpfile;
static int tc = 0;
@@ -314,7 +303,7 @@ tftp_read(f, addr, size, resid)
res = tftp_getnextblock(tftpfile);
if (res) { /* no answer */
-#ifdef DEBUG
+#ifdef TFTP_DEBUG
printf("tftp: read error\n");
#endif
return (res);
@@ -330,7 +319,7 @@ tftp_read(f, addr, size, resid)
inbuffer = tftpfile->validsize - offinblock;
if (inbuffer < 0) {
-#ifdef DEBUG
+#ifdef TFTP_DEBUG
printf("tftp: invalid offset %d\n",
tftpfile->off);
#endif
@@ -347,7 +336,7 @@ tftp_read(f, addr, size, resid)
if ((tftpfile->islastblock) && (count == inbuffer))
break; /* EOF */
} else {
-#ifdef DEBUG
+#ifdef TFTP_DEBUG
printf("tftp: block %d not found\n", needblock);
#endif
return (EINVAL);
@@ -361,8 +350,7 @@ tftp_read(f, addr, size, resid)
}
static int
-tftp_close(f)
- struct open_file *f;
+tftp_close(struct open_file *f)
{
struct tftp_handle *tftpfile;
tftpfile = (struct tftp_handle *) f->f_fsdata;
@@ -377,19 +365,14 @@ tftp_close(f)
}
static int
-tftp_write(f, start, size, resid)
- struct open_file *f;
- void *start;
- size_t size;
- size_t *resid; /* out */
+tftp_write(struct open_file *f __unused, void *start __unused, size_t size __unused,
+ size_t *resid /* out */ __unused)
{
return (EROFS);
}
static int
-tftp_stat(f, sb)
- struct open_file *f;
- struct stat *sb;
+tftp_stat(struct open_file *f, struct stat *sb)
{
struct tftp_handle *tftpfile;
tftpfile = (struct tftp_handle *) f->f_fsdata;
@@ -403,10 +386,7 @@ tftp_stat(f, sb)
}
static off_t
-tftp_seek(f, offset, where)
- struct open_file *f;
- off_t offset;
- int where;
+tftp_seek(struct open_file *f, off_t offset, int where)
{
struct tftp_handle *tftpfile;
tftpfile = (struct tftp_handle *) f->f_fsdata;
Modified: projects/largeSMP/lib/libstand/udp.c
==============================================================================
--- projects/largeSMP/lib/libstand/udp.c Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/lib/libstand/udp.c Tue May 3 18:57:46 2011 (r221399)
@@ -48,6 +48,7 @@ __FBSDID("$FreeBSD$");
#include <netinet/if_ether.h>
#include <netinet/in_systm.h>
+#include <netinet/in_pcb.h>
#include <netinet/ip.h>
#include <netinet/ip_var.h>
#include <netinet/udp.h>
Modified: projects/largeSMP/sbin/geom/class/part/geom_part.c
==============================================================================
--- projects/largeSMP/sbin/geom/class/part/geom_part.c Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/sbin/geom/class/part/geom_part.c Tue May 3 18:57:46 2011 (r221399)
@@ -93,6 +93,7 @@ static void gpart_restore(struct gctl_re
struct g_command PUBSYM(class_commands)[] = {
{ "add", 0, gpart_issue, {
+ { 'a', "alignment", GPART_AUTOFILL, G_TYPE_STRING },
{ 'b', "start", GPART_AUTOFILL, G_TYPE_STRING },
{ 's', "size", GPART_AUTOFILL, G_TYPE_STRING },
{ 't', "type", NULL, G_TYPE_STRING },
@@ -100,7 +101,8 @@ struct g_command PUBSYM(class_commands)[
{ 'l', "label", G_VAL_OPTIONAL, G_TYPE_STRING },
{ 'f', "flags", GPART_FLAGS, G_TYPE_STRING },
G_OPT_SENTINEL },
- "[-b start] [-s size] -t type [-i index] [-l label] [-f flags] geom"
+ "[-a alignment] [-b start] [-s size] -t type [-i index] "
+ "[-l label] [-f flags] geom"
},
{ "backup", 0, gpart_backup, G_NULL_OPTS,
"geom"
@@ -168,11 +170,12 @@ struct g_command PUBSYM(class_commands)[
"-a attrib -i index [-f flags] geom"
},
{ "resize", 0, gpart_issue, {
+ { 'a', "alignment", GPART_AUTOFILL, G_TYPE_STRING },
{ 's', "size", GPART_AUTOFILL, G_TYPE_STRING },
{ 'i', GPART_PARAM_INDEX, NULL, G_TYPE_NUMBER },
{ 'f', "flags", GPART_FLAGS, G_TYPE_STRING },
G_OPT_SENTINEL },
- "[-s size] -i index [-f flags] geom"
+ "[-a alignment] [-s size] -i index [-f flags] geom"
},
{ "restore", 0, gpart_restore, {
{ 'F', "force", NULL, G_TYPE_BOOL },
@@ -298,6 +301,9 @@ fmtattrib(struct gprovider *pp)
return (buf);
}
+#define ALIGNDOWN(d, a) (-(a) & (d))
+#define ALIGNUP(d, a) (-(-(a) & -(d)))
+
static int
gpart_autofill_resize(struct gctl_req *req)
{
@@ -306,7 +312,7 @@ gpart_autofill_resize(struct gctl_req *r
struct ggeom *gp;
struct gprovider *pp;
off_t last, size, start, new_size;
- off_t lba, new_lba;
+ off_t lba, new_lba, alignment;
const char *s;
int error, idx;
@@ -333,6 +339,19 @@ gpart_autofill_resize(struct gctl_req *r
if (pp == NULL)
errx(EXIT_FAILURE, "Provider for geom %s not found.", s);
+ s = gctl_get_ascii(req, "alignment");
+ alignment = 1;
+ if (*s != '*') {
+ error = g_parse_lba(s, pp->lg_sectorsize, &alignment);
+ if (error)
+ errc(EXIT_FAILURE, error, "Invalid alignment param");
+ if (alignment == 0)
+ errx(EXIT_FAILURE, "Invalid alignment param");
+ }
+ error = gctl_delete_param(req, "alignment");
+ if (error)
+ errc(EXIT_FAILURE, error, "internal error");
+
s = gctl_get_ascii(req, "size");
if (*s == '*')
new_size = 0;
@@ -341,10 +360,14 @@ gpart_autofill_resize(struct gctl_req *r
if (error)
errc(EXIT_FAILURE, error, "Invalid size param");
/* no autofill necessary. */
- goto done;
+ if (alignment == 1)
+ goto done;
+ if (new_size > alignment)
+ new_size = ALIGNDOWN(new_size, alignment);
}
last = (off_t)strtoimax(find_geomcfg(gp, "last"), NULL, 0);
+ last = ALIGNDOWN(last, alignment);
LIST_FOREACH(pp, &gp->lg_provider, lg_provider) {
s = find_provcfg(pp, "index");
if (s == NULL)
@@ -376,7 +399,7 @@ gpart_autofill_resize(struct gctl_req *r
size = lba - start;
pp = find_provider(gp, lba);
if (pp == NULL)
- new_size = last - start + 1;
+ new_size = ALIGNDOWN(last - start + 1, alignment);
else {
s = find_provcfg(pp, "start");
if (s == NULL) {
@@ -389,6 +412,7 @@ gpart_autofill_resize(struct gctl_req *r
* Is there any free space between current and
* next providers?
*/
+ new_lba = ALIGNUP(new_lba, alignment);
if (new_lba > lba)
new_size = new_lba - start;
else {
@@ -410,12 +434,12 @@ gpart_autofill(struct gctl_req *req)
struct gclass *cp;
struct ggeom *gp;
struct gprovider *pp;
- off_t first, last;
- off_t size, start;
- off_t lba, len;
+ off_t first, last, a_first;
+ off_t size, start, a_lba;
+ off_t lba, len, alignment;
uintmax_t grade;
const char *s;
- int error, has_size, has_start;
+ int error, has_size, has_start, has_alignment;
s = gctl_get_ascii(req, "verb");
if (strcmp(s, "resize") == 0)
@@ -442,6 +466,20 @@ gpart_autofill(struct gctl_req *req)
if (pp == NULL)
errx(EXIT_FAILURE, "Provider for geom %s not found.", s);
+ s = gctl_get_ascii(req, "alignment");
+ has_alignment = (*s == '*') ? 0 : 1;
+ alignment = 1;
+ if (has_alignment) {
+ error = g_parse_lba(s, pp->lg_sectorsize, &alignment);
+ if (error)
+ errc(EXIT_FAILURE, error, "Invalid alignment param");
+ if (alignment == 0)
+ errx(EXIT_FAILURE, "Invalid alignment param");
+ }
+ error = gctl_delete_param(req, "alignment");
+ if (error)
+ errc(EXIT_FAILURE, error, "internal error");
+
s = gctl_get_ascii(req, "size");
has_size = (*s == '*') ? 0 : 1;
size = 0;
@@ -449,6 +487,8 @@ gpart_autofill(struct gctl_req *req)
error = g_parse_lba(s, pp->lg_sectorsize, &size);
if (error)
errc(EXIT_FAILURE, error, "Invalid size param");
+ if (size > alignment)
+ size = ALIGNDOWN(size, alignment);
}
s = gctl_get_ascii(req, "start");
@@ -458,15 +498,18 @@ gpart_autofill(struct gctl_req *req)
error = g_parse_lba(s, pp->lg_sectorsize, &start);
if (error)
errc(EXIT_FAILURE, error, "Invalid start param");
+ start = ALIGNUP(start, alignment);
}
/* No autofill necessary. */
- if (has_size && has_start)
+ if (has_size && has_start && !has_alignment)
goto done;
first = (off_t)strtoimax(find_geomcfg(gp, "first"), NULL, 0);
last = (off_t)strtoimax(find_geomcfg(gp, "last"), NULL, 0);
grade = ~0ULL;
+ a_first = ALIGNUP(first, alignment);
+ last = ALIGNDOWN(last, alignment);
while ((pp = find_provider(gp, first)) != NULL) {
s = find_provcfg(pp, "start");
if (s == NULL) {
@@ -475,23 +518,24 @@ gpart_autofill(struct gctl_req *req)
} else
lba = (off_t)strtoimax(s, NULL, 0);
- if (first < lba) {
+ a_lba = ALIGNDOWN(lba, alignment);
+ if (first < a_lba && a_first < a_lba) {
/* Free space [first, lba> */
- len = lba - first;
+ len = a_lba - a_first;
if (has_size) {
if (len >= size &&
(uintmax_t)(len - size) < grade) {
- start = first;
+ start = a_first;
grade = len - size;
}
} else if (has_start) {
- if (start >= first && start < lba) {
- size = lba - start;
- grade = start - first;
+ if (start >= a_first && start < a_lba) {
+ size = a_lba - start;
+ grade = start - a_first;
}
} else {
if (grade == ~0ULL || len > size) {
- start = first;
+ start = a_first;
size = len;
grade = 0;
}
@@ -505,24 +549,25 @@ gpart_autofill(struct gctl_req *req)
(off_t)strtoimax(s, NULL, 0) / pp->lg_sectorsize;
} else
first = (off_t)strtoimax(s, NULL, 0) + 1;
+ a_first = ALIGNUP(first, alignment);
}
- if (first <= last) {
+ if (a_first <= last) {
/* Free space [first-last] */
- len = last - first + 1;
+ len = ALIGNDOWN(last - a_first + 1, alignment);
if (has_size) {
if (len >= size &&
(uintmax_t)(len - size) < grade) {
- start = first;
+ start = a_first;
grade = len - size;
}
} else if (has_start) {
- if (start >= first && start <= last) {
- size = last - start + 1;
- grade = start - first;
+ if (start >= a_first && start <= last) {
+ size = ALIGNDOWN(last - start + 1, alignment);
+ grade = start - a_first;
}
} else {
if (grade == ~0ULL || len > size) {
- start = first;
+ start = a_first;
size = len;
grade = 0;
}
Modified: projects/largeSMP/sbin/geom/class/part/gpart.8
==============================================================================
--- projects/largeSMP/sbin/geom/class/part/gpart.8 Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/sbin/geom/class/part/gpart.8 Tue May 3 18:57:46 2011 (r221399)
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd March 12, 2011
+.Dd May 03, 2011
.Dt GPART 8
.Os
.Sh NAME
@@ -91,6 +91,7 @@ utility:
.Nm
.Cm add
.Fl t Ar type
+.Op Fl a Ar alignment
.Op Fl b Ar start
.Op Fl s Ar size
.Op Fl i Ar index
@@ -148,6 +149,7 @@ utility:
.Nm
.Cm resize
.Fl i Ar index
+.Op Fl a Ar alignment
.Op Fl s Ar size
.Op Fl f Ar flags
.Ar geom
@@ -209,7 +211,17 @@ Partition types are discussed below in t
.Sx "PARTITION TYPES" .
.Pp
Additional options include:
-.Bl -tag -width 10n
+.Bl -tag -width 12n
+.It Fl a Ar alignment
+If specified, then
+.Nm
+utility tries to align
+.Ar start
+offset and partition
+.Ar size
+to be multiple of
+.Ar alignment
+value.
.It Fl i Ar index
The index in the partition table at which the new partition is to be
placed.
@@ -416,7 +428,15 @@ to maximum available from given geom
.Ar geom .
.Pp
Additional options include:
-.Bl -tag -width 10n
+.Bl -tag -width 12n
+.It Fl a Ar alignment
+If specified, then
+.Nm
+utility tries to align partition
+.Ar size
+to be multiple of
+.Ar alignment
+value.
.It Fl f Ar flags
Additional operational flags.
See the section entitled
@@ -834,6 +854,13 @@ partition that would contain UFS where t
/sbin/gpart add -s 512M -t freebsd-ufs da0
.Ed
.Pp
+Create a 15GB-sized
+.Cm freebsd-ufs
+partition that would contain UFS and aligned on 4KB boundaries:
+.Bd -literal -offset indent
+/sbin/gpart add -s 15G -t freebsd-ufs -a 4k da0
+.Ed
+.Pp
After having created all required partitions, embed bootstrap code into them.
.Bd -literal -offset indent
/sbin/gpart bootcode -p /boot/boot1 da0
Modified: projects/largeSMP/share/man/man4/sem.4
==============================================================================
--- projects/largeSMP/share/man/man4/sem.4 Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/share/man/man4/sem.4 Tue May 3 18:57:46 2011 (r221399)
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd November 11, 2006
+.Dd May 3, 2011
.Dt SEM 4
.Os
.Sh NAME
@@ -73,9 +73,5 @@ dynamic kernel module.
.Sh HISTORY
The
.Nm
-facility appeared as a kernel option in
-.Fx 3.0 .
-The
-.Nm
-kernel module appeared in
+facility appeared in
.Fx 5.0 .
Modified: projects/largeSMP/sys/amd64/conf/DEFAULTS
==============================================================================
--- projects/largeSMP/sys/amd64/conf/DEFAULTS Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/sys/amd64/conf/DEFAULTS Tue May 3 18:57:46 2011 (r221399)
@@ -20,3 +20,5 @@ options GEOM_PART_BSD
options GEOM_PART_EBR
options GEOM_PART_EBR_COMPAT
options GEOM_PART_MBR
+
+options NEW_PCIB
Modified: projects/largeSMP/sys/amd64/pci/pci_bus.c
==============================================================================
--- projects/largeSMP/sys/amd64/pci/pci_bus.c Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/sys/amd64/pci/pci_bus.c Tue May 3 18:57:46 2011 (r221399)
@@ -35,6 +35,7 @@ __FBSDID("$FreeBSD$");
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/module.h>
+#include <sys/rman.h>
#include <sys/sysctl.h>
#include <dev/pci/pcivar.h>
Modified: projects/largeSMP/sys/boot/ia64/common/exec.c
==============================================================================
--- projects/largeSMP/sys/boot/ia64/common/exec.c Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/sys/boot/ia64/common/exec.c Tue May 3 18:57:46 2011 (r221399)
@@ -76,7 +76,7 @@ sz2shft(vm_offset_t ofs, vm_size_t sz)
shft = 12; /* Start with 4K */
s = 1 << shft;
- while (s < sz) {
+ while (s <= sz) {
shft++;
s <<= 1;
}
Modified: projects/largeSMP/sys/cam/cam_xpt.c
==============================================================================
--- projects/largeSMP/sys/cam/cam_xpt.c Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/sys/cam/cam_xpt.c Tue May 3 18:57:46 2011 (r221399)
@@ -3600,9 +3600,12 @@ xpt_path_legacy_ata_id(struct cam_path *
}
xpt_unlock_buses();
}
- if (path->target != NULL)
- return (bus_id * 2 + path->target->target_id);
- else
+ if (path->target != NULL) {
+ if (path->target->target_id < 2)
+ return (bus_id * 2 + path->target->target_id);
+ else
+ return (-1);
+ } else
return (bus_id * 2);
}
Modified: projects/largeSMP/sys/conf/makeLINT.mk
==============================================================================
--- projects/largeSMP/sys/conf/makeLINT.mk Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/sys/conf/makeLINT.mk Tue May 3 18:57:46 2011 (r221399)
@@ -16,6 +16,34 @@ LINT: ${NOTES} ../../conf/makeLINT.sed
echo "include ${.TARGET}" > ${.TARGET}-VIMAGE
echo "ident ${.TARGET}-VIMAGE" >> ${.TARGET}-VIMAGE
echo "options VIMAGE" >> ${.TARGET}-VIMAGE
+ echo "include ${.TARGET}" > ${.TARGET}-NOINET
+ echo "ident ${.TARGET}-NOINET" >> ${.TARGET}-NOINET
+ echo 'makeoptions MKMODULESENV+="WITHOUT_INET_SUPPORT="' >> ${.TARGET}-NOINET
+ echo "nooptions INET" >> ${.TARGET}-NOINET
+ echo "nodevice gre" >> ${.TARGET}-NOINET
+ echo "include ${.TARGET}" > ${.TARGET}-NOINET6
+ echo "ident ${.TARGET}-NOINET6" >> ${.TARGET}-NOINET6
+ echo "nooptions INET6" >> ${.TARGET}-NOINET6
+ echo "include ${.TARGET}" > ${.TARGET}-NOIP
+ echo "ident ${.TARGET}-NOIP" >> ${.TARGET}-NOIP
+ echo 'makeoptions MKMODULESENV+="WITHOUT_INET_SUPPORT="' >> ${.TARGET}-NOIP
+ echo 'makeoptions MKMODULESENV+="WITHOUT_INET6_SUPPORT="' >> ${.TARGET}-NOIP
+ echo "nooptions INET" >> ${.TARGET}-NOIP
+ echo "nooptions INET6" >> ${.TARGET}-NOIP
+ echo "nodevice age" >> ${.TARGET}-NOIP
+ echo "nodevice alc" >> ${.TARGET}-NOIP
+ echo "nodevice ale" >> ${.TARGET}-NOIP
+ echo "nodevice bxe" >> ${.TARGET}-NOIP
+ echo "nodevice em" >> ${.TARGET}-NOIP
+ echo "nodevice fxp" >> ${.TARGET}-NOIP
+ echo "nodevice igb" >> ${.TARGET}-NOIP
+ echo "nodevice jme" >> ${.TARGET}-NOIP
+ echo "nodevice msk" >> ${.TARGET}-NOIP
+ echo "nodevice mxge" >> ${.TARGET}-NOIP
+ echo "nodevice sge" >> ${.TARGET}-NOIP
+ echo "nodevice sk" >> ${.TARGET}-NOIP
+ echo "nodevice txp" >> ${.TARGET}-NOIP
+ echo "nodevice vxge" >> ${.TARGET}-NOIP
.endif
.if ${TARGET} == "powerpc" || ${TARGET} == "mips"
echo "machine ${TARGET} ${TARGET_ARCH}" >> ${.TARGET}
Modified: projects/largeSMP/sys/conf/options
==============================================================================
--- projects/largeSMP/sys/conf/options Tue May 3 18:55:16 2011 (r221398)
+++ projects/largeSMP/sys/conf/options Tue May 3 18:57:46 2011 (r221399)
@@ -136,6 +136,7 @@ MFI_DEBUG opt_mfi.h
MFI_DECODE_LOG opt_mfi.h
MPROF_BUFFERS opt_mprof.h
MPROF_HASH_SIZE opt_mprof.h
+NEW_PCIB opt_global.h
*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
More information about the svn-src-projects
mailing list