]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
25 years agoDo the right thing for windowmaker installation if it's picked. Add some
jkh [Wed, 28 Apr 1999 06:39:25 +0000 (06:39 +0000)]
Do the right thing for windowmaker installation if it's picked.  Add some
seat belts for failed desktop installations.

25 years agoAdd two recent developments:
imp [Wed, 28 Apr 1999 05:18:46 +0000 (05:18 +0000)]
Add two recent developments:
pccard is busted
The cool new SMP stuff

25 years agoCorrect reference to '/dev/rst0' to the more correct "/dev/rsa0".
jkoshy [Wed, 28 Apr 1999 05:08:13 +0000 (05:08 +0000)]
Correct reference to '/dev/rst0' to the more correct "/dev/rsa0".

PR: 11347
Submitted by: Christian Weisgerber

25 years agoExplain when packets are tesed by the firewall rules and what attributes
ghelmer [Wed, 28 Apr 1999 02:49:29 +0000 (02:49 +0000)]
Explain when packets are tesed by the firewall rules and what attributes
of packets can be tested.

PR: docs/7437

25 years agoMake gdb work with kernel after the SMP vmspace sharing changes.
luoqi [Wed, 28 Apr 1999 01:27:55 +0000 (01:27 +0000)]
Make gdb work with kernel after the SMP vmspace sharing changes.

25 years agoAllow loadable interface drivers with BPF support to be loaded into a kernel
msmith [Wed, 28 Apr 1999 01:18:13 +0000 (01:18 +0000)]
Allow loadable interface drivers with BPF support to be loaded into a kernel
that doesn't have it.  This is achieved by having minimal do-nothing stubs
enabled when there are no bpfilter devices configured.

Driver modules should be built with BPF enabled for maximum
convenience (but can be built without it for maximum performance).

25 years agoEnable vmspace sharing on SMP. Major changes are,
luoqi [Wed, 28 Apr 1999 01:04:33 +0000 (01:04 +0000)]
Enable vmspace sharing on SMP. Major changes are,
- %fs register is added to trapframe and saved/restored upon kernel entry/exit.
- Per-cpu pages are no longer mapped at the same virtual address.
- Each cpu now has a separate gdt selector table. A new segment selector
  is added to point to per-cpu pages, per-cpu global variables are now
  accessed through this new selector (%fs). The selectors in gdt table are
  rearranged for cache line optimization.
- fask_vfork is now on as default for both UP and SMP.
- Some aio code cleanup.

Reviewed by: Alan Cox <alc@cs.rice.edu>
John Dyson <dyson@iquest.net>
Julian Elischer <julian@whistel.com>
Bruce Evans <bde@zeta.org.au>
David Greenman <dg@root.com>

25 years ago.Xr chflags 1 ,
hoek [Tue, 27 Apr 1999 23:33:52 +0000 (23:33 +0000)]
.Xr chflags 1 ,

25 years agoSimplify the tunefs example, since tunefs uses getfsfile(). Lots of
msmith [Tue, 27 Apr 1999 21:11:19 +0000 (21:11 +0000)]
Simplify the tunefs example, since tunefs uses getfsfile().  Lots of
people complain about working out what device their filesystems are
mounted on.

25 years agoSimplify the definition of FBSD_SWITCH_TAKES_ARG, and make sure
obrien [Tue, 27 Apr 1999 19:29:44 +0000 (19:29 +0000)]
Simplify the definition of FBSD_SWITCH_TAKES_ARG, and make sure
SWITCH_TAKES_ARG isn't defined (which svr4.h does) when we assign our
definition to it.

25 years agoEliminate compiler warning about missing type in declaration.
jdp [Tue, 27 Apr 1999 18:47:39 +0000 (18:47 +0000)]
Eliminate compiler warning about missing type in declaration.

Remove useless initialization of static variable to 0.

Move static variable declaration into the only function that uses
it.

25 years agoFix the code that prints the "Initializing PC-card drivers" message
jdp [Tue, 27 Apr 1999 18:34:13 +0000 (18:34 +0000)]
Fix the code that prints the "Initializing PC-card drivers" message
so that the list of drivers is correct.  This is a slightly
simplified version of the patch from the PR.

PR: misc/10544
Submitted by: Christophe Colle <colle@krtkg1.rug.ac.be>

25 years agoWait until EGCS 1.2 to use more efficient ``thunks'' to implement C++ vtables.
obrien [Tue, 27 Apr 1999 15:43:56 +0000 (15:43 +0000)]
Wait until EGCS 1.2 to use more efficient ``thunks'' to implement C++ vtables.
While I have yet to hear of any problems with us using thunks.  The EGCS
mailing list notes some have problems with it and not using them are a
safer default.  People wanting to use them, can set the appropiate
compiler flag.

25 years agoo Make package matching for specific package loading use the Latest/
jkh [Tue, 27 Apr 1999 14:33:29 +0000 (14:33 +0000)]
o Make package matching for specific package loading use the Latest/
  feature of packages now so that no version info is embedded.

o Add a default X desktop menu offering afterstep, enlightenment, KDE, GNOME
  and Windowmaker desktops instead of the boring twm(1) based one if the
  user so chooses.  This will require a little testing.

25 years agoChange suser_xxx() to suser() where it applies.
phk [Tue, 27 Apr 1999 12:21:16 +0000 (12:21 +0000)]
Change suser_xxx() to suser() where it applies.

25 years ago1. Remove the hateful EDITOR=ee from root's environment; it's one
jkh [Tue, 27 Apr 1999 11:55:02 +0000 (11:55 +0000)]
1. Remove the hateful EDITOR=ee from root's environment; it's one
   thing to use it at startup, when you don't know if the user can
   handle vi or not, but yet another thing to leave it as a permanent
   land mine for root.

2. Put /usr/X11R6/bin in path; it makes getting the desktop up a lot easier.

25 years agobump __FreeBSD_version to 400005:
phk [Tue, 27 Apr 1999 11:20:54 +0000 (11:20 +0000)]
bump __FreeBSD_version to 400005:

suser() API changed.

25 years agoSuser() simplification:
phk [Tue, 27 Apr 1999 11:18:52 +0000 (11:18 +0000)]
Suser() simplification:

1:
  s/suser/suser_xxx/

2:
  Add new function: suser(struct proc *), prototyped in <sys/proc.h>.

3:
  s/suser_xxx(\([a-zA-Z0-9_]*\)->p_ucred, \&\1->p_acflag)/suser(\1)/

The remaining suser_xxx() calls will be scrutinized and dealt with
later.

There may be some unneeded #include <sys/cred.h>, but they are left
as an exercise for Bruce.

More changes to the suser() API will come along with the "jail" code.

25 years agolpd tries to be clever and checks if RM == my_hostname.
jkh [Tue, 27 Apr 1999 07:09:18 +0000 (07:09 +0000)]
lpd tries to be clever and checks if RM == my_hostname.
However, it doesn't check if the remote printer name it
is sending it to is the same as the local printer name,
and so chokes 'cos "laser" is not a real printer.

PR: 7081
Submitted by: David Malone <dwmalone@maths.tcd.ie>

25 years agoecho ^G^G -> echo \007\007 in loader.rc in kern.flp.
max [Tue, 27 Apr 1999 05:09:43 +0000 (05:09 +0000)]
echo ^G^G -> echo \007\007 in loader.rc in kern.flp.

25 years agoMention that set-id bits are not honoured for shell scripts and
hoek [Tue, 27 Apr 1999 03:56:10 +0000 (03:56 +0000)]
Mention that set-id bits are not honoured for shell scripts and
filesystems with the "nosuid" option.  Mention that syscall tracing
is disabled sometimes.

PR: misc/11328

25 years agoIf pkg_info is run with no args, default to "-aI".
jkh [Tue, 27 Apr 1999 02:30:27 +0000 (02:30 +0000)]
If pkg_info is run with no args, default to "-aI".

25 years agoMake options like NO_F00F_HACK work (with context sensitive lexical rules).
luoqi [Tue, 27 Apr 1999 01:37:01 +0000 (01:37 +0000)]
Make options like NO_F00F_HACK work (with context sensitive lexical rules).

25 years agoSpecify the ssh command to use for a VPN inline.
brian [Tue, 27 Apr 1999 00:25:22 +0000 (00:25 +0000)]
Specify the ssh command to use for a VPN inline.

25 years agoChange ``set device'' so that it parses its arguments as one
brian [Tue, 27 Apr 1999 00:23:57 +0000 (00:23 +0000)]
Change ``set device'' so that it parses its arguments as one
device per argument rather than the old way of concatenating
everything then splitting the result at commas and whitespace.

Old syntax of ``set device /dev/cuaa0, /dev/cuaa1''
may no longer contain the comma, but syntax such as
``set device "!ssh host ppp -direct label"'' is now
possible.

25 years agoFix from Justin for transfer negotiations for targets up to target ID 7.
ken [Mon, 26 Apr 1999 22:03:44 +0000 (22:03 +0000)]
Fix from Justin for transfer negotiations for targets up to target ID 7.

25 years agoAdd support for printing bridging statistics with ``-p bdg '' .
luigi [Mon, 26 Apr 1999 16:11:50 +0000 (16:11 +0000)]
Add support for printing bridging statistics with ``-p bdg '' .
If someone has a better flag to use I'll be glad to change it.

25 years agoMake one pass through the firewall the default.
luigi [Mon, 26 Apr 1999 14:57:24 +0000 (14:57 +0000)]
Make one pass through the firewall the default.
Multiple pass (which only affects dummynet) is too confusing.

25 years agoMove an option outside of a nested list and up a bit to live free among
kris [Mon, 26 Apr 1999 14:08:04 +0000 (14:08 +0000)]
Move an option outside of a nested list and up a bit to live free among
its brothers and sisters.

25 years agoOnly call kvtop on non-null id_maddr's...
peter [Mon, 26 Apr 1999 12:49:39 +0000 (12:49 +0000)]
Only call kvtop on non-null id_maddr's...

25 years agoTemporary hack. The radix code shouldn't need this, it should be
peter [Mon, 26 Apr 1999 09:05:31 +0000 (09:05 +0000)]
Temporary hack.  The radix code shouldn't need this, it should be
able to expand the zeros, ones etc masks on the fly.  It seems a good
number of domains don't set the rn_maxkey variable anyway, and because
this is a domain itself, there is no guarantee we've been called after
a protocol that actually has set it (ie: inet), so start with a maxkey
of a relatively sane size as a base point until it can adapt on the fly.

25 years agoProtect the ifinit() function's internals with splimp() for safety since
peter [Mon, 26 Apr 1999 09:02:40 +0000 (09:02 +0000)]
Protect the ifinit() function's internals with splimp() for safety since
it used to be that way. I'm not sure that it's needed, but it does
walk the ifp list..

Incidently, there's nothing to sanity check the ifq_maxlen on loaded
interfaces..

25 years agoMinor seatbelt tweak. The init code used to be splimp() protected,
peter [Mon, 26 Apr 1999 09:00:47 +0000 (09:00 +0000)]
Minor seatbelt tweak.  The init code used to be splimp() protected,
maintain that in case.

25 years agoRegister the netisr's via SYSINIT rather than linker sets.
peter [Mon, 26 Apr 1999 08:57:51 +0000 (08:57 +0000)]
Register the netisr's via SYSINIT rather than linker sets.

25 years agoRegister the local (unix domain) sockets ourselves.
peter [Mon, 26 Apr 1999 08:56:53 +0000 (08:56 +0000)]
Register the local (unix domain) sockets ourselves.

25 years agoRedo domain registration to use SYSINITS rather than linker sets.
peter [Mon, 26 Apr 1999 08:56:09 +0000 (08:56 +0000)]
Redo domain registration to use SYSINITS rather than linker sets.
Get rid of the spl wrapper kludge, it doesn't seem to be needed between
init calls since all that's running is the domain/protocol timers and they
are safe since domain list modifications are splnet() protected (which
blocks the timers)

25 years agoAdd support for NetBSD
brian [Mon, 26 Apr 1999 08:54:34 +0000 (08:54 +0000)]
Add support for NetBSD

25 years ago#include <errno.h>, not <sys/errno.h>
brian [Mon, 26 Apr 1999 08:54:25 +0000 (08:54 +0000)]
#include <errno.h>, not <sys/errno.h>

25 years agoAdd support for NetBSD (history() from libedit is different).
brian [Mon, 26 Apr 1999 08:53:52 +0000 (08:53 +0000)]
Add support for NetBSD (history() from libedit is different).

25 years agoMake DOMAIN_SET() use SYSINIT rather than linker sets.
peter [Mon, 26 Apr 1999 08:53:03 +0000 (08:53 +0000)]
Make DOMAIN_SET() use SYSINIT rather than linker sets.

25 years agoMake NETISR_SET use a SYSINIT() rather than a linker set.
peter [Mon, 26 Apr 1999 08:52:16 +0000 (08:52 +0000)]
Make NETISR_SET use a SYSINIT() rather than a linker set.

25 years agoMore egcs warning fixes:
imp [Sun, 25 Apr 1999 22:37:58 +0000 (22:37 +0000)]
More egcs warning fixes:
o main returns int not void
o use return 0 at end of main when needed
o use braces to avoid potentially ambiguous else
o don't default to type int
o #ifdef 0 -> #if 0

Reviewed by: obrien and chuckr

25 years agoMore egcs warning fixes:
imp [Sun, 25 Apr 1999 22:33:30 +0000 (22:33 +0000)]
More egcs warning fixes:
o main returns int not void
o use braces to avoid potentially ambiguous else

Note: The fix to natd is potentially functional in nature since I used
the indentation as the right thing rather than the struct semantics.
Someone more familiar with the code should double check me on this one.

Reviewed by: obrien and chuckr

25 years agoMore egcs warning fixes:
imp [Sun, 25 Apr 1999 22:29:30 +0000 (22:29 +0000)]
More egcs warning fixes:
o use braces to avoid potentially ambiguous else
o don't default to type int (and also remove a useless register
  modifier).
o Use parens around assignment values used as truth values.
o Remove unused function.

Reviewed by: obrien and chuckr

25 years agoMore egcs warning fixes:
imp [Sun, 25 Apr 1999 22:23:38 +0000 (22:23 +0000)]
More egcs warning fixes:
o main returns int not void
o use return 0 at end of main when needed
o use braces to avoid potentially ambiguous else
o don't default to type int (and also remove a useless register
  modifier).

Reviewed by: obrien and chuckr

25 years agoUse braces to avoid potentially ambiguous else clause.
imp [Sun, 25 Apr 1999 22:14:06 +0000 (22:14 +0000)]
Use braces to avoid potentially ambiguous else clause.
main's return type is int not void.

Reviewed by: obrien and chuckr

25 years agoFix a very long standing bug in run_interrupt_driven_config_hooks(). It
peter [Sun, 25 Apr 1999 22:13:34 +0000 (22:13 +0000)]
Fix a very long standing bug in run_interrupt_driven_config_hooks().  It
was fetching the next pointer from memory that could have been free()'d.

25 years agoMake man page reflect reality on parsing rules. Now I know Jordan
dcs [Sun, 25 Apr 1999 21:41:09 +0000 (21:41 +0000)]
Make man page reflect reality on parsing rules. Now I know Jordan
never read this man page... :-)

25 years agoFirst set of fixes to keep egcs happy. These include {} around single
imp [Sun, 25 Apr 1999 21:13:34 +0000 (21:13 +0000)]
First set of fixes to keep egcs happy.  These include {} around single
statement if blocks[*] when the else could be ambiguous, not defaulting
to int type and removal of some unused variables.

[*] This is explicitly allowed by style(9) when the single statement
spans more than one line.

Reviewed by: obrien, chuckr

25 years agopmap_dispose_proc and pmap_copy_page:
alc [Sun, 25 Apr 1999 18:40:05 +0000 (18:40 +0000)]
pmap_dispose_proc and pmap_copy_page:
Conditionally compile 386-specific code.

pmap_enter:
Eliminate unnecessary TLB shootdowns.

pmap_zero_page and pmap_zero_page_area:
Use invltlb_1pg instead of duplicating the code.

25 years agoRevert previous commit. It broke 'make world' with NOSHARED=yes because
steve [Sun, 25 Apr 1999 17:53:36 +0000 (17:53 +0000)]
Revert previous commit.  It broke 'make world' with NOSHARED=yes because
it was using the wrong library.

Submitted by: bde

25 years agouse `target' macro crafted in parent Makefile rather than making our own
obrien [Sun, 25 Apr 1999 17:23:28 +0000 (17:23 +0000)]
use `target' macro crafted in parent Makefile rather than making our own

Submitted by: Warner Losh

25 years agoHookup FORTRAN info docs.
obrien [Sun, 25 Apr 1999 17:09:48 +0000 (17:09 +0000)]
Hookup FORTRAN info docs.

Submitted by: Mark Murry

25 years agoTypo
wosch [Sun, 25 Apr 1999 17:08:50 +0000 (17:08 +0000)]
Typo

PR: docs/11259
Submitted by:  mzaki@e-mail.ne.jp

25 years agoRemove several explicit rules. The two for exceptioni.o and typeionfoi.o
obrien [Sun, 25 Apr 1999 16:59:54 +0000 (16:59 +0000)]
Remove several explicit rules.  The two for exceptioni.o and typeionfoi.o
aren't needed as those files aren't part of libstdc++ any longer.  Another
isn't needed as Cygnus doesn't compile with -frtti.

Noticed by: bde & my initial mispelling of ".So".

25 years agoChange the loader.rc in the boot floppy to:
max [Sun, 25 Apr 1999 16:42:46 +0000 (16:42 +0000)]
Change the loader.rc in the boot floppy to:

1. Enable use of serial console for installation by using autoboot
  instead of boot.

2. Beep when the mfs root floppy needs to be placed in the fdd.

3. Beep again when mfs root image is loaded and the loader waits
  for ten seconds before it starts booting for any input.  (Serial
  console users can say " boot -h" here.)

25 years agoTypo in comment.
kris [Sun, 25 Apr 1999 13:14:36 +0000 (13:14 +0000)]
Typo in comment.

25 years agoReverted some more of rev.1.9 (emphasize that -H != -h).
bde [Sun, 25 Apr 1999 11:58:25 +0000 (11:58 +0000)]
Reverted some more of rev.1.9 (emphasize that -H != -h).

25 years agoAdded used include.
dt [Sun, 25 Apr 1999 10:45:59 +0000 (10:45 +0000)]
Added used include.

25 years agoQuick fix to allow transfer files >2GB.
dt [Sun, 25 Apr 1999 10:36:00 +0000 (10:36 +0000)]
Quick fix to allow transfer files >2GB.

25 years agoAdd an entry for the Xircom GlobalACCESS modem
brian [Sun, 25 Apr 1999 10:27:22 +0000 (10:27 +0000)]
Add an entry for the Xircom GlobalACCESS modem
PR: 10277
Submitted by: Nathan Ahlstrom <nrahlstr@winternet.com>

25 years agoMake the machdep.i8254_freq and machdep.tsc_freq sysctls modify the
phk [Sun, 25 Apr 1999 09:00:00 +0000 (09:00 +0000)]
Make the machdep.i8254_freq and machdep.tsc_freq sysctls modify the
timecounter as well

Asked for by: bde, jhay

25 years agoAllow multiple opens.
phk [Sun, 25 Apr 1999 08:58:10 +0000 (08:58 +0000)]
Allow multiple opens.

25 years agoUse PCCARD_MODULE() instead of DATA_SET(), the pccard linker set went a
peter [Sun, 25 Apr 1999 07:44:02 +0000 (07:44 +0000)]
Use PCCARD_MODULE() instead of DATA_SET(), the pccard linker set went a
while ago.

25 years agoRe-fixed to start at 1969 per the actual Posix requirement. Also
wes [Sun, 25 Apr 1999 07:28:39 +0000 (07:28 +0000)]
Re-fixed to start at 1969 per the actual Posix requirement.  Also
fixed a typo on the man page.

25 years agoRemove obsolete interrupt labels.
kato [Sun, 25 Apr 1999 05:59:02 +0000 (05:59 +0000)]
Remove obsolete interrupt labels.

25 years agoSync with sys/i386/i386/userconfig.c revision 1.137.
kato [Sun, 25 Apr 1999 04:06:43 +0000 (04:06 +0000)]
Sync with sys/i386/i386/userconfig.c revision 1.137.

25 years agoSync with sys/i386/conf/options.i386 revision 1.112.
kato [Sun, 25 Apr 1999 04:05:31 +0000 (04:05 +0000)]
Sync with sys/i386/conf/options.i386 revision 1.112.

25 years agoSync with sys/i386/conf/Makefile.i386 revision 1.148.
kato [Sun, 25 Apr 1999 04:04:24 +0000 (04:04 +0000)]
Sync with sys/i386/conf/Makefile.i386 revision 1.148.

25 years agoDe-quote.
kato [Sun, 25 Apr 1999 04:03:22 +0000 (04:03 +0000)]
De-quote.

25 years agoSync with sys/boot/i386/loader/Makefile revision 1.34.
kato [Sun, 25 Apr 1999 03:56:44 +0000 (03:56 +0000)]
Sync with sys/boot/i386/loader/Makefile revision 1.34.

25 years agoBring two-digit years up-to-date with POSIX requirements.
wes [Sun, 25 Apr 1999 01:42:18 +0000 (01:42 +0000)]
Bring two-digit years up-to-date with POSIX requirements.
70-00 are intepreted in the 20th century; 01-69 in the
21st century.  (Yes, 2000 is the last year of the 20th
century, not the first year of the 21st.)

Submitted by: Sergey Babkin <babkin@bellatlantic.net>

25 years agoThe fd options changed during new-bus.
peter [Sat, 24 Apr 1999 21:46:56 +0000 (21:46 +0000)]
The fd options changed during new-bus.

25 years agoDe-quote where possible and minor tweaks. depends on a current config(8).
peter [Sat, 24 Apr 1999 21:45:44 +0000 (21:45 +0000)]
De-quote where possible and minor tweaks.  depends on a current config(8).

25 years agoBump configvers; when the updates to generic/lint get committed, the old
peter [Sat, 24 Apr 1999 21:38:50 +0000 (21:38 +0000)]
Bump configvers; when the updates to generic/lint get committed, the old
config has severe indigestion.

25 years agoGoodbye lkm.4
peter [Sat, 24 Apr 1999 21:05:40 +0000 (21:05 +0000)]
Goodbye lkm.4

25 years agoThe infrastructure to build these fellows has been replaced with kld.
peter [Sat, 24 Apr 1999 21:04:04 +0000 (21:04 +0000)]
The infrastructure to build these fellows has been replaced with kld.

25 years agoDrop example lkm tree
peter [Sat, 24 Apr 1999 21:01:21 +0000 (21:01 +0000)]
Drop example lkm tree

25 years agoZap lkm examples, they don't do anything anymore.
peter [Sat, 24 Apr 1999 21:00:29 +0000 (21:00 +0000)]
Zap lkm examples, they don't do anything anymore.

25 years agoSync with rc.i386 - use kldload rather than modload (which never existed
peter [Sat, 24 Apr 1999 20:58:37 +0000 (20:58 +0000)]
Sync with rc.i386 - use kldload rather than modload (which never existed
on the Alpha anyway)

25 years agoZap default creation of /dev/lkm - it doesn't point to anything anymore
peter [Sat, 24 Apr 1999 20:57:39 +0000 (20:57 +0000)]
Zap default creation of /dev/lkm - it doesn't point to anything anymore

25 years agoAdd $Id: $
billf [Sat, 24 Apr 1999 20:26:12 +0000 (20:26 +0000)]
Add $Id: $

25 years agoUse COMPAT_PCI_DRIVER() for registration if it exists. This shouldn't
peter [Sat, 24 Apr 1999 20:24:02 +0000 (20:24 +0000)]
Use COMPAT_PCI_DRIVER() for registration if it exists.  This shouldn't
hurt the driver portability to 3.x too much for where drivers are shared.

25 years ago#if 0 out the pci device list, not that you could do a lot with it. It
peter [Sat, 24 Apr 1999 20:20:37 +0000 (20:20 +0000)]
#if 0 out the pci device list, not that you could do a lot with it.  It
was only looking at old style drivers in the pcidevice_set, which doesn't
exist any more..  Ultimately, the pci and eisa bus drivers will check for
hints for wiring, flags and enable/disable etc as well.

25 years agoUse COMPAT_PCI_DRIVER() for registration if it exists. This shouldn't
peter [Sat, 24 Apr 1999 20:17:05 +0000 (20:17 +0000)]
Use COMPAT_PCI_DRIVER() for registration if it exists.  This shouldn't
hurt the driver portability to 3.x too much for where drivers are shared.

25 years agoReplace the pcidevice_set linker set based configuration mechanism for old
peter [Sat, 24 Apr 1999 19:59:20 +0000 (19:59 +0000)]
Replace the pcidevice_set linker set based configuration mechanism for old
style pci drivers with a simple one-line change to use a module that
registers itself under new-bus and should in theory enable just about all
of the pci drivers to be loadable (kldload and loader(8)) but without
having the impact of converting the APIs yet.

This also fixes the problem of having undefined variables when only
new-style pci drivers are present.

25 years agoZap some #if 0 code for wired PCI devices. This will look quite different
peter [Sat, 24 Apr 1999 19:55:41 +0000 (19:55 +0000)]
Zap some #if 0 code for wired PCI devices.  This will look quite different
under new-bus.

25 years agoMore cleanups, tweaks and features.
peter [Sat, 24 Apr 1999 18:59:19 +0000 (18:59 +0000)]
More cleanups, tweaks and features.
- make this work:   options FOO123=456   *without quotes*
- grumble (but accept) vector xxxintr, and tty/net/bio/cam flags.
- complain if a device is specified twice (eg: 2 x psm0)
- don't require quotes around:  port IO_COM2
- recognize negative numbers.  (ie: options CAM_DEBUG_UNIT=-1)
- GC some more unused stuff (we don't have composite disks from config(8)).
- various other nits (snprintf paranoia etc)

25 years agoFixed printf format errors on alpha.
dt [Sat, 24 Apr 1999 18:50:48 +0000 (18:50 +0000)]
Fixed printf format errors on alpha.

25 years agoAdd missing strings.
phk [Sat, 24 Apr 1999 18:28:24 +0000 (18:28 +0000)]
Add missing strings.

PR: 11285
Submitted by: Chris Costello <chris@calldei.com>
Reviewed by: phk

25 years agotypo in comment
phk [Sat, 24 Apr 1999 18:26:54 +0000 (18:26 +0000)]
typo in comment

PR: 11285
Submitted by: Chris Costello <chris@calldei.com>
Reviewed by: phk

25 years agoso_linger is in seconds, not in 1/HZ
ache [Sat, 24 Apr 1999 18:25:35 +0000 (18:25 +0000)]
so_linger is in seconds, not in 1/HZ

PR: 11252
Submitted by: Martin Kammerhofer <dada@sbox.tu-graz.ac.at>

25 years agoChanged the type of id_port from short into int to avoid wrong
kato [Sat, 24 Apr 1999 18:24:43 +0000 (18:24 +0000)]
Changed the type of id_port from short into int to avoid wrong
conversion from short to unsigned long which is an argument of
bus_alloc_resource.  Since the value -1 is used to indicate no port
reousece, id_port need to be signed (suggested by Doug Rabson and
Peter Wemm.)

25 years agoLite2 bugfixes merge:
ache [Sat, 24 Apr 1999 18:22:34 +0000 (18:22 +0000)]
Lite2 bugfixes merge:
so_linger is in seconds, not in 1/HZ
range checking in SO_*TIMEO was wrong

PR: 11252

25 years agoMinor nit. It is probably still incorrect, but at least don't
dcs [Sat, 24 Apr 1999 18:05:45 +0000 (18:05 +0000)]
Minor nit. It is probably still incorrect, but at least don't
claim to use i386-specific files on alpha...

25 years agoFix a braino in the v_id wraparound code. Give more (current) details
phk [Sat, 24 Apr 1999 17:58:14 +0000 (17:58 +0000)]
Fix a braino in the v_id wraparound code.  Give more (current) details
in comment.

PR: 11307
Spotted by: Ville-Pertti Keinonen <will@iki.fi>

25 years agoMove loader.conf.5, while it is still in it's first revision.
dcs [Sat, 24 Apr 1999 17:49:47 +0000 (17:49 +0000)]
Move loader.conf.5, while it is still in it's first revision.

25 years agoremove uid switching before login_getpwclass, now done inside libutil
ache [Sat, 24 Apr 1999 17:26:32 +0000 (17:26 +0000)]
remove uid switching before login_getpwclass, now done inside libutil
add gid switching before chdir and comment why it needed

25 years agoAdd loader.4th man page (worst man page I ever wrote -- reviews
dcs [Sat, 24 Apr 1999 17:25:35 +0000 (17:25 +0000)]
Add loader.4th man page (worst man page I ever wrote -- reviews
are welcomed). Correct a nasty bug in loader.4th before anyone
notices, add a couple of features.

25 years agooops, add pwd!=NULL check to previous fix
ache [Sat, 24 Apr 1999 17:17:42 +0000 (17:17 +0000)]
oops, add pwd!=NULL check to previous fix