]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
24 years ago- Introduce the bridge drivers for Sound Blaser, GUS and Crystal
tanimura [Mon, 22 Nov 1999 06:07:49 +0000 (06:07 +0000)]
- Introduce the bridge drivers for Sound Blaser, GUS and Crystal
  Semiconductor CS461x/428x.
- Add support for GUS and CS461x/428x pcm.

Bridges reviewed by: dfr, cg
GUS non-PnP support submitted by: Ville-Pertti Keinonen <will@iki.fi>
GUS PnP support tested by: Michiru Saito <mich@mtci.ne.jp>

24 years ago nm_srtt and nm_sdrtt are arrays[4]. Remove explicit initialization
dillon [Mon, 22 Nov 1999 04:50:09 +0000 (04:50 +0000)]
nm_srtt and nm_sdrtt are arrays[4].  Remove explicit initialization
    of element [4] in both, which goes beyond the end of the array, leaving
    [0], [1], [2], and [3].  This bug did not cause any problems since
    the overrun fields are initialized after the bogus array init but
    needs to be fixed anyway.

Submitted by:  Ian Dowse <iedowse@maths.tcd.ie>

24 years agoThe rt_refcnt member is a long now.
jdp [Mon, 22 Nov 1999 04:26:00 +0000 (04:26 +0000)]
The rt_refcnt member is a long now.

24 years ago Finish up umntall support. init now passed an argument to the
dillon [Mon, 22 Nov 1999 04:23:11 +0000 (04:23 +0000)]
Finish up umntall support.  init now passed an argument to the
    rundown script 'reboot' or 'single'.  ISO support (which never
    worked) has been removed from mount_nfs.  mount_nfs and umount
    now use mounttab, which allows umntall to work properly.  The
    rc scripts now call umntall as appropriate.

Submitted by: Martin Blapp <mb@imp.ch>

24 years agoAdd the usbd.conf to the distribution target.
n_hibma [Mon, 22 Nov 1999 04:19:06 +0000 (04:19 +0000)]
Add the usbd.conf to the distribution target.

24 years agoAdd comments on what it the USB modules are. Add the usb module.
n_hibma [Mon, 22 Nov 1999 04:08:37 +0000 (04:08 +0000)]
Add comments on what it the USB modules are. Add the usb module.

The USB module contains the OHCI and UHCI controllers as well.
Sticking them into separate modules might be possible after I have
untangled the mess.

24 years agoClean up the Makefiles, make them consistent with the others and remove
n_hibma [Mon, 22 Nov 1999 03:55:33 +0000 (03:55 +0000)]
Clean up the Makefiles, make them consistent with the others and remove
debugging falgs (-g).

24 years agoAdd the usb module and move the USB related modules into the generic section
n_hibma [Mon, 22 Nov 1999 03:48:33 +0000 (03:48 +0000)]
Add the usb module and move the USB related modules into the generic section
USB seems to compile on Alpha's as well.

24 years agoUSB is loadable as a module as well.
n_hibma [Mon, 22 Nov 1999 03:46:33 +0000 (03:46 +0000)]
USB is loadable as a module as well.

24 years agoMove the pretty printing of the description for USB controllers to
n_hibma [Mon, 22 Nov 1999 03:34:43 +0000 (03:34 +0000)]
Move the pretty printing of the description for USB controllers to
pci_probe_nomatch, so it won't be in the way when loading USB as a module.

The reason for them being there in the first place is that every
motherboard comes with USB kit and this way it looks more pretty (peter).
The real solution will be to define some method of detaching a driver
after it has attached.

24 years agoRemove some bogus bus methods peter added. We are hardly doing
n_hibma [Mon, 22 Nov 1999 03:22:43 +0000 (03:22 +0000)]
Remove some bogus bus methods peter added. We are hardly doing
anything as a bus.

24 years agoKAME netinet6 basic part(no IPsec,no V6 Multicast Forwarding, no UDP/TCP
shin [Mon, 22 Nov 1999 02:45:11 +0000 (02:45 +0000)]
KAME netinet6 basic part(no IPsec,no V6 Multicast Forwarding, no UDP/TCP
for IPv6 yet)

With this patch, you can assigne IPv6 addr automatically, and can reply to
IPv6 ping.

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project

24 years agoAn example of how to configure PPPoE.
brian [Sun, 21 Nov 1999 23:40:38 +0000 (23:40 +0000)]
An example of how to configure PPPoE.

24 years agoEnable pppoed
brian [Sun, 21 Nov 1999 23:39:51 +0000 (23:39 +0000)]
Enable pppoed

24 years agopppoed(8) - a server to accept PPPoE connections
brian [Sun, 21 Nov 1999 23:39:14 +0000 (23:39 +0000)]
pppoed(8) - a server to accept PPPoE connections

24 years agoCall MkSockNode() as uid 0
brian [Sun, 21 Nov 1999 23:27:23 +0000 (23:27 +0000)]
Call MkSockNode() as uid 0

Forgotten by: julian

24 years agoDocument the requirement for root privileges.
julian [Sun, 21 Nov 1999 23:19:13 +0000 (23:19 +0000)]
Document the requirement for root privileges.

24 years agooops cut-n-paste error
julian [Sun, 21 Nov 1999 23:11:52 +0000 (23:11 +0000)]
oops cut-n-paste error

24 years agoIt's time to only allow root to manipulate netgraph nodes.
julian [Sun, 21 Nov 1999 23:06:30 +0000 (23:06 +0000)]
It's time to only allow root to manipulate netgraph nodes.
(I meant to do this before checking in to FreeBSD and forgot)

24 years agoMake __sfp() even more thread-safe.
dt [Sun, 21 Nov 1999 22:34:57 +0000 (22:34 +0000)]
Make __sfp() even more thread-safe.

24 years agoHopefully the last patch from Brian to get server side PPPoE working.
julian [Sun, 21 Nov 1999 22:18:54 +0000 (22:18 +0000)]
Hopefully the last patch from Brian to get server side PPPoE working.
remove a 'free' that is no longer needed.

24 years agoUpdate for new doc paths.
jkh [Sun, 21 Nov 1999 22:04:13 +0000 (22:04 +0000)]
Update for new doc paths.

Submitted by: Martin Kammerhofer <mkamm@gmx.net>
PR: 15020

24 years agoAdd a "-d" option which causes the system to generate a crash dump.
jdp [Sun, 21 Nov 1999 21:52:40 +0000 (21:52 +0000)]
Add a "-d" option which causes the system to generate a crash dump.

24 years agoDon't clear the SA_FLAG_TAPE_LOCKED prior to calling
mjacob [Sun, 21 Nov 1999 20:23:58 +0000 (20:23 +0000)]
Don't clear the SA_FLAG_TAPE_LOCKED prior to calling
saprevent when we're doing an OFFLINE ioctl- saprevent
won't unlock the door, which then causes the unload to
fail on some units.

If we've already unloaded the tape, don't try and rewind and
unload in saclose. This is a slightly riskier change because
we're now going to depend on SA_FLAG_TAPE_MOUNTED to say whether
we've really unloaded the tape. This involved changing the
setting in sadone for tape errors to SA_FLAG_TAPE_FROZEN (which
is more accurate anyway-if you get an EIO you've probably lost
tape position anyway) where it used to just clear the mounted
flag.

24 years agoBuild tools against the host's includes and libraries. Also, don't
marcel [Sun, 21 Nov 1999 20:06:03 +0000 (20:06 +0000)]
Build tools against the host's includes and libraries. Also, don't
build make(1) twice and merge the bootstrap-libraries and libraries
targets.

This change solves the bug where build-tools, compiled against the
includes and libraries built from the sources failed to run on the
host, as was the case with the sigset_t change. With this update, a
buildworld will fail if the tools won't compile on the host. This
is solved in further commits where backward compatibility of the
tools is enlarged.

The libraries target has been fixed. The libraries are now build in
the proper order, satisfying the dependencies. The comment is updated
to reflect this.

The linux module and netboot have been removed from the list of tools.
More to follow.

Reviewed by: bde, imp

24 years agoAdd make_dev functions. Tested with only one changer (sigh- all my others
mjacob [Sun, 21 Nov 1999 19:17:47 +0000 (19:17 +0000)]
Add make_dev functions. Tested with only one changer (sigh- all my others
are broken).
Submitted by: ken@freebsd.org

24 years agoRestore the 2.3 config file.
obrien [Sun, 21 Nov 1999 19:10:50 +0000 (19:10 +0000)]
Restore the 2.3 config file.

24 years agoIntroduce the new function
phk [Sun, 21 Nov 1999 19:03:20 +0000 (19:03 +0000)]
Introduce the new function
        p_trespass(struct proc *p1, struct proc *p2)
which returns zero or an errno depending on the legality of p1 trespassing
on p2.

Replace kern_sig.c:CANSIGNAL() with call to p_trespass() and one
extra signal related check.

Replace procfs.h:CHECKIO() macros with calls to p_trespass().

Only show command lines to process which can trespass on the target
process.

24 years agoAdd event queue handling. It triggers activities on events read from
n_hibma [Sun, 21 Nov 1999 17:44:43 +0000 (17:44 +0000)]
Add event queue handling. It triggers activities on events read from
/dev/usb. The actions are specified in the file /etc/usbd.conf.

usbd.c:
   - Add event queue (/dev/usb) handling.
   - Add comments
   - Clean up code some more

usbd.8:
   - Update manpage for the new command line flags
   - Remove a duplicate FreeBSD tag from it).

usbd.conf, usbd.conf.5, Makefile:
   - Add the usbd.conf configuration file and the man page for it.

NOTE: MAKEDEV already creates the /dev/usb device tree node, no change
needed there anymore.

24 years agoAdd FNM_FILE_NAME - GNU alias to FNM_PATHNAME
ache [Sun, 21 Nov 1999 17:32:45 +0000 (17:32 +0000)]
Add FNM_FILE_NAME - GNU alias to FNM_PATHNAME
Move all excepting NOESCAPE,PATHNAME,PERIOD under !defined(_POSIX_SOURCE)

24 years agoAddition of new fields to the usb_devinfo struct to enable the new
n_hibma [Sun, 21 Nov 1999 17:30:42 +0000 (17:30 +0000)]
Addition of new fields to the usb_devinfo struct to enable the new
and shiny usbd daemon to handle events.

usb_port.h:
- Add a macro to retrieve the unit number from a USBBASEDEVICE

usb.h, usb_subr.c:
- Add fields to the device_info struct.

usb_subr.c:
- Fill in the new fields.
- Remove the notification of the event up a bit to make sure all the
  information is still available to fill the usb_devinfo struct.

This requires recompilation of usbdevs (src/usr.sbin/usbdevs) and the
ezdownload/ezupload (ports/misc/ezload) utilities in any case.

24 years agoRevoke the vnodes on detach. This avoids the crashes people have seen
n_hibma [Sun, 21 Nov 1999 17:25:30 +0000 (17:25 +0000)]
Revoke the vnodes on detach. This avoids the crashes people have seen
when moused was still running when the mouse was detached.

Convert uhid to use make_dev while I am there. Ugen still needs to be
converted.

24 years agoEnclosed the arguments of binary and in brackets.
n_hibma [Sun, 21 Nov 1999 17:22:30 +0000 (17:22 +0000)]
Enclosed the arguments of binary and in brackets.

24 years agofix for -fno-builtin
cg [Sun, 21 Nov 1999 17:15:12 +0000 (17:15 +0000)]
fix for -fno-builtin

PR: kern/14278

24 years agoAdd text for Rendition Verite V1000 and V2000 video cards.
bp [Sun, 21 Nov 1999 17:08:47 +0000 (17:08 +0000)]
Add text for Rendition Verite V1000 and V2000 video cards.

24 years agoRemove race condition under SMP.
bp [Sun, 21 Nov 1999 16:35:29 +0000 (16:35 +0000)]
Remove race condition under SMP.

Noted by: Denis Kalinin <denis@mail.rbc.ru>

24 years agoMake better use of .Ar. Use DIAGNOSTICS instead of incorrect section name.
charnier [Sun, 21 Nov 1999 16:16:30 +0000 (16:16 +0000)]
Make better use of .Ar. Use DIAGNOSTICS instead of incorrect section name.
Add rcsid. Remove unused #includes. Cosmetic in error messages.

24 years agoCorrect use of .Nm. Add DIAGNOSTICS section. Add rcsid
charnier [Sun, 21 Nov 1999 16:11:56 +0000 (16:11 +0000)]
Correct use of .Nm. Add DIAGNOSTICS section. Add rcsid

24 years agoThese files have been repo-copied to dev/sound/* (making way for pcm
peter [Sun, 21 Nov 1999 15:58:07 +0000 (15:58 +0000)]
These files have been repo-copied to dev/sound/* (making way for pcm
and midi to share the backend files).

24 years agoAdd comment about aliases on same subnet.
phk [Sun, 21 Nov 1999 14:53:13 +0000 (14:53 +0000)]
Add comment about aliases on same subnet.

Submitted by: Martin Blapp <mbr@imp.ch>

24 years agoMoved useracc() to top of sigreturn as to avoid panic
pho [Sun, 21 Nov 1999 14:46:43 +0000 (14:46 +0000)]
Moved useracc() to top of sigreturn as to avoid panic
caused by invalid arguments to rutine.

Reviewed by: marcel, phk

24 years agos/p_cred->pc_ucred/p_ucred/g
phk [Sun, 21 Nov 1999 12:38:21 +0000 (12:38 +0000)]
s/p_cred->pc_ucred/p_ucred/g

24 years agoDocument new feature (support for write(2) when 1 hook attached).
julian [Sun, 21 Nov 1999 12:03:00 +0000 (12:03 +0000)]
Document new feature (support for write(2) when 1 hook attached).

24 years agoFixes from brian. With some changes from me.
julian [Sun, 21 Nov 1999 10:43:05 +0000 (10:43 +0000)]
Fixes from brian. With some changes from me.
Allows FreeBSD to run as a PPPOE server
One patch still not included.

24 years agoFix the entry for the NetGear FA410TX, which appears to have been committed
msmith [Sun, 21 Nov 1999 09:48:15 +0000 (09:48 +0000)]
Fix the entry for the NetGear FA410TX, which appears to have been committed
untested (invalid syntax, and config index 0x1 does not appear to exist in
the card as it currently ships).

24 years agoApply a bandaid to the grep Makefile to try and get it to compile and stop
peter [Sun, 21 Nov 1999 09:44:26 +0000 (09:44 +0000)]
Apply a bandaid to the grep Makefile to try and get it to compile and stop
breaking world.

24 years ago Add rpc.umntall utility, to be used by startup and shutdown scripts
dillon [Sun, 21 Nov 1999 08:06:00 +0000 (08:06 +0000)]
Add rpc.umntall utility, to be used by startup and shutdown scripts
    to replace (broken) umntall signal code previously in mountd.

Submitted by: Martin Blapp <mb@imp.ch>

24 years agoIf vfs_mountroot_try() isn't given a path to try mounting, return a silent
msmith [Sun, 21 Nov 1999 08:05:50 +0000 (08:05 +0000)]
If vfs_mountroot_try() isn't given a path to try mounting, return a silent
error rather than complaining about it verbosely.  No path is not really
a failure, but the diagnostic was confusing and unuseful.

24 years agoTempt fate and stop index from converting a const char * into a char *.
peter [Sun, 21 Nov 1999 04:26:48 +0000 (04:26 +0000)]
Tempt fate and stop index from converting a const char * into a char *.
I've made a seperate version (c_index() etc) that use const/const, but
I'm not sure it's worth it considering there is one file in the tree
that uses index on const strings (kern_linker.c) and it's easily adjusted
to scan the strings directly (and is perhaps more efficient that way).

24 years agodocument new ISP config options
mjacob [Sun, 21 Nov 1999 03:27:29 +0000 (03:27 +0000)]
document new ISP config options

24 years agoClean up stupidity in the isp_handle_other_response function- indexes
mjacob [Sun, 21 Nov 1999 03:18:22 +0000 (03:18 +0000)]
Clean up stupidity in the isp_handle_other_response function- indexes
of queue entries have to be at least 16 bits now! If we're running
a 2100 less than rev 5, turn off loop fairness (per Qlogic errata). Fix
typo in checking against 2200 F/W revision. Slightly fix/reorder fabric
login stuff. Change to usage of isp_getrqentry for code clarity. Add some
defensive dual bus assumptions. Various cleanups, etc...

24 years agoAdd storage/access for a default WWN. A miscellaneous tweak or two.
mjacob [Sun, 21 Nov 1999 03:15:11 +0000 (03:15 +0000)]
Add storage/access for a default WWN. A miscellaneous tweak or two.

24 years agoAdd a isp_getrqentry inline function (that is, find the next available
mjacob [Sun, 21 Nov 1999 03:14:04 +0000 (03:14 +0000)]
Add a isp_getrqentry inline function (that is, find the next available
request queue entry if any are left).

24 years agoFix some includes for when we (eventually) get target mode working again.
mjacob [Sun, 21 Nov 1999 03:12:58 +0000 (03:12 +0000)]
Fix some includes for when we (eventually) get target mode working again.
Role the core version minor number. Change the arguments to the dma
setup function to use a u_int16_t for the output request loop pointer
(truly amazing that this hasn't blown up in anyones face so far). Do
some shuffling around of some items.

24 years agoPut *back* the f/w, this time with a BSD style licence as approved
mjacob [Sun, 21 Nov 1999 03:08:29 +0000 (03:08 +0000)]
Put *back* the f/w, this time with a BSD style licence as approved
by Qlogic. The firmware is now also kept from compiling by default
unless some config options are set.

While we're at it, roll the 2200 f/w to 2.01.0. Still need to get the
1.17.26 2100 f/w working as it solves a lot of problems but it doesn't
want to work yet with this driver (:-)).

24 years agoAdd in new Qlogic isp config options:
mjacob [Sun, 21 Nov 1999 03:00:19 +0000 (03:00 +0000)]
Add in new Qlogic isp config options:

ISP_COMPILE_1020_FW compile in Qlogic 1020/1040 PCI SCSI f/w
ISP_COMPILE_1080_FW compile in Qlogic 1080/1240/1280 PCI LVD SCSI f/w
ISP_COMPILE_2100_FW compile in Qlogic 2100 Fibre Channel f/w
ISP_COMPILE_2200_FW compile in Qlogic 2200 Fibre Channel f/w
ISP_COMPILE_FW compile in all firmware (overrides the others)

These are not on by default, thus saving about 200KBytes.

Additionally:

SCSI_ISP_WWN            to define a WWN to use

24 years agoFix dmasetup functions to have 16 bit queue indices. Get the chip revision
mjacob [Sun, 21 Nov 1999 02:56:17 +0000 (02:56 +0000)]
Fix dmasetup functions to have 16 bit queue indices. Get the chip revision
out of the PCI CLASS reg and store it in the softc. Use the getenv_quad
function to get a WWN override from the environment. Look for a config
value for same. Make slightly less lame the wwn seed construction.

24 years agoRevert peter's commit to remove cdevsw_add() - it was a bit premature
jkh [Sun, 21 Nov 1999 02:54:54 +0000 (02:54 +0000)]
Revert peter's commit to remove cdevsw_add() - it was a bit premature
since things fail to function properly without it (pty allocation becomes
somewhat haphazard).

24 years agoSpell command names correctly. Even when they appear at the beginning
obrien [Sun, 21 Nov 1999 02:00:16 +0000 (02:00 +0000)]
Spell command names correctly.  Even when they appear at the beginning
of a sentence.

24 years agoMerge FreeBSD changes into 2.3:
obrien [Sun, 21 Nov 1999 01:55:21 +0000 (01:55 +0000)]
Merge FreeBSD changes into 2.3:
* revs 1.5-6 - added builtin decompression using zlib library, option -Z.

Submitted by: ru

24 years agoMerge FreeBSD changes into 2.3:
obrien [Sun, 21 Nov 1999 01:15:40 +0000 (01:15 +0000)]
Merge FreeBSD changes into 2.3:
* rev 1.2 - use -lgnuregex

FreeBSD changes OBE'ed by 2.3:
* revs 1.4-5 - icase searches & ctype macro changes, fuctionality moved
               elsewhere.
* rev 1.3 - Remove trailing whitespace.  The GNU Grep maintainers did this
            for us.

Submitted by: ru

24 years agoAlias -R to -r for backward compatibility.
obrien [Sun, 21 Nov 1999 01:09:03 +0000 (01:09 +0000)]
Alias -R to -r for backward compatibility.

Submitted by: ru
Requested by: wosch

24 years agoSet default matcher from argv[0].
obrien [Sun, 21 Nov 1999 01:02:48 +0000 (01:02 +0000)]
Set default matcher from argv[0].

Merge FreeBSD changes into 2.3:
* revs 1.9-10 - built-in decompression using zlib(3) library

FreeBSD changes OBE'ed by 2.3:
* rev 1.7 - our "-q" flag.  Use "-L" or "-l" now.
* revs 1.{4,6} - colleate, and with correct LC_ type.
* rev 1.3 - remove trailing whitespace.

Submitted by: ru

24 years agos/Brige/Bridge/.
kuriyama [Sun, 21 Nov 1999 00:53:23 +0000 (00:53 +0000)]
s/Brige/Bridge/.

24 years agoThis is the stock 2.3 file (+ FreeBSD id). Since someone added 2.0 rather
obrien [Sat, 20 Nov 1999 23:42:44 +0000 (23:42 +0000)]
This is the stock 2.3 file (+ FreeBSD id).  Since someone added 2.0 rather
than vendor importing the virgin 2.0 sources, we have to manually put this
on the HEAD branch.

24 years agoThis is the stock 2.3 file (+ FreeBSD id). Since someone majorly SPAMMED
obrien [Sat, 20 Nov 1999 23:41:24 +0000 (23:41 +0000)]
This is the stock 2.3 file (+ FreeBSD id).  Since someone majorly SPAMMED
the repository by NOT vendor importing the virgin 2.0 sources, CVS had no
idea what to do here.

24 years agoThis is the stock 2.3 file (+ FreeBSD id). Since someone majorly SPAMMED
obrien [Sat, 20 Nov 1999 23:16:11 +0000 (23:16 +0000)]
This is the stock 2.3 file (+ FreeBSD id).  Since someone majorly SPAMMED
the repository by NOT vendor importing the virgin 2.0 sources, CVS had no
idea what to do here.

24 years agoMerge FreeBSD changes into 2.3:
obrien [Sat, 20 Nov 1999 23:09:17 +0000 (23:09 +0000)]
Merge FreeBSD changes into 2.3:
* rev 1.5 - use collate for alpha character ranges
* rev 1.3 - use -lgnuregex

Submitted by: ru

24 years agoTeach the md driver to use preloaded files of type "md_image".
phk [Sat, 20 Nov 1999 22:43:27 +0000 (22:43 +0000)]
Teach the md driver to use preloaded files of type "md_image".

24 years agoThis commit was generated by cvs2svn to compensate for changes in r53469,
obrien [Sat, 20 Nov 1999 18:37:42 +0000 (18:37 +0000)]
This commit was generated by cvs2svn to compensate for changes in r53469,
which included commits to RCS files with non-trunk default branches.

24 years agoVirgin import of a trimmed down GNU Grep 2.3.
obrien [Sat, 20 Nov 1999 18:37:42 +0000 (18:37 +0000)]
Virgin import of a trimmed down GNU Grep 2.3.

It is being re-imported here, to keep our long source change history with
this source continuous.
src/contrib/grep will be deleted some time in the very near future.

24 years agoMinor tweak: the subsystem device ID code for the quad port 62044 card
wpaul [Sat, 20 Nov 1999 18:29:44 +0000 (18:29 +0000)]
Minor tweak: the subsystem device ID code for the quad port 62044 card
is documented to be 0x18 in the Adaptec manual, however there appears to
be a newer board rev with code 0x19. I added a #define for this and
updated the probe code so that this board will be properly identified
in the probe messages. (Currently it's just identified generically as
an AIC-6915 chip.)

24 years agoA process should be able to examine itself.
sef [Sat, 20 Nov 1999 18:22:14 +0000 (18:22 +0000)]
A process should be able to examine itself.

24 years agochanges for the new location of pcm
cg [Sat, 20 Nov 1999 18:11:40 +0000 (18:11 +0000)]
changes for the new location of pcm

24 years agorepo-copied to make way for newmidi, this commit updates include paths
cg [Sat, 20 Nov 1999 16:50:33 +0000 (16:50 +0000)]
repo-copied to make way for newmidi, this commit updates include paths

24 years agoWe do not have ffs_checkexp, so remove the prototype
eivind [Sat, 20 Nov 1999 16:44:44 +0000 (16:44 +0000)]
We do not have ffs_checkexp, so remove the prototype

24 years agoFix VOP_MKNOD for loss of WILLRELE. I don't know how I could have missed
eivind [Sat, 20 Nov 1999 16:09:10 +0000 (16:09 +0000)]
Fix VOP_MKNOD for loss of WILLRELE.   I don't know how I could have missed
this in the first place :-(

Noticed by: bde

24 years agoGenerate skel.c at build time.
dt [Sat, 20 Nov 1999 15:41:43 +0000 (15:41 +0000)]
Generate skel.c at build time.

24 years agoAllow NULL for startp and/or countp in bus_get_resource() so that you can
peter [Sat, 20 Nov 1999 14:56:55 +0000 (14:56 +0000)]
Allow NULL for startp and/or countp in bus_get_resource() so that you can
get one of the two without having to use a dummy variable.

24 years agoAdd (FILE *) locking.
dt [Sat, 20 Nov 1999 14:52:03 +0000 (14:52 +0000)]
Add (FILE *) locking.

24 years agoMake __sfp() (FILE allocator) thread-safe: added locking like in malloc().
dt [Sat, 20 Nov 1999 14:01:48 +0000 (14:01 +0000)]
Make __sfp() (FILE allocator) thread-safe: added locking like in malloc().

24 years agoGet rid of calls to vfinddev() by ripping out code for vnode type
phk [Sat, 20 Nov 1999 13:18:24 +0000 (13:18 +0000)]
Get rid of calls to vfinddev() by ripping out code for vnode type
which has already been disabled.

24 years agoGet rid of calls to vfinddev() by doing like specfs.
phk [Sat, 20 Nov 1999 13:18:04 +0000 (13:18 +0000)]
Get rid of calls to vfinddev() by doing like specfs.

24 years agoDon't compile NETGRAPH out of ppp for the release crunch
brian [Sat, 20 Nov 1999 10:55:27 +0000 (10:55 +0000)]
Don't compile NETGRAPH out of ppp for the release crunch

24 years agoAdd options NETGRAPH, NETGRAPH_PPPOE and NETGRAPH_SOCKET
brian [Sat, 20 Nov 1999 10:54:57 +0000 (10:54 +0000)]
Add options NETGRAPH, NETGRAPH_PPPOE and NETGRAPH_SOCKET
to the release kernel.

24 years agostruct mountlist and struct mount.mnt_list have no business being
phk [Sat, 20 Nov 1999 10:00:46 +0000 (10:00 +0000)]
struct mountlist and struct mount.mnt_list have no business being
a CIRCLEQ.  Change them to TAILQ_HEAD and TAILQ_ENTRY respectively.

This removes ugly  mp != (void*)&mountlist  comparisons.

Requested by:   phk
Submitted by:   Jake Burkholder jake@checker.org
PR:             14967

24 years agoBack out the botched attempt to update to gnu grep 2.3 (lots of history
peter [Sat, 20 Nov 1999 09:40:28 +0000 (09:40 +0000)]
Back out the botched attempt to update to gnu grep 2.3 (lots of history
was lost).  Restore original version to try and avoid breaking the build
while David O'brien does a proper set of imports and merges.

Requested by: obrien

24 years agoI forgot to remove the "NCARD == 0" hacks that kept this driver
mdodd [Sat, 20 Nov 1999 09:28:01 +0000 (09:28 +0000)]
I forgot to remove the "NCARD == 0" hacks that kept this driver
from blowing up on PCMCIA systems.  The hack isn't needed anymore.

Reminded by: Blaz Zupan <blaz@gold.amis.net>

24 years agoLatest incremental efforts on newcard:
imp [Sat, 20 Nov 1999 07:23:28 +0000 (07:23 +0000)]
Latest incremental efforts on newcard:

o Delete pcic1 from NEWCARD
o Add explicit resource hints to pcic0
o Get attach working with newbus, kinda (it does all the newbus stuff,
  but doesn't try to attach the pccard yet, too many panics).
o Disable ie0 and le0 in NEWCARD config.  There appears to be a bug in
  the isa_compat code wrt memory conflicts with newbus drivers for
  reasons unknown.
o Minor cleanups.

24 years agoKill unneeded #includes. They were left over from the short period of
imp [Sat, 20 Nov 1999 05:16:14 +0000 (05:16 +0000)]
Kill unneeded #includes.  They were left over from the short period of
time when a strcmp against the device name was required.  Sio patches
sent to peter for review.

24 years agoKill unneeded includes
imp [Sat, 20 Nov 1999 05:02:00 +0000 (05:02 +0000)]
Kill unneeded includes

Found by phk's script a while ago.

24 years agoVnode was left referenced in the case if ELF image is broken.
bp [Sat, 20 Nov 1999 03:03:14 +0000 (03:03 +0000)]
Vnode was left referenced in the case if ELF image is broken.

Reviewed by: Peter Wemm <peter@netplex.com.au>

24 years agomkstemps() has been brought into 3-STABLE, so this isn't needed here
obrien [Sat, 20 Nov 1999 00:32:05 +0000 (00:32 +0000)]
mkstemps() has been brought into 3-STABLE, so this isn't needed here
anymore as building -CURRENT sources on 3-STABLE was the reason for the
previous revision adding this.

Note that since the GCC Project moved mkstemp.c from GCC's world to
libiberty, we no longer support building -CURRENT sources on non-FreeBSD
boxes unless that box has a very simular libc mix as FreeBSD.

24 years agoRemove the `sysctl' get osversion hack. There are issues with cross-hosting
obrien [Sat, 20 Nov 1999 00:28:03 +0000 (00:28 +0000)]
Remove the `sysctl' get osversion hack.  There are issues with cross-hosting
builds, Also, `sysctl' is not a build-tool and I'd rather not make it one.
3-STABLE has been updated to deal with the main reason this came in.

24 years agoFix HISTORY - the copyright header on the file of the GCC version was
obrien [Sat, 20 Nov 1999 00:15:17 +0000 (00:15 +0000)]
Fix HISTORY - the copyright header on the file of the GCC version was
misleading.

Submitted by: Theo de Raadt <deraadt@cvs.openbsd.org>

24 years agoConditionalise unwanted chattyness.
jkh [Fri, 19 Nov 1999 23:34:01 +0000 (23:34 +0000)]
Conditionalise unwanted chattyness.

24 years agoUpdate the time delta of the first item in TimerList before
brian [Fri, 19 Nov 1999 23:21:13 +0000 (23:21 +0000)]
Update the time delta of the first item in TimerList before
inserting a new item.  Without this, it's possible to
mis-insert quite badly... but only by as much as the load of
the first item, which is almost always 1 second.

Initialise the timerservice with `restart' set if we're inserting
at the start of the list.

24 years ago Optimize two cases in the MP locking code. First, it is not necessary
dillon [Fri, 19 Nov 1999 22:47:19 +0000 (22:47 +0000)]
  Optimize two cases in the MP locking code.  First, it is not necessary
      to use a locked cmpexg when unlocking a lock that we already hold, since
      nobody else can touch the lock while we hold it.  Second, it is not
      necessary to use a locked cmpexg when locking a lock that we already
      hold, for the same reason.  These changes will allow MP locks to be used
      recursively without impacting performance.

      Modify two procedures that are called only by assembly and are already
      NOPROF entries to pass a critical argument in %edx instead of on the
      stack, removing a significant amount of code from the critical path
      as a consequence.

Reviewed by: Alfred Perlstein <bright@wintelcom.net>, Peter Wemm <peter@netplex.com.au>

24 years agoUse LIST_FOREACH to traverse the allproc list.
phk [Fri, 19 Nov 1999 21:34:50 +0000 (21:34 +0000)]
Use LIST_FOREACH to traverse the allproc list.

Submitted by:   Jake Burkholder jake@checker.org

24 years agoThe at_exit and at_fork functions currently use a 'roll your own'
phk [Fri, 19 Nov 1999 21:29:03 +0000 (21:29 +0000)]
The at_exit and at_fork functions currently use a 'roll your own'
linked list to store the callbak routines.  The patch converts the
lists to queue(3) TAILQs, making the code slightly clearer and ensuring
that callbacks are executed in FIFO order.

Man page also updated as necesary.

(discontinued use of M_TEMP malloc type while here anyway /phk)

Submitted by:   Jake Burkholder jake@checker.org
PR:             14912