]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoUpdate makefile to reflect vlan support.
Jonathan Lemon [Sun, 13 May 2001 00:04:02 +0000 (00:04 +0000)]
Update makefile to reflect vlan support.

23 years agoAdd few cosmetic style fixes, and some debug information for SCB timeouts.
Jonathan Lemon [Sun, 13 May 2001 00:03:39 +0000 (00:03 +0000)]
Add few cosmetic style fixes, and some debug information for SCB timeouts.
Add VLAN support, obtained from Pedro J. Lobo (through Mike Tancsa).

23 years agoAdd a few more register definitions.
Jonathan Lemon [Sat, 12 May 2001 23:59:48 +0000 (23:59 +0000)]
Add a few more register definitions.

23 years agoRevert part of last commit. Instead of using %fs for KSD/TSD, we'll
Daniel Eischen [Sat, 12 May 2001 22:54:53 +0000 (22:54 +0000)]
Revert part of last commit.  Instead of using %fs for KSD/TSD, we'll
follow Linux' convention and use %gs.  This adds back the setting of
%fs to a sane value in sendsig().  The value of %gs remains preserved
to whatever it was in user context.

23 years agoAdd some gravitational values.
Eric Melville [Sat, 12 May 2001 21:21:38 +0000 (21:21 +0000)]
Add some gravitational values.

Approved by: murray

23 years agoExtract the path from an AF_LOCAL sockaddr_un in a way that correctly
Ian Dowse [Sat, 12 May 2001 20:05:26 +0000 (20:05 +0000)]
Extract the path from an AF_LOCAL sockaddr_un in a way that correctly
terminates the string in all cases, based on code from netstat(1).
The path in a sockaddr_un is terminated either by a '\0', or by
the end of the sockaddr as defined by sun_len.

Previously, the code could write the "safety" '\0' beyond the end
of the sockaddr (sockaddr_un's need only be large enough to store
sun_len bytes), and writing into the the supplied sockaddr is bad
anyway.

23 years agoUnbreak release. *sigh*
Bill Paul [Sat, 12 May 2001 19:51:40 +0000 (19:51 +0000)]
Unbreak release. *sigh*

23 years agoCheck for both hint files in /var/run (elf and aout) and eventually create
Jimmy Olgeni [Sat, 12 May 2001 19:39:13 +0000 (19:39 +0000)]
Check for both hint files in /var/run (elf and aout) and eventually create
them.

Sysinstall used to check /var/run/ld.so.hints (aout related) and create
hints with the ldconfig command, but the ldconfig command alone will
generate elf hints only. The correct behavior is:

* If /var/run/ld-elf.so.hints does not exist, generate elf hints

* If /var/run/ld.so.hints does not exist, generate aout hints
  (using ldconfig with the -aout option)

This will help ports that check for aout libraries using ldconfig in their
pkg-req scripts.

Approved by: jkh
MFC after: 1 weeks

23 years agoclarify comment about MAKE_KERBEROS5. noticed by Peter Pentchev
Assar Westerlund [Sat, 12 May 2001 14:38:00 +0000 (14:38 +0000)]
clarify comment about MAKE_KERBEROS5.  noticed by Peter Pentchev
<roam@orbitel.bg>

23 years agoFixed a missing library in DPADD.
Bruce Evans [Sat, 12 May 2001 14:37:53 +0000 (14:37 +0000)]
Fixed a missing library in DPADD.

Fixed some style bugs.

23 years agoFixed missing DPADD.
Bruce Evans [Sat, 12 May 2001 14:34:46 +0000 (14:34 +0000)]
Fixed missing DPADD.

Don't clobber CFLAGS by assigning to it using "=".

Fixed some style bugs.

23 years agoFixed some bitrot:
Bruce Evans [Sat, 12 May 2001 14:21:14 +0000 (14:21 +0000)]
Fixed some bitrot:
- the changes that renamed libf2c to libg2c had not reached here
- there were no definitions for LIBDEVINFO, LIBMENU, LIBPANEL, LIBTINFO,
  LIBUSB or LIBVGL.  LIBUSB was used without it being defined, and
  LIBDEVINFO and LIBVGL should have been used.
- the definitions of LIBDESCRYPT, LIBGCC_PIC, LIBGPLUSPLUS, LIBKZHEAD,
  LIBKZTAIL, LIBSCRYPT and LIBSCSI were garbage.

Fixed some old bugs:
- LIBC_PIC and LIBCOM_ERR were assigned to using "=" instead of "?=".
- the definition of LIBC_R was disordered.
- LIBFORM was misspelled LIBFORMS (but not actually used).

23 years agoFix typo introduced in a comment in the previous commit
Kris Kennaway [Sat, 12 May 2001 10:28:47 +0000 (10:28 +0000)]
Fix typo introduced in a comment in the previous commit

23 years agoClean up some of the evil string handling in this code, replace
Kris Kennaway [Sat, 12 May 2001 09:44:32 +0000 (09:44 +0000)]
Clean up some of the evil string handling in this code, replace
warnx()+exit() with errx() and replace a big if..then..else construct
to determine the package download directory with a lookup table.

Reviewed by: jkh
MFC after: 2 weeks

23 years agoTake keyboard map files from ${.CURDIR}/../../share/syscons/keymaps, not from
Maxim Sobolev [Sat, 12 May 2001 09:19:36 +0000 (09:19 +0000)]
Take keyboard map files from ${.CURDIR}/../../share/syscons/keymaps, not from
/usr/share/syscons/keymaps. This should prevent word breakage when new keymaps
have been added.

Prompted by: Matthew D. Fuller <fullermd@over-yonder.net>

23 years agoAllow path where keyboard maps are looked for to be altered using environment
Maxim Sobolev [Sat, 12 May 2001 09:16:09 +0000 (09:16 +0000)]
Allow path where keyboard maps are looked for to be altered using environment
variable.

23 years agoTh -> The in a comment
Warner Losh [Sat, 12 May 2001 06:04:02 +0000 (06:04 +0000)]
Th -> The in a comment

23 years agoChoose the right LIB_SPEC for threads based on "__FreeBSD_version".
David E. O'Brien [Sat, 12 May 2001 04:57:49 +0000 (04:57 +0000)]
Choose the right LIB_SPEC for threads based on "__FreeBSD_version".
This allows someone with an older -current to update their compiler [only].

Inspired by: Loren James Rittle <rittle@rsch.comm.mot.com>

23 years agoNew release notes: ELF rtld(1) performance improvements, catch up
Bruce A. Mah [Sat, 12 May 2001 04:19:26 +0000 (04:19 +0000)]
New release notes:  ELF rtld(1) performance improvements, catch up
RELNOTESng with RELNOTES.TXT for nge(4) entries (committed originally
by wpaul).

MFCs noted:  ifconfig(8) slash/CIDR support

23 years agoPreserve the state of the %gs register when setting up the signal
Daniel Eischen [Sat, 12 May 2001 03:23:10 +0000 (03:23 +0000)]
Preserve the state of the %gs register when setting up the signal
handler in Linux emulation.  According to bde, this is what Linux
does.

Recent versions of linuxthreads use %gs for thread-specific data,
while FreeBSD uses %fs (mostly because WINE uses %gs).

Tested by: drew

23 years agoFix a spelling error.
Dima Dorfman [Sat, 12 May 2001 02:26:58 +0000 (02:26 +0000)]
Fix a spelling error.

23 years agoDocument the -h option.
Dima Dorfman [Fri, 11 May 2001 23:53:46 +0000 (23:53 +0000)]
Document the -h option.

23 years agoSimplify the vm fault trap handling code a bit by using if-else instead of
John Baldwin [Fri, 11 May 2001 23:50:08 +0000 (23:50 +0000)]
Simplify the vm fault trap handling code a bit by using if-else instead of
duplicating code in the then case and then using a goto to jump around
the else case.

23 years agoBring the interface IFF_UP from ipcp_InterfaceUp() (called from IPCP's
Brian Somers [Fri, 11 May 2001 23:42:03 +0000 (23:42 +0000)]
Bring the interface IFF_UP from ipcp_InterfaceUp() (called from IPCP's
TLU event handler).

This used to be done as a side effect of SIOCAIFADDR'ing the interface,
but now that duplicate SIOCAIFADDRs are optimised out, we can't depend
on that behaviour.

23 years agoGC prototype for procfs_bmap() missed during a previous commit.
John Baldwin [Fri, 11 May 2001 23:37:37 +0000 (23:37 +0000)]
GC prototype for procfs_bmap() missed during a previous commit.

23 years agoSimply the vm fault trap handling code a bit by using if-else instead of
John Baldwin [Fri, 11 May 2001 23:17:54 +0000 (23:17 +0000)]
Simply the vm fault trap handling code a bit by using if-else instead of
duplicating code in the then case and then using a goto to jump around
the else case.

23 years agoAllow sendsig() to hand the proc lock off to osendsig() rather than having
John Baldwin [Fri, 11 May 2001 23:17:05 +0000 (23:17 +0000)]
Allow sendsig() to hand the proc lock off to osendsig() rather than having
sendsig() release the lock just so it can call osendsig() and have
osendsig() acquire the lock.

23 years agoAdd a new macro to test if a process' proc lock is held by the current
John Baldwin [Fri, 11 May 2001 21:28:37 +0000 (21:28 +0000)]
Add a new macro to test if a process' proc lock is held by the current
thread: PROC_LOCKED().

23 years agoIt's vlan.h, not opt_vlan.h.
Bill Paul [Fri, 11 May 2001 20:55:31 +0000 (20:55 +0000)]
It's vlan.h, not opt_vlan.h.

23 years agoIn vrele() and vput(), avoid triggering the confusing "missed vn_close"
Ian Dowse [Fri, 11 May 2001 20:42:41 +0000 (20:42 +0000)]
In vrele() and vput(), avoid triggering the confusing "missed vn_close"
KASSERT when vp->v_usecount is zero or negative. In this case, the
"v*: negative ref cnt" panic that follows is much more appropriate.

Reviewed by: mckusick

23 years agoRegenerate.
Jonathan Lemon [Fri, 11 May 2001 20:41:20 +0000 (20:41 +0000)]
Regenerate.

23 years agoCorrectly recognize the i82562{EM} PHYs.
Jonathan Lemon [Fri, 11 May 2001 20:34:38 +0000 (20:34 +0000)]
Correctly recognize the i82562{EM} PHYs.

Obtained from: OpenBSD

23 years agoRegenerate
Bill Paul [Fri, 11 May 2001 20:27:39 +0000 (20:27 +0000)]
Regenerate

23 years agoCheck witness_dead in more functions to avoid panic'ing when assertions
John Baldwin [Fri, 11 May 2001 20:25:29 +0000 (20:25 +0000)]
Check witness_dead in more functions to avoid panic'ing when assertions
fail due to witness exhausting its internal resources and shutting down.

Reported by: Szilveszter Adam <sziszi@petra.hos.u-szeged.hu>
Tested by: David Wolfskill <david@catwhisker.org>

23 years agoDisable the 'stats counter overflow' interrupts since they can happen
Bill Paul [Fri, 11 May 2001 20:15:41 +0000 (20:15 +0000)]
Disable the 'stats counter overflow' interrupts since they can happen
much more often that expected and negatively impact performance when
running at 100mbps. I need to figure out if there's a better way to
handle this, but for now this shouldn't hurt anything.

23 years agoAdd support for gigabit ethernet cards based on the NatSemi DP83820
Bill Paul [Fri, 11 May 2001 19:56:39 +0000 (19:56 +0000)]
Add support for gigabit ethernet cards based on the NatSemi DP83820
and DP83821 gigabit ethernet MAC chips and the NatSemi DP83861 10/100/1000
copper PHY. There are a whole bunch of very low cost cards available with
this chipset selling for $150USD or less. This includes the SMC9462TX,
D-Link DGE-500T, Asante GigaNIX 1000TA and 1000TPC, and a couple cards
from Addtron.

This chip supports TCP/IP checksum offload, VLAN tagging/insertion.
2048-bit multicast filter, jumbograms and has 8K TX and 32K RX FIFOs.
I have not done serious performance testing with this driver. I know
it works, and I want it under CVS control so I can keep tabs on it.
Note that there's no serious mutex stuff in here yet either: I need
to talk more with jhb to figure out the right way to do this. That
said, I don't think there will be any problems.

This driver should also work on the alpha. It's not turned on in
GENERIC.

23 years agoAS800 uses EDO DIMMs, not SDRAM
Wilko Bulte [Fri, 11 May 2001 18:02:37 +0000 (18:02 +0000)]
AS800 uses EDO DIMMs, not SDRAM

Submitted by: Brodie Hynes <brodie@alum.mit.edu>

23 years agoAS800 uses EDO DIMMs, not SDRAM DIMMs.
Wilko Bulte [Fri, 11 May 2001 18:01:27 +0000 (18:01 +0000)]
AS800 uses EDO DIMMs, not SDRAM DIMMs.

Submitted by: Brodie Hynes <brodie@alum.mit.edu>

23 years agoRegenerate.
Tor Egge [Fri, 11 May 2001 17:05:47 +0000 (17:05 +0000)]
Regenerate.

23 years agogettimeofday() is MP safe on both -current and -stable.
Tor Egge [Fri, 11 May 2001 17:05:12 +0000 (17:05 +0000)]
gettimeofday() is MP safe on both -current and -stable.

23 years agode-constify to make it compatible with (krb4) and make-print-version
Assar Westerlund [Fri, 11 May 2001 16:56:36 +0000 (16:56 +0000)]
de-constify to make it compatible with (krb4) and make-print-version

Submitted by: Peter Pentchev <roam@orbitel.bg> (just inverted)

23 years agoIn in_ifadown(), differentiate between whether the interface goes
Ruslan Ermilov [Fri, 11 May 2001 14:37:34 +0000 (14:37 +0000)]
In in_ifadown(), differentiate between whether the interface goes
down or interface address is deleted.  Only delete static routes
in the latter case.

Reported by: Alexander Leidinger <Alexander@leidinger.net>

23 years agoAdd utility PAMs for finer userland control
Mark Murray [Fri, 11 May 2001 10:12:55 +0000 (10:12 +0000)]
Add utility PAMs for finer userland control

23 years agoFix PAMized telnet in exactly the same way as BDE did it for the other
Mark Murray [Fri, 11 May 2001 09:39:11 +0000 (09:39 +0000)]
Fix PAMized telnet in exactly the same way as BDE did it for the other
telnet instances.

23 years agoFix make world in the kerberosIV case.
Mark Murray [Fri, 11 May 2001 09:36:17 +0000 (09:36 +0000)]
Fix make world in the kerberosIV case.

23 years agoAdd 470.status-named.
Dirk Froemberg [Fri, 11 May 2001 09:32:48 +0000 (09:32 +0000)]
Add 470.status-named.

Reminded by: gshapiro

23 years agoAdd exact names for suggested screenmaps
Andrey A. Chernov [Fri, 11 May 2001 08:45:34 +0000 (08:45 +0000)]
Add exact names for suggested screenmaps

23 years agoUpdate the fsck command in /etc/rc to use the new background
Kirk McKusick [Fri, 11 May 2001 07:40:39 +0000 (07:40 +0000)]
Update the fsck command in /etc/rc to use the new background
fsck checking. Applying these changes (typically via mergemaster)
will cause your system to start running background checks on all
your soft update enabled filesystems (provided that you have
a kernel with the required functionality, e.g., one built since
the end of April). Please report any and all problems to
mckusick@mckusick.com (not mckusick@freebsd.org which I read
infrequently). See the comment above the fsck command in /etc/rc
for instructions on how to disable background checking should it
cause you too much trouble.

Several FAQs:

1) Can I reboot before the background checks are done?

Ans) Yes, when the system restarts the checks will pick up
     where they left off.

2) Can a crash during checking corrupt my filesystem?

Ans) No, recovered resources are returned to the system using soft
     updates which ensure that the freeing is done in a safe order.

3) How will I know if any background checks are being done?

Ans) Filesystems that are to be checked in background will be listed
     as `DEFER FOR BACKGROUND CHECKING' at the usual fsck check time
     during system startup.

4) What happens to the output of the background checks?

Ans) It is sent to syslog `daemon' facility log level `notice'.

5) When will this feature be available in the 4.X kernel?

Ans) Never. It is much too radical and extensive a change to be
     MFC'ed. Besides, it needs many months of experience and
     tuning before it is ready for widespread use.

6) What happens if a background fsck fails (i.e., fsck finds
   errors that would normally require a manual fsck)?

Ans) The filesystem will be marked as needing a manual fsck.
     At the next system reboot, the check will be done in
     foreground and the usual actions taken (usually a failure
     to go multi-user until fsck has been run by hand on the
     affected filesystem).

23 years agoSync picobsd script with the one in -stable, and also
Luigi Rizzo [Fri, 11 May 2001 07:39:40 +0000 (07:39 +0000)]
Sync picobsd script with the one in -stable, and also
patch boot2 so it goes to load /kernel right away

Perl code from Josef Karthauser

23 years agoRemove yet another deadlock case.
Kirk McKusick [Fri, 11 May 2001 07:12:03 +0000 (07:12 +0000)]
Remove yet another deadlock case.

23 years agoFix world-breaking typo in previous commit.
Greg Lehey [Fri, 11 May 2001 07:06:06 +0000 (07:06 +0000)]
Fix world-breaking typo in previous commit.

23 years agoUn-swap irq/link byte values so that printf works.
Mike Smith [Fri, 11 May 2001 04:52:29 +0000 (04:52 +0000)]
Un-swap irq/link byte values so that printf works.

23 years agoAllow mail(1) to be able to read Eudora mailboxes by transforming
Mike Heffner [Fri, 11 May 2001 03:07:11 +0000 (03:07 +0000)]
Allow mail(1) to be able to read Eudora mailboxes by transforming
lines that end in <CR><LF> to just <LF>.

Reviewed by: imp
Obtained from: OpenBSD

23 years agomerge imported changes into HEAD
Assar Westerlund [Fri, 11 May 2001 00:14:02 +0000 (00:14 +0000)]
merge imported changes into HEAD

23 years agoNew release notes: statfs(2) and df(1) track blocks committed to being
Bruce A. Mah [Thu, 10 May 2001 23:38:32 +0000 (23:38 +0000)]
New release notes:  statfs(2) and df(1) track blocks committed to being
freed by softupdates, ifconfig(8) accepts CIDR notation, rc(8) clean-out
of /var/run and /var/spool/lock, c89(1) is now a binary, pax(1)
enhancements and cpio(1)/tar(1) compatability, Ukranian language console
support.

Other:  Update/make (more) consistent the list of WaveLAN devices
supported.

MFCs noted:  ln(1) -h/-n, find(1) timestamp flags.

23 years agoAdd information about the 2400A controllers. Fix erroneous reference to
Scott Long [Thu, 10 May 2001 22:34:45 +0000 (22:34 +0000)]
Add information about the 2400A controllers.  Fix erroneous reference to
BSD/OS.

23 years agoSync KOI8-U with latest KOI8-R changes. Also restore correct numbering
Maxim Sobolev [Thu, 10 May 2001 21:04:36 +0000 (21:04 +0000)]
Sync KOI8-U with latest KOI8-R changes. Also restore correct numbering
in the font selection dialog broken by the removal of KOI8-R.

Prompted by: ache
MFC after: 2 weeks

23 years agoBring the doc up to date with regard to the /etc bootstrapping code
Brian S. Dean [Thu, 10 May 2001 20:50:54 +0000 (20:50 +0000)]
Bring the doc up to date with regard to the /etc bootstrapping code
and the role of /conf/default/etc.

23 years agoMFS: bring Luigi's updated diskless man page into -current.
Brian S. Dean [Thu, 10 May 2001 20:45:46 +0000 (20:45 +0000)]
MFS: bring Luigi's updated diskless man page into -current.

23 years agoAdd Romania to ftp mirrors.
Jordan K. Hubbard [Thu, 10 May 2001 18:38:25 +0000 (18:38 +0000)]
Add Romania to ftp mirrors.

23 years agoTrim lots of stuff that is now in MI code along with MD alpha code.
John Baldwin [Thu, 10 May 2001 17:58:35 +0000 (17:58 +0000)]
Trim lots of stuff that is now in MI code along with MD alpha code.

23 years ago- Split out the support for per-CPU data from the SMP code. UP kernels
John Baldwin [Thu, 10 May 2001 17:45:49 +0000 (17:45 +0000)]
- Split out the support for per-CPU data from the SMP code.  UP kernels
  have per-CPU data and gdb on the i386 at least needs access to it.
- Clean up includes in kern_idle.c and subr_smp.c.

Reviewed by: jake

23 years agoAdd mousechar_start=3 for Russian font
Andrey A. Chernov [Thu, 10 May 2001 17:32:31 +0000 (17:32 +0000)]
Add mousechar_start=3 for Russian font
(-current only)

23 years agoTry to read the station address twice during the probe. I've seen
Bill Paul [Thu, 10 May 2001 17:17:24 +0000 (17:17 +0000)]
Try to read the station address twice during the probe. I've seen
a LinkSys card here in the office where reading the station address
fails the first time, but works find afterwards. Without this, the
probe fails. I don't think this will negatively impact any existing
cards, but I want to confirm this before MFC'ing.

23 years agoHandle sbsize as a size, not a number.
Sheldon Hearn [Thu, 10 May 2001 17:15:06 +0000 (17:15 +0000)]
Handle sbsize as a size, not a number.

Submitted by: Paul Herman <pherman@frenchfries.net>

23 years agoMove cons25w entry last, index is off by one otherwise if RunningAsInit
Andrey A. Chernov [Thu, 10 May 2001 17:14:29 +0000 (17:14 +0000)]
Move cons25w entry last, index is off by one otherwise if RunningAsInit

23 years agoRemove CP866 keyboard and KOI8-R font to not confuse users.
Andrey A. Chernov [Thu, 10 May 2001 17:03:14 +0000 (17:03 +0000)]
Remove CP866 keyboard and KOI8-R font to not confuse users.
Explain more about CP866 font usage.

23 years ago- Use sched_lock and critical regions to ensure that LDT updates are thread
John Baldwin [Thu, 10 May 2001 17:03:03 +0000 (17:03 +0000)]
- Use sched_lock and critical regions to ensure that LDT updates are thread
  safe from preemption and concurrent access to the LDT.
- Move the prototype for i386_extend_pcb() to <machine/pcb_ext.h>.

Reviewed by: silence on -hackers

23 years agoAdd support for Ukrainian console.
Maxim Sobolev [Thu, 10 May 2001 15:57:16 +0000 (15:57 +0000)]
Add support for Ukrainian console.

Submitted by: Olexander Kunytsa <kunia@istc.kiev.ua>
MFC after: 2 weeks

23 years agoAdd the ability to specify alternate PID file for syslogd.
David Malone [Thu, 10 May 2001 15:48:33 +0000 (15:48 +0000)]
Add the ability to specify alternate PID file for syslogd.

PR: 25784
Submitted by: Jon Villarreal <jonv@ivmg.net>
Reviewed by: iedowse

23 years agoDelete everything that's not a directory in /var/run and /var/spool/lock
Brian Somers [Thu, 10 May 2001 09:25:10 +0000 (09:25 +0000)]
Delete everything that's not a directory in /var/run and /var/spool/lock
at boot time.

MFC after: 3 weeks

23 years agoTell the user what group they must be in to su to root.
David E. O'Brien [Thu, 10 May 2001 07:37:25 +0000 (07:37 +0000)]
Tell the user what group they must be in to su to root.

Submitted by: Seth Kingsley <sethk@osd.bsdi.com>

23 years agomdoc(7) police: fix markup.
Ruslan Ermilov [Thu, 10 May 2001 07:29:35 +0000 (07:29 +0000)]
mdoc(7) police: fix markup.

23 years agoThe new order of things is that dwlpxN is now called pcibN- so hack around
Matt Jacob [Thu, 10 May 2001 07:08:03 +0000 (07:08 +0000)]
The new order of things is that dwlpxN is now called pcibN- so hack around
*that* whilst we ponder the best way to decide how to register dwlpx interrupts
with TLSB.

23 years agoFix the panics for real this time. When something can't be allocated,
Warner Losh [Thu, 10 May 2001 06:55:39 +0000 (06:55 +0000)]
Fix the panics for real this time.  When something can't be allocated,
we need to delete the info from the list as well as zero out the res
pointer we saved in the code.

Also made a few style(9) changes while I was at it.  Don't use if
(ptr) or if (!ptr), but compare against NULL.  Compare against NULL
rather than 0.  Don't have useless blocks.

There are likely other problems as well, but at least the wi based
wireless card with memory listed in its cis doesn't panic the system
when the card is inserted.

23 years agoadd alpha_pci_route_interrupt method
Matt Jacob [Thu, 10 May 2001 06:52:56 +0000 (06:52 +0000)]
add alpha_pci_route_interrupt method

23 years agoQuick hack to reintroduce the notion that there might be alpha platforms
Matt Jacob [Thu, 10 May 2001 05:23:58 +0000 (05:23 +0000)]
Quick hack to reintroduce the notion that there might be alpha platforms
without an i8254 timer/counter. This really needs to be cleaned up.

23 years agoFICL 2.05 has a flawed definition of BASE. Fix it.
Daniel C. Sobral [Thu, 10 May 2001 05:13:09 +0000 (05:13 +0000)]
FICL 2.05 has a flawed definition of BASE. Fix it.

Spotted by: Peter Jeremy <peter.jeremy@alcatel.com.au>

23 years agoThis file is not needed, use the default one
Luigi Rizzo [Thu, 10 May 2001 05:03:43 +0000 (05:03 +0000)]
This file is not needed, use the default one

23 years agoInclude sys/lock.h for witness_list_locks() and axe unneeded sys/mutex.h
John Baldwin [Wed, 9 May 2001 22:08:28 +0000 (22:08 +0000)]
Include sys/lock.h for witness_list_locks() and axe unneeded sys/mutex.h
include.

23 years agoAvoid flushing IPv6 routes. `route flush' removes necessary
Hajimu UMEMOTO [Wed, 9 May 2001 20:30:55 +0000 (20:30 +0000)]
Avoid flushing IPv6 routes.  `route flush' removes necessary
routes for IPv6 as well as IPv4 routes.

23 years agoAdd in commented out entries for NEWCARD so that they are at least
John Baldwin [Wed, 9 May 2001 19:37:25 +0000 (19:37 +0000)]
Add in commented out entries for NEWCARD so that they are at least
documented.  They cannot be turned on by default due to conflicting
symbols at link time between OLDCARD and NEWCARD.

Approved by: imp

23 years agoThe sk driver developed a bug when the multicast code was changed to
Bill Paul [Wed, 9 May 2001 18:22:42 +0000 (18:22 +0000)]
The sk driver developed a bug when the multicast code was changed to
use TAILQ macros. The sk_attach_xmac() routine calls sk_init_xmac()
before doing the transceiver probe, but *before* ether_ifattach()
is called. This causes sk_init_xmac() to call sk_setmulti(), which
tries to do a TAILQ_FOREACH(), which it can't do because ether_ifattach()
hasn't done a TAILQ_INIT() yet. This causes a NULL pointer dereference
and panic in sk_setmulti() at driver load/initialization time.

Fixed by calling ether_ifattach() before the MII probe.

The code in RELENG_4 still uses the old way of enumerating the
multicast list and doesn't have this problem. Yet.

23 years agoAdd include of sys/mutex.h and resort include of sys/lock.h.
John Baldwin [Wed, 9 May 2001 16:56:48 +0000 (16:56 +0000)]
Add include of sys/mutex.h and resort include of sys/lock.h.

23 years agoAdd needed sys/lock.h include.
John Baldwin [Wed, 9 May 2001 16:55:59 +0000 (16:55 +0000)]
Add needed sys/lock.h include.

23 years ago * Simplify the population of the /etc memory filesystem. To avoid
Brian S. Dean [Wed, 9 May 2001 15:13:51 +0000 (15:13 +0000)]
  * Simplify the population of the /etc memory filesystem.  To avoid
    the null mount, we currently create a temporary mfs on /tmp, copy
    /etc to /tmp, then mount /etc as mfs and copy everything back from
    /tmp, then delete the /tmp mfs.

    The patch eliminates the temporary /tmp mfs and the subsequent
    copying and simply populates the /etc mfs by copying from
    /conf/default/etc.  This requires that /conf/default/etc contain a
    complete copy of all the /etc stuff instead of just overrides.  I
    don't think that is too much of an extra step in setting up a
    diskless environment.

  * Provide the ability to make /tmp a memory filesystem independent
    of /var.  This removes the requirement that /tmp be a symlink to
    /var/tmp and this makes the diskless code work with the default
    filesystem layout.  If a seperate /tmp memory filesystem is
    created, the 'tmpsize' environment variable is used to determine
    its size (default to 10 Meg).

  * Reduce diffs between the -current and -stable versions of these
    files to a bare minimum.  Only the definition of the shell
    function 'mount_md' is different.

Not Objected to by: -arch@, -small@

MFC after: 2 days

23 years agoFixed world breakage in previous commit. -lpam must never be used
Bruce Evans [Wed, 9 May 2001 14:30:49 +0000 (14:30 +0000)]
Fixed world breakage in previous commit.  -lpam must never be used
directly (except in the definition of MINUSLPAM in bsd.libnames.mk)
since it doesn't give all the libraries necessary for static linkage.

Fixed missing ${LIBPAM} in DPADD.

Fixed some style bugs in DPADD and LDADD.

23 years agoFixed world breakage in previous commit. -lpam must never be used
Bruce Evans [Wed, 9 May 2001 14:23:54 +0000 (14:23 +0000)]
Fixed world breakage in previous commit.  -lpam must never be used
directly (except in the definition of MINUSLPAM in bsd.libnames.mk)
since it doesn't give all the lbraries necessary for static linkage.

Fixed new and old bugs in DPADD.  ${LIBPAM} was missing, and the
library order was different from that in LDADD so `make checkdpadd'
reported a non-bug.

23 years agoRemove the error var, it hides the real one.
Søren Schmidt [Wed, 9 May 2001 13:01:10 +0000 (13:01 +0000)]
Remove the error var, it hides the real one.

PR 27213.

BTW the CDIOCREADAUDIO ioctl is deprecated, its not longer needed
and was an ugly hack from start on.

23 years agoAvoid overflow when converting ticks to jiffies.
Dag-Erling Smørgrav [Wed, 9 May 2001 11:41:54 +0000 (11:41 +0000)]
Avoid overflow when converting ticks to jiffies.

PR: 27215
Submitted by: Jim Pirzyk <Jim.Pirzyk@disney.com>

23 years agoFix operation of df on unmounted filesystems, and add the ability to run df
Kris Kennaway [Wed, 9 May 2001 08:44:15 +0000 (08:44 +0000)]
Fix operation of df on unmounted filesystems, and add the ability to run df
on unmounted non-UFS filesystem using '-t'

Submitted by: bde

23 years agoPatches from OpenBSD:
Kris Kennaway [Wed, 9 May 2001 08:37:18 +0000 (08:37 +0000)]
Patches from OpenBSD:
        - check the msg.tsp_type value prior to using it as an
          index into char *tsptype[]
        - use strlcpy's instead of strcpy's
        - & handle short packets properly.

Submitted by: "Andrew R. Reiter" <arr@watson.org>
Obtained from: OpenBSD

23 years agoFix what was clearly a 3am brain-o; Boolean should be signed, not
Jordan K. Hubbard [Wed, 9 May 2001 08:01:56 +0000 (08:01 +0000)]
Fix what was clearly a 3am brain-o; Boolean should be signed, not
unsigned.  C is kinda loose about this sort of thing but it's no excuse.

Spotted by: kenny

23 years agos/ssh_host_key/ssh_host_rsa_key/ since that is what openssh uses now
Peter Wemm [Wed, 9 May 2001 07:46:44 +0000 (07:46 +0000)]
s/ssh_host_key/ssh_host_rsa_key/ since that is what openssh uses now
after a mergemaster.

23 years agoClarify that the Adaptec 2400A is an ATA controller.
Scott Long [Wed, 9 May 2001 05:58:01 +0000 (05:58 +0000)]
Clarify that the Adaptec 2400A is an ATA controller.

23 years agoAdd the Adaptec 2400A as an ATA RAID controller. Remove reference to the
Scott Long [Wed, 9 May 2001 05:56:49 +0000 (05:56 +0000)]
Add the Adaptec 2400A as an ATA RAID controller.  Remove reference to the
non-existant Adaptec 1400 controller.

23 years agoFix a typo (pasto?).
Dima Dorfman [Wed, 9 May 2001 05:03:35 +0000 (05:03 +0000)]
Fix a typo (pasto?).

23 years agoFix some of the handling in the pam module, don't unregister things
Alfred Perlstein [Wed, 9 May 2001 03:40:37 +0000 (03:40 +0000)]
Fix some of the handling in the pam module, don't unregister things
that were never registered.  At the same time handle a failure from
pam_setcreds with a bit more paranioa than the previous fix.

Sync a bit with the "Portable OpenSSH" work to make comparisons a easier.

23 years agoUnbreak world, IN_SHLOCK/IN_EXLOCK haven't existed in a while and
Alfred Perlstein [Wed, 9 May 2001 03:38:02 +0000 (03:38 +0000)]
Unbreak world, IN_SHLOCK/IN_EXLOCK haven't existed in a while and
Kirk finally has ditched them.  While I'm here also ditch FSHLOCK.

23 years agorcsid style fix.
David E. O'Brien [Wed, 9 May 2001 01:38:28 +0000 (01:38 +0000)]
rcsid style fix.