]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoMove ICU_* defines into icu.h.
Yoshihiro Takahashi [Sat, 6 Apr 2002 08:25:05 +0000 (08:25 +0000)]
Move ICU_* defines into icu.h.

22 years agoRemove pc98 code.
Yoshihiro Takahashi [Sat, 6 Apr 2002 08:22:33 +0000 (08:22 +0000)]
Remove pc98 code.

22 years agoRemove invalid KASSERTS.
Jake Burkholder [Sat, 6 Apr 2002 08:21:43 +0000 (08:21 +0000)]
Remove invalid KASSERTS.

22 years agoUse CTASSERT rather than a runtime check to detect kinfo_proc size changes.
Jake Burkholder [Sat, 6 Apr 2002 08:13:52 +0000 (08:13 +0000)]
Use CTASSERT rather than a runtime check to detect kinfo_proc size changes.
Remove the ugly yuck code to busy wait for 20 seconds.

22 years agoRemove types(5). It is of little use to have a manual with only the
Mike Barcroft [Sat, 6 Apr 2002 07:18:46 +0000 (07:18 +0000)]
Remove types(5).  It is of little use to have a manual with only the
contents of a header.  It is of even less use when its contents are
stale.

22 years agoFix misordered list.
Mike Barcroft [Sat, 6 Apr 2002 07:10:15 +0000 (07:10 +0000)]
Fix misordered list.

22 years agoAdd stdint(7), a manual which describes some of the integer types
Mike Barcroft [Sat, 6 Apr 2002 07:05:42 +0000 (07:05 +0000)]
Add stdint(7), a manual which describes some of the integer types
available in the <stdint.h> header.

22 years agoMerged from sys/dev/syscons/syscons.c revisions 1.381 and 1.382.
Yoshihiro Takahashi [Sat, 6 Apr 2002 06:47:23 +0000 (06:47 +0000)]
Merged from sys/dev/syscons/syscons.c revisions 1.381 and 1.382.

22 years agoMerged from sys/isa/fd.c revision 1.228.
Yoshihiro Takahashi [Sat, 6 Apr 2002 06:43:55 +0000 (06:43 +0000)]
Merged from sys/isa/fd.c revision 1.228.

22 years agoAdded the new kernel dumping support for pc98.
Yoshihiro Takahashi [Sat, 6 Apr 2002 06:41:54 +0000 (06:41 +0000)]
Added the new kernel dumping support for pc98.

22 years agoMerged from sys/dev/sio/sio.c revisions 1.370 and 1.371.
Yoshihiro Takahashi [Sat, 6 Apr 2002 06:19:10 +0000 (06:19 +0000)]
Merged from sys/dev/sio/sio.c revisions 1.370 and 1.371.

22 years agoFix a braino in the alignment of the segment contents after dumping
Marcel Moolenaar [Sat, 6 Apr 2002 05:56:33 +0000 (05:56 +0000)]
Fix a braino in the alignment of the segment contents after dumping
the program headers. As a result of this, dumplo was advanced too
much causing the end of the dump and most notably the trailing
dump header to be written beyond the end of the the dump medium.

22 years agoExclude xlint for ia64. For the time being, there are enough gcc
Peter Wemm [Sat, 6 Apr 2002 05:51:59 +0000 (05:51 +0000)]
Exclude xlint for ia64.  For the time being, there are enough gcc
dependencies in the machine/* headers to make it explode when -U__GNUC__
is specified by lint.  Not to mention that lint is passing undocumented
(illegal?) args to cpp and that seems to upset gcc-3.1 now.
Specifically, -Wp,-CC.  -Wp,-C is documented and legal though.

22 years agoFix ether_ntoa() to generate the %02x format people expect, instead of %x,
Matthew Dillon [Sat, 6 Apr 2002 05:21:57 +0000 (05:21 +0000)]
Fix ether_ntoa() to generate the %02x format people expect, instead of %x,
for the ethernet address.

MFC after: 1 day

22 years agoSimplify and optimize. This speeds up 'initattr' enormously for small
Dag-Erling Smørgrav [Sat, 6 Apr 2002 05:02:54 +0000 (05:02 +0000)]
Simplify and optimize.  This speeds up 'initattr' enormously for small
attribute sizes (up to two orders of magnitude!)

22 years agoNuke stale copy of the pam_ssh(8) source code.
Dag-Erling Smørgrav [Sat, 6 Apr 2002 04:46:01 +0000 (04:46 +0000)]
Nuke stale copy of the pam_ssh(8) source code.

22 years agoMake it a bit closer to the EFI build and tie up some loose ends.
Peter Wemm [Sat, 6 Apr 2002 04:33:53 +0000 (04:33 +0000)]
Make it a bit closer to the EFI build and tie up some loose ends.

22 years agoTry and tidy up some very loose ends with paths to various libraries etc.
Peter Wemm [Sat, 6 Apr 2002 04:29:36 +0000 (04:29 +0000)]
Try and tidy up some very loose ends with paths to various libraries etc.

22 years agoDo not add the ficl/alpha subdir to the ia64 include path. Try ficl/ia64
Peter Wemm [Sat, 6 Apr 2002 04:16:58 +0000 (04:16 +0000)]
Do not add the ficl/alpha subdir to the ia64 include path.  Try ficl/ia64
instead.

22 years agoDo not assume that ${OBJCOPY} variable exists. It was hidden by the
Peter Wemm [Sat, 6 Apr 2002 04:11:46 +0000 (04:11 +0000)]
Do not assume that ${OBJCOPY} variable exists.  It was hidden by the
fact that the 'ia64-make' wrapper explicitly set it.

22 years agoUse the correct elf hash table entry type. This matches a similar fix
Peter Wemm [Sat, 6 Apr 2002 04:09:42 +0000 (04:09 +0000)]
Use the correct elf hash table entry type.  This matches a similar fix
in the kernel side of things some time ago.  The hash table entries are
always 32 bits wide, even on 64 bit machines.

22 years agoFix self hosted loader building. When you use a self configured gcc, it
Peter Wemm [Sat, 6 Apr 2002 03:39:22 +0000 (03:39 +0000)]
Fix self hosted loader building.  When you use a self configured gcc, it
detects and uses the gas section merge support.  As a result, a whole bunch
of new sections arrive, including .rodata.str1.8, which was not included
in our custom ldscript.ia64.  The result was a loader binary that EFI
rejected.

While here, collect the loader shell commands linker set and include it
in the data area rather than having its own section.

/boot/loader.efi was the last holdout for having a 100% self built ia64
system.

22 years agoUse <net/fddi.h> rather than <netinet/if_fddi.h>.
Matthew N. Dodd [Sat, 6 Apr 2002 03:21:46 +0000 (03:21 +0000)]
Use <net/fddi.h> rather than <netinet/if_fddi.h>.

22 years agoAdd "xf86cfg -textmode" to the list of options for configuring XFree86
Murray Stokely [Sat, 6 Apr 2002 02:42:27 +0000 (02:42 +0000)]
Add "xf86cfg -textmode" to the list of options for configuring XFree86
4.X.

Suggested by: many

22 years agoTeach sysinstall the difference between a command line, and an
Murray Stokely [Sat, 6 Apr 2002 02:39:27 +0000 (02:39 +0000)]
Teach sysinstall the difference between a command line, and an
executable file, so that we can pass commands with arguments to
configXSetup().

22 years agoSort.
Murray Stokely [Sat, 6 Apr 2002 01:24:58 +0000 (01:24 +0000)]
Sort.

22 years agoAdd www/links to the list of required packages. It is used by
Murray Stokely [Sat, 6 Apr 2002 01:18:42 +0000 (01:18 +0000)]
Add www/links to the list of required packages.  It is used by
sysinstall to read the HTML documentation.

Move graphics/gimp1 and lang/gnat from disc #3 to disc #1, we have
extra space.

22 years agostyle(9) cosmetique of my changes
Andrey A. Chernov [Sat, 6 Apr 2002 00:40:19 +0000 (00:40 +0000)]
style(9) cosmetique of my changes

22 years agoAdded support for 82540EM based cards.
Prafulla Deuskar [Sat, 6 Apr 2002 00:36:53 +0000 (00:36 +0000)]
Added support for 82540EM based cards.
Cosmetic changes to make code more unix-like.

MFC after: 1 week

22 years agohtonl() and ntohl() operate on unsinged types, so they must zero-extend,
Thomas Moestl [Sat, 6 Apr 2002 00:07:15 +0000 (00:07 +0000)]
htonl() and ntohl() operate on unsinged types, so they must zero-extend,
not sign-extend. Fix a comment in the former to that effect, and change
the latter over to do the right conversion.

22 years agoFIPS 2.0 supports VFAT and FAT32. Reflect documentation to this fact.
Jeroen Ruigrok van der Werven [Fri, 5 Apr 2002 22:07:44 +0000 (22:07 +0000)]
FIPS 2.0 supports VFAT and FAT32.  Reflect documentation to this fact.

PR: 35684
Submitted by: Gary W. Swearingen <swear@blarg.net>

22 years agoCorrect old wording of the arp functionality.
Jeroen Ruigrok van der Werven [Fri, 5 Apr 2002 21:59:13 +0000 (21:59 +0000)]
Correct old wording of the arp functionality.
We are long past the stage where we only had ARP working for 10 Mb/s.

PR: 35604
Submitted by: Gary W. Swearingen <swear@blarg.net>
Additional comments by: Mike DeGraw-Bertsch <mbertsch@radioactivedata.org>

22 years agoSync with the new endianness in ata.h
Søren Schmidt [Fri, 5 Apr 2002 21:51:03 +0000 (21:51 +0000)]
Sync with the new endianness in ata.h

22 years agoAdd support for the Dell 2650
Scott Long [Fri, 5 Apr 2002 20:00:29 +0000 (20:00 +0000)]
Add support for the Dell 2650

Submitted by: andrew_bachler@dell.com

22 years agoRemove some duplicate free()s and add some that were missing.
Dag-Erling Smørgrav [Fri, 5 Apr 2002 20:00:05 +0000 (20:00 +0000)]
Remove some duplicate free()s and add some that were missing.

Submitted by: tmm

22 years agoDont quit prematurely when writing from stdin...
Søren Schmidt [Fri, 5 Apr 2002 19:35:41 +0000 (19:35 +0000)]
Dont quit prematurely when writing from stdin...

22 years agoAdd note about double-character letters like "ss" into BUGS section
Andrey A. Chernov [Fri, 5 Apr 2002 19:29:05 +0000 (19:29 +0000)]
Add note about double-character letters like "ss" into BUGS section

Reviewed by: Mike DeGraw-Bertsch <mbertsch@radioactivedata.org>

22 years agoRetire this copy; it now lives in sys/net/fddi.h.
Matthew N. Dodd [Fri, 5 Apr 2002 19:24:38 +0000 (19:24 +0000)]
Retire this copy; it now lives in sys/net/fddi.h.

22 years agoUnlock the channel again if an ata_reinit() fails.
Søren Schmidt [Fri, 5 Apr 2002 18:37:04 +0000 (18:37 +0000)]
Unlock the channel again if an ata_reinit() fails.

22 years agoremove blanktime sysctl, this can't be done as easily as it looks.
Alfred Perlstein [Fri, 5 Apr 2002 18:17:49 +0000 (18:17 +0000)]
remove blanktime sysctl, this can't be done as easily as it looks.

Requested by: jhb

22 years agoChange option ATA_ENABLE_BUSMASTER into ifdef __sparc64__
Søren Schmidt [Fri, 5 Apr 2002 18:05:17 +0000 (18:05 +0000)]
Change option ATA_ENABLE_BUSMASTER into ifdef __sparc64__

22 years agoCleanups.
Søren Schmidt [Fri, 5 Apr 2002 18:04:05 +0000 (18:04 +0000)]
Cleanups.

22 years agoCleanup, use the same method to denote parts for endianess.
Søren Schmidt [Fri, 5 Apr 2002 18:03:33 +0000 (18:03 +0000)]
Cleanup, use the same method to denote parts for endianess.

22 years agoDont allow to detach twice.
Søren Schmidt [Fri, 5 Apr 2002 18:02:33 +0000 (18:02 +0000)]
Dont allow to detach twice.

22 years agoAdd some functionality via sysctl to syscons.
Alfred Perlstein [Fri, 5 Apr 2002 17:53:25 +0000 (17:53 +0000)]
Add some functionality via sysctl to syscons.

hw.syscons.saver.keybonly: used to specify that only input is to
interrupt the screensaver.  This allows one to run a chatty console
app but still have the screen blank out until a key is pressed.
There should probably also be an ioctl for this, we'll do that later.

hw.syscons.saver.blanktime: exports the screensaver timeout via sysctl.

Submitted by: Olivier Houchard <doginou@cognet.ci0.org>

22 years agoMake LINT compile again.
Poul-Henning Kamp [Fri, 5 Apr 2002 17:45:47 +0000 (17:45 +0000)]
Make LINT compile again.

22 years agoAdd a missing word.
Bruce A. Mah [Fri, 5 Apr 2002 17:03:33 +0000 (17:03 +0000)]
Add a missing word.

22 years agocatch up to 1.31
Warner Losh [Fri, 5 Apr 2002 16:25:34 +0000 (16:25 +0000)]
catch up to 1.31

22 years agoAdd 3crwe77a
Warner Losh [Fri, 5 Apr 2002 16:25:03 +0000 (16:25 +0000)]
Add 3crwe77a

22 years agoAdd forgotten ATA_UNLOCK_CH when getting status from non-existing
Søren Schmidt [Fri, 5 Apr 2002 15:58:45 +0000 (15:58 +0000)]
Add forgotten ATA_UNLOCK_CH when getting status from non-existing
enclosure.

22 years agoUnbreak ja_JP.SJIS locale by adding following associations:
Alexey Zelkin [Fri, 5 Apr 2002 15:39:16 +0000 (15:39 +0000)]
Unbreak ja_JP.SJIS locale by adding following associations:

        LC_NUMERIC:     ja_JP.eucJP -> ja_JP.SJIS
        LC_MONETARY:    ja_JP.eucJP -> ja_JP.SJIS
        LC_MESSAGES:    en_GB.ISO8859-1 -> ja_JP.SJIS

2Japansese folks: Feel free to fix as you desire correct.

22 years agoLink tr_TR.ISO8859-9's LC_CTYPE to UA-ASCII's. It's not completely correct,
Alexey Zelkin [Fri, 5 Apr 2002 15:27:36 +0000 (15:27 +0000)]
Link tr_TR.ISO8859-9's LC_CTYPE to UA-ASCII's. It's not completely correct,
but better than nothing.

22 years agola_LN.ISO8859-2 depends on map.ISO8859-2. Reflect it in dependence rules
Alexey Zelkin [Fri, 5 Apr 2002 15:24:04 +0000 (15:24 +0000)]
la_LN.ISO8859-2 depends on map.ISO8859-2. Reflect it in dependence rules

22 years agoAssociate tr_TR.ISO8859-9's LC_COLLATE with US-ASCII's one
Alexey Zelkin [Fri, 5 Apr 2002 15:19:17 +0000 (15:19 +0000)]
Associate tr_TR.ISO8859-9's LC_COLLATE with US-ASCII's one

22 years agoFixed assorted bugs in setting of timestamps in devfs_setattr().
Bruce Evans [Fri, 5 Apr 2002 15:16:08 +0000 (15:16 +0000)]
Fixed assorted bugs in setting of timestamps in devfs_setattr().

Setting of timestamps on devices had no effect visible to userland
because timestamps for devices were set in places that are never used.
This broke:
- update of file change time after a change of an attribute
- setting of file access and modification times.

The VA_UTIMES_NULL case did not work.  Revs 1.31-1.32 were supposed to
fix this by copying correct bits from ufs, but had little or no effect
because the old checks were not removed.

22 years agoAdd pt_BR.ISO8859-1 (Brazilian Portuguese) locale
Alexey Zelkin [Fri, 5 Apr 2002 15:03:13 +0000 (15:03 +0000)]
Add pt_BR.ISO8859-1 (Brazilian Portuguese) locale

Submitted (partly) by: dcs

22 years agoAdd directories for pt_BR.ISO8859-1 locale
Alexey Zelkin [Fri, 5 Apr 2002 14:58:03 +0000 (14:58 +0000)]
Add directories for pt_BR.ISO8859-1 locale

22 years agoFixed a very old bug in setting timestamps using utimes(2) on msdosfs
Bruce Evans [Fri, 5 Apr 2002 14:01:04 +0000 (14:01 +0000)]
Fixed a very old bug in setting timestamps using utimes(2) on msdosfs
files.  We didn't clear the update marks when we set the times, so
some of the settings were sometimes clobbered with the current time a
little later.  This caused cp -p even by root to almost always fail
to preserve any times despite not reporting any errors in attempting
to preserve them.

Don't forget to set the archive attribute when we set the read-only
attribute.  We should only set the archive attribute if we actually
change something, but we mostly don't bother avoiding setting it
elsewhere, so don't bother here yet.

MFC after: 1 week

22 years agoMake the ATA driver compile & work on the sparc64 platform.
Søren Schmidt [Fri, 5 Apr 2002 13:13:56 +0000 (13:13 +0000)]
Make the ATA driver compile & work on the sparc64 platform.

Initial work & code by tmm.

Lots of changes and rearrangements by yours truely to make busdma
be a little less a PITA (but I still dont like it).

22 years agoAdd endianess kludge code, so that bitfields work on the sparc64 as well.
Søren Schmidt [Fri, 5 Apr 2002 13:10:26 +0000 (13:10 +0000)]
Add endianess kludge code, so that bitfields work on the sparc64 as well.

Bad GCC, no cookies...

22 years agoBe able to print ATA133 mode.
Søren Schmidt [Fri, 5 Apr 2002 11:49:24 +0000 (11:49 +0000)]
Be able to print ATA133 mode.

22 years agopam_get_pass() -> pam_get_authtok()
Dag-Erling Smørgrav [Fri, 5 Apr 2002 10:49:45 +0000 (10:49 +0000)]
pam_get_pass() -> pam_get_authtok()

22 years agoA little more reorg.
David E. O'Brien [Fri, 5 Apr 2002 10:23:19 +0000 (10:23 +0000)]
A little more reorg.

22 years agoUpdated a doubly stale comment about signotify(). Fixed a nearby long line.
Bruce Evans [Fri, 5 Apr 2002 10:00:37 +0000 (10:00 +0000)]
Updated a doubly stale comment about signotify().  Fixed a nearby long line.

22 years agoStyle reorg. Also spell -fpic as determined by bsd.lib.mk.
David E. O'Brien [Fri, 5 Apr 2002 09:12:25 +0000 (09:12 +0000)]
Style reorg.  Also spell -fpic as determined by bsd.lib.mk.

22 years agoStyle reorg.
David E. O'Brien [Fri, 5 Apr 2002 08:53:35 +0000 (08:53 +0000)]
Style reorg.

22 years agoIn the words of the submitter:
Dima Dorfman [Fri, 5 Apr 2002 08:39:31 +0000 (08:39 +0000)]
In the words of the submitter:

 This patch explains -F for usershow and groupshow.  Because "groupmod
 ... -F" doesn't do anything, the patch also drops that from groupmod's
 command line args.

PR: 35955
Submitted by: Mike DeGraw-Bertsch <mbertsch@radioactivedata.org>

22 years agoDocument the -7 option for usershow.
Dima Dorfman [Fri, 5 Apr 2002 08:31:17 +0000 (08:31 +0000)]
Document the -7 option for usershow.

PR: 36735
Submitted by: Mike DeGraw-Bertsch <mbertsch@radioactivedata.org>

22 years agoFix typo and change Fn to Xr.
Chad David [Fri, 5 Apr 2002 08:05:11 +0000 (08:05 +0000)]
Fix typo and change Fn to Xr.

22 years agoAdd two items that have come up in the mailing lists regarding the
Gregory Neil Shapiro [Fri, 5 Apr 2002 07:42:42 +0000 (07:42 +0000)]
Add two items that have come up in the mailing lists regarding the
sendmail import.

Approved by: imp

22 years agoFix sed(1) behaviour for 'G' when given null holdspace by making sure it
Juli Mallett [Fri, 5 Apr 2002 05:40:20 +0000 (05:40 +0000)]
Fix sed(1) behaviour for 'G' when given null holdspace by making sure it
contains a \n.

PR: misc/26153
Submitted by: ashp
Reviewed by: mike
Obtained from: NetBSD
MFC after: 2 days

22 years agoAdd usr.sbin/mailwrapper/Makefile to the list of changed files as
Gregory Neil Shapiro [Fri, 5 Apr 2002 04:28:10 +0000 (04:28 +0000)]
Add usr.sbin/mailwrapper/Makefile to the list of changed files as
it contains a list of symlinks to make which are normally symlinks
to the sendmail binary.

22 years agoAdd the missing hoststat and purgestat commands. These are normally
Gregory Neil Shapiro [Fri, 5 Apr 2002 04:25:14 +0000 (04:25 +0000)]
Add the missing hoststat and purgestat commands.  These are normally
symlinks to the sendmail binary but in FreeBSD's case, they are
symlinks to mailwrapper.

Submitted by: tisco
MFC after: 4 days

22 years agoAdd a list of files sendmail importants may affect. This is mostly
Gregory Neil Shapiro [Fri, 5 Apr 2002 03:52:48 +0000 (03:52 +0000)]
Add a list of files sendmail importants may affect.  This is mostly
for my own reference so I don't miss things on future imports.

22 years agoRevert the "tell the program name in diagnostics". What was I thinking??
David E. O'Brien [Fri, 5 Apr 2002 03:21:41 +0000 (03:21 +0000)]
Revert the "tell the program name in diagnostics".  What was I thinking??
warnx() already does this for us.

22 years agoFix the ofw_isa.c entries, readd ofw_bus.c.
Thomas Moestl [Fri, 5 Apr 2002 02:42:25 +0000 (02:42 +0000)]
Fix the ofw_isa.c entries, readd ofw_bus.c.

Pointy hat to: tmm

22 years agoAdd missing header for the eeprom driver frontents.
Thomas Moestl [Fri, 5 Apr 2002 02:40:54 +0000 (02:40 +0000)]
Add missing header for the eeprom driver frontents.

22 years agoQuoting Peter Wemm, "At great personal risk, touch the sendmail startup
Gregory Neil Shapiro [Fri, 5 Apr 2002 02:30:49 +0000 (02:30 +0000)]
Quoting Peter Wemm, "At great personal risk, touch the sendmail startup
again."

As an alternative to sendmail_enable=NONE, solve the boot time problem
for non-sendmail users completely by moving all of the sendmail startup
code from /etc/rc to /etc/rc.sendmail.  The source for that script will
be kept in src/etc/sendmail/rc.sendmail so make.conf's NO_SENDMAIL will
prevent it from being installed.  A new rc.conf variable,
mta_start_script specifies the script to run to start the user's
preferred MTA.  For backward compatibility, it will default to
/etc/rc.sendmail.  The specified script is called out of /etc/rc after
checking to make sure it exists.  A new rc.sendmail.8 man page has also
been added which now houses the sendmail_* variable descriptions
formerly in rc.conf.5.

Use /etc/rc.sendmail in /etc/mail/Makefile to reduce code duplication.

Reviewed by: -current, -stable, obrien, peter, ru
MFC after: 1 week

22 years agoIncrease the size of the register stack storage on ia64 from 32K to 2MB so
Peter Wemm [Fri, 5 Apr 2002 01:57:45 +0000 (01:57 +0000)]
Increase the size of the register stack storage on ia64 from 32K to 2MB so
that we can compile gcc.  This is a hack because it adds a fixed 2MB to
each process's VSIZE regardless of how much is really being used since
there is no grow-up stack support.  At least it isn't physical memory.
Sigh.

Add a sysctl to enable tweaking it for new processes.

22 years agoSend 32 bytes out for fc4_types... Interestingly enough the Solaris/Sparc
Matt Jacob [Fri, 5 Apr 2002 01:40:05 +0000 (01:40 +0000)]
Send 32 bytes out for fc4_types... Interestingly enough the Solaris/Sparc
version worked fine, but Linux/Sparc && FreeBSD/Sparc choked.

MFC after: 1 week

22 years agoThe 3Com 3CRWE62092A (the XJack antenna product) does not have a host
Warner Losh [Fri, 5 Apr 2002 01:31:30 +0000 (01:31 +0000)]
The 3Com 3CRWE62092A (the XJack antenna product) does not have a host
interface that is compatible with the LUCENT or HERMES firmware.
Instead, it is like the various No Wires Necessary products that were
produced a while ago and then sold to intersil.  It will require a
different driver altogether.  Remove it from the list of supported
cards.

The 3CRWE777A apperas to be a re-badged SMC 2602W card, so the driver
appears to support it.  Add it to the list.

Thanks to Todd Miller for loaning me the card during tonight's FRUUG
meeting for testing against CU's wireless infrastructure.

22 years ago o Eliminate the use of grow_stack() and useracc() from sendsig(), osendsig(),
Alan Cox [Fri, 5 Apr 2002 00:52:15 +0000 (00:52 +0000)]
 o Eliminate the use of grow_stack() and useracc() from sendsig(), osendsig(),
   and osf1_sendsig().
 o Eliminate the prototype for the MD grow_stack() now that it has been removed
   from all platforms.

22 years agoSpell "privileges" correctly.
Eric Melville [Fri, 5 Apr 2002 00:08:38 +0000 (00:08 +0000)]
Spell "privileges" correctly.

22 years agoSpell "separate" correctly.
Eric Melville [Fri, 5 Apr 2002 00:04:56 +0000 (00:04 +0000)]
Spell "separate" correctly.

22 years agoAdd the eeprom diver frontend files, correct the entry for ofw_isa.c.
Thomas Moestl [Thu, 4 Apr 2002 23:59:30 +0000 (23:59 +0000)]
Add the eeprom diver frontend files, correct the entry for ofw_isa.c.

22 years agoAdd MD frontents for the mk48txx driver, ported from NetBSD, and remove
Thomas Moestl [Thu, 4 Apr 2002 23:58:50 +0000 (23:58 +0000)]
Add MD frontents for the mk48txx driver, ported from NetBSD, and remove
stub implementations of inittodr() and resettodr(), now that the MI ones
are used.

22 years agoD'oh! I forgot to commit this a while back.
Matt Jacob [Thu, 4 Apr 2002 23:54:58 +0000 (23:54 +0000)]
D'oh! I forgot to commit this a while back.

Add an option for enabling f/w crashdumps for the isp driver.

MFC after: 1 week

22 years agoFix bus dma segment count to be based off of MAXPHYS, not BUS_SPACE_MAXSIZE.
Matt Jacob [Thu, 4 Apr 2002 23:46:01 +0000 (23:46 +0000)]
Fix bus dma segment count to be based off of MAXPHYS, not BUS_SPACE_MAXSIZE.
Grumble. I've seen better documented architectures out of Redmond.

Redo fabric evaluation to not use GET ALL NEXT (GA_NXT). Switches seem
to be trying to wriggle out of supporting this well. Instead, use
GID_FT to get a list of Port IDs and then use GPN_ID/GNN_ID to find the
port and node wwn. This should make working on fabrics a bit cleaner and
more stable.

This also caused some cleanup of SNS subcommand canonicalization so that
we can actually check for FS_ACC and FS_RJT, and if we get an FS_RJT,
print out the reason and explanation codes.

We'll keep the old GA_NXT method around if people want to uncomment a
controlling definition in ispvar.h.

This also had us clean up ISPASYNC_FABRICDEV to use a local lportdb argument
and to have the caller explicitly say that a device is at the end of the
fabric list.

MFC after: 1 week

22 years agoAdd a driver back end for the Mostek MK48T02, MK48T08 and MK48T59
Thomas Moestl [Thu, 4 Apr 2002 23:44:42 +0000 (23:44 +0000)]
Add a driver back end for the  Mostek MK48T02, MK48T08 and MK48T59
time-of-day clocks, ported from NetBSD. The front-ends are expected
to be at least partly machine-dependent; the sparc64 EBus and SBus
ones will be commited to MD directories for now (in a subsequent commit).

22 years agoAdd a generic implementation of inittodr() and resettodr(), as well as
Thomas Moestl [Thu, 4 Apr 2002 23:39:10 +0000 (23:39 +0000)]
Add a generic implementation of inittodr() and resettodr(), as well as
a set of helper routines to deal with real-time clocks. The generic
functions access the clock diver using a kobj interface. This is intended
to reduce code reduplication and make it easy to support more than one
clock model on a single architecture.

This code is currently only used on sparc64, but it is planned to convert
the code of the other architectures to it later.

22 years agoMinor reordering of declarations to reduce diffs to OpenBSD/NetBSD.
David E. O'Brien [Thu, 4 Apr 2002 22:25:04 +0000 (22:25 +0000)]
Minor reordering of declarations to reduce diffs to OpenBSD/NetBSD.

22 years agoMFNetBSD:
Warner Losh [Thu, 4 Apr 2002 22:22:31 +0000 (22:22 +0000)]
MFNetBSD:
1.60: Add range checking, but put it higher up in the food
chain than NetBSD (this should be fixed there as well).

Obtained From: NetBSD

22 years agoAllow to compile errorlessly with GCC 3.1.
David E. O'Brien [Thu, 4 Apr 2002 22:15:56 +0000 (22:15 +0000)]
Allow to compile errorlessly with GCC 3.1.

22 years agoFix signal race.
David E. O'Brien [Thu, 4 Apr 2002 22:15:13 +0000 (22:15 +0000)]
Fix signal race.
Use strlen() rather than magic number.
Use _PATH_TMP.

Obtained from: OpenBSD rev 1.13 (sig race) & rev 1.9 (strlen)

22 years agoRevert revision 1.3. This is WARNS=4 clean w/o it and it only increases
David E. O'Brien [Thu, 4 Apr 2002 22:10:23 +0000 (22:10 +0000)]
Revert revision 1.3.  This is WARNS=4 clean w/o it and it only increases
the diffs to Open/NetBSD.

22 years agoFix style regression introduced in rev 1.11 during a WARNS cleanup.
David E. O'Brien [Thu, 4 Apr 2002 21:59:10 +0000 (21:59 +0000)]
Fix style regression introduced in rev 1.11 during a WARNS cleanup.

22 years agoCast ctype macros char arg to u_char to prevent sign extension
Andrey A. Chernov [Thu, 4 Apr 2002 21:55:44 +0000 (21:55 +0000)]
Cast ctype macros char arg to u_char to prevent sign extension

22 years agoNew release notes: mutex(9) profiling, ucom/uplcom/uvscom, boot2 -n,
Bruce A. Mah [Thu, 4 Apr 2002 21:42:25 +0000 (21:42 +0000)]
New release notes:  mutex(9) profiling, ucom/uplcom/uvscom, boot2 -n,
diskpart(8) went bye-bye, newfs(8) anachronisms removed.

Updated release notes:  More functionality for ata(4), new tzdata
import.

22 years agoMFNetBSD:
Warner Losh [Thu, 4 Apr 2002 21:40:37 +0000 (21:40 +0000)]
MFNetBSD:
wi.c 1.64: Table driven IDs (ichiro)
1.59: Don't use magic numbers (ichiro)
Also, added Sony, Lucent Embedded Ids and fix minor bugs for lucent
cards (and submit those changes back to ichiro-san)

Obtained from: NetBSD

22 years agoEmbed a struct vmmeter in the per-cpu structure and add a macro,
Matthew Dillon [Thu, 4 Apr 2002 21:38:47 +0000 (21:38 +0000)]
Embed a struct vmmeter in the per-cpu structure and add a macro,
PCPU_LAZY_INC() which increments elements in it for cases where we
can afford the occassional inaccuracy.  Use of per-cpu stats counters
avoids significant cache stalls in various critical paths that would
otherwise severely limit our cpu scaleability.

Adjust all sysctl's accessing cnt.* elements to now use a procedure
which aggregates the requested field for all cpus and for the global
vmmeter.

The global vmmeter is retained, since some stats counters, like v_free_min,
cannot be made per-cpu.  Also, this allows us to convert counters from
the global vmmeter to the per-cpu vmmeter in a piecemeal fashion, so
have at it!