]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
24 years agoUpdate my email address in various places in pkg_version.
Bruce A. Mah [Wed, 23 Aug 2000 17:10:34 +0000 (17:10 +0000)]
Update my email address in various places in pkg_version.

24 years agoMake the following additional entries to RELNOTES.TXT files:
Bruce A. Mah [Wed, 23 Aug 2000 16:40:34 +0000 (16:40 +0000)]
Make the following additional entries to RELNOTES.TXT files:

alpha:  tap driver, accept_filters, ata support for ATA100,
routed update to 2.22, truncate(1), syslogd(8) -n option, kenv(1),
periodic(8) controlled by periodic.conf, logger(1) support for
remote syslogs.

i386:  tap driver, accept_filters, ata support for ATA100,
routed update to 2.22, truncate(1), syslogd(8) -n option, kenv(1),
periodic(8) controlled by periodic.conf, boot98cfg(8),
logger(1) support for remote syslogs.

PR: 20628
Submitted by: bmah@cisco.com (Bruce A. Mah)
Reviewed by: nik

24 years agoAdd weak symbol pragma for crypt_set_format().
Jeroen Ruigrok van der Werven [Wed, 23 Aug 2000 11:54:10 +0000 (11:54 +0000)]
Add weak symbol pragma for crypt_set_format().

Approved by: green

24 years agoGenerate a new evp.h at build-time instead of install-time to properly
Brian Feldman [Wed, 23 Aug 2000 11:41:01 +0000 (11:41 +0000)]
Generate a new evp.h at build-time instead of install-time to properly
support NFS(ro) installworlds.

24 years agoOnly print information about reads and writes when the -v flag (for
Sheldon Hearn [Wed, 23 Aug 2000 09:59:25 +0000 (09:59 +0000)]
Only print information about reads and writes when the -v flag (for
verbose mode) is specified.  This should really have been the case
when this extra cruft was first introduced in rev 1.23.

PR: 20710
Reported by: Mike Meyer <mwm@mired.org>

24 years agoIncrease the default value of LoginGraceTime from 60 seconds to 120
Kris Kennaway [Wed, 23 Aug 2000 09:47:25 +0000 (09:47 +0000)]
Increase the default value of LoginGraceTime from 60 seconds to 120
seconds.

PR: 20488
Submitted by: rwatson

24 years agoRespect X11BASE to derive the location of xauth(1)
Kris Kennaway [Wed, 23 Aug 2000 09:39:20 +0000 (09:39 +0000)]
Respect X11BASE to derive the location of xauth(1)

PR: 17818
Submitted by: Bjoern Fischer <bfischer@Techfak.Uni-Bielefeld.DE>

24 years agoFix the matcd driver for the new world order. This basically just
Sheldon Hearn [Wed, 23 Aug 2000 09:29:05 +0000 (09:29 +0000)]
Fix the matcd driver for the new world order.  This basically just
renames matcdc to matcd.

This change is reported to work by two independent PR originators.
In the absence of further feedback on the freebsd-bugs list, we
may as well get this working for its two users.

PR: 20296
Submitted by: George Russell <george.russell@clara.net>,
Remi Guyomarch <rguyom@mail.dotcom.fr>

24 years agoThis commit was generated by cvs2svn to compensate for changes in r65016,
Kris Kennaway [Wed, 23 Aug 2000 09:25:05 +0000 (09:25 +0000)]
This commit was generated by cvs2svn to compensate for changes in r65016,
which included commits to RCS files with non-trunk default branches.

24 years agoFix for buffer overflow in command-line arguments to dnsquery(1) which
Kris Kennaway [Wed, 23 Aug 2000 09:25:05 +0000 (09:25 +0000)]
Fix for buffer overflow in command-line arguments to dnsquery(1) which
will be appearing in 8.2.3

Approved by: Paul A Vixie <vixie@mibh.net>

24 years agoMiscellaneous fixes:
Sheldon Hearn [Wed, 23 Aug 2000 09:17:53 +0000 (09:17 +0000)]
Miscellaneous fixes:

amr -> Nm
Cross-reference the AUTHORS section properly.

24 years agoNormalize the diagnostics list.
Sheldon Hearn [Wed, 23 Aug 2000 09:13:56 +0000 (09:13 +0000)]
Normalize the diagnostics list.

24 years agoMiscellaneous fixes:
Sheldon Hearn [Wed, 23 Aug 2000 09:05:19 +0000 (09:05 +0000)]
Miscellaneous fixes:

  * Clear extraneous argument to the Os macro.
  * Place the name description on the Nd line.
  * Mark sub-sections up with Ss, not Sh.
  * Don't double-quote "Login" when "login prompt" is perfectly
    good English.

24 years agoWhitespace-only change: normalize line-breaking.
Sheldon Hearn [Wed, 23 Aug 2000 08:57:59 +0000 (08:57 +0000)]
Whitespace-only change: normalize line-breaking.

24 years agoMisc: mlx -> Nm
Sheldon Hearn [Wed, 23 Aug 2000 08:52:43 +0000 (08:52 +0000)]
Misc: mlx -> Nm

24 years agoWhitespace-only changes: split over-long lines.
Sheldon Hearn [Wed, 23 Aug 2000 08:50:34 +0000 (08:50 +0000)]
Whitespace-only changes: split over-long lines.

24 years agoNormalize diagnostics list.
Sheldon Hearn [Wed, 23 Aug 2000 08:47:26 +0000 (08:47 +0000)]
Normalize diagnostics list.

24 years agoWhitespace-only change: apply normal line breaking style.
Sheldon Hearn [Wed, 23 Aug 2000 08:42:42 +0000 (08:42 +0000)]
Whitespace-only change: apply normal line breaking style.

24 years agoMiscellaneous fixes: mly -> Nm and eg. -> e.g. .
Sheldon Hearn [Wed, 23 Aug 2000 08:35:07 +0000 (08:35 +0000)]
Miscellaneous fixes: mly -> Nm and eg. -> e.g. .

24 years agoNormalize the diagnostics list.
Sheldon Hearn [Wed, 23 Aug 2000 08:33:21 +0000 (08:33 +0000)]
Normalize the diagnostics list.

24 years agoWhitespace-only change: apply normal line-breaking style.
Sheldon Hearn [Wed, 23 Aug 2000 08:22:22 +0000 (08:22 +0000)]
Whitespace-only change:  apply normal line-breaking style.

24 years agoThe second call to _thread_kern_sig_defer() in sem_post() should be a call
Jason Evans [Wed, 23 Aug 2000 07:59:50 +0000 (07:59 +0000)]
The second call to _thread_kern_sig_defer() in sem_post() should be a call
to _thread_kern_sig_undefer().

24 years agoStick login_setcryptfmt() in its own file to make pulling in of
Brian Feldman [Wed, 23 Aug 2000 03:45:57 +0000 (03:45 +0000)]
Stick login_setcryptfmt() in its own file to make pulling in of
-lcrypt only happen if truly necessary.

24 years agoAdd entries for the 'mly' driver. Re-group 'mly' and 'dpt' into a new
Mike Smith [Wed, 23 Aug 2000 03:29:49 +0000 (03:29 +0000)]
Add entries for the 'mly' driver.  Re-group 'mly' and 'dpt' into a new
classification for RAID controllers that have CAM interfaces.

24 years agoAdd a manpage for the new 'mly' driver.
Mike Smith [Wed, 23 Aug 2000 03:24:32 +0000 (03:24 +0000)]
Add a manpage for the new 'mly' driver.

24 years agoThis is the initial import of a new driver for the current family of
Mike Smith [Wed, 23 Aug 2000 03:22:41 +0000 (03:22 +0000)]
This is the initial import of a new driver for the current family of
PCI:SCSI RAID controllers from Mylex.

24 years agoMention that the LinkSys LNE100TX v4.0/4.1 is supported.
Bill Paul [Wed, 23 Aug 2000 00:44:23 +0000 (00:44 +0000)]
Mention that the LinkSys LNE100TX v4.0/4.1 is supported.

24 years agoMention the LinkSys LNE100TX v4.0/4.1 and a bunch of other cards.
Bill Paul [Wed, 23 Aug 2000 00:42:24 +0000 (00:42 +0000)]
Mention the LinkSys LNE100TX v4.0/4.1 and a bunch of other cards.
Fix a typo.

24 years agoMention that the Netgear FA311 is supported as well as the FA312.
Bill Paul [Wed, 23 Aug 2000 00:41:44 +0000 (00:41 +0000)]
Mention that the Netgear FA311 is supported as well as the FA312.

24 years agoFix up the sis driver, largely to improve the NatSemi DP83815 support:
Bill Paul [Tue, 22 Aug 2000 23:26:51 +0000 (23:26 +0000)]
Fix up the sis driver, largely to improve the NatSemi DP83815 support:

- Modify the driver to poll the link state and positively set the
  MAC to full or half duplex as needed. Previously, it was possible
  for the MAC to remain in half duplex even though the PHY had negotiated
  full duplex with its link partner, which would result in bursty
  performance.

- Program some of the NatSemi's registers as specified by the datasheet.
  The manual says these are necessary for "optimum perofrmance," though
  a couple of them are marked as reserved in the register map. *shrug*

- Select the TX DMA burst size correctly for 10 and 100mbps modes.
  Previously I was using 64 bytes in both modes, which worked in
  100mbps mode, but resulting in spotty performance in 10mbps.
  32 bytes works much better; without this change, the natsemi
  chip yields piss poor performance at 10mbps.

With these fixes, the NatSemi chip finally performs to my satisfaction.
I should be merging the support for this controller into -stable shortly.

Phew.

24 years agoInstall Ukrainian message catalog.
Alexey Zelkin [Tue, 22 Aug 2000 22:00:57 +0000 (22:00 +0000)]
Install Ukrainian message catalog.

24 years agoUkrainian message catalogs for vi.
Alexey Zelkin [Tue, 22 Aug 2000 21:59:42 +0000 (21:59 +0000)]
Ukrainian message catalogs for vi.

Submitted by: Kunytsa Oleksander <kunia@snark.ukma.kiev.ua>

24 years agoThe API change mentioned in the previous revision has been backed out, so
John Baldwin [Tue, 22 Aug 2000 21:50:03 +0000 (21:50 +0000)]
The API change mentioned in the previous revision has been backed out, so
back out the corresponding documentation.

Noticed by: brian, ume

24 years agoNow that Bruce Mah is a committer, retire my co-maintainership
Bill Fumerola [Tue, 22 Aug 2000 18:42:27 +0000 (18:42 +0000)]
Now that Bruce Mah is a committer, retire my co-maintainership
of pkg_version.

24 years agoThe Internet isn't by a long shot just DARPA anymore. Reflect reality.
Jeroen Ruigrok van der Werven [Tue, 22 Aug 2000 15:29:04 +0000 (15:29 +0000)]
The Internet isn't by a long shot just DARPA anymore.  Reflect reality.

Inspired by: -current mailinglist

24 years agoCorrect the naming. The default server is ftp.fr and #1 is the same.
Ollivier Robert [Tue, 22 Aug 2000 14:28:16 +0000 (14:28 +0000)]
Correct the naming. The default server is ftp.fr and #1 is the same.
Add back ftp6.

24 years agoReflect the name changes in fr.freebsd.org.
Ollivier Robert [Tue, 22 Aug 2000 13:07:59 +0000 (13:07 +0000)]
Reflect the name changes in fr.freebsd.org.

24 years agoMention that GDB now supports hardware watchpoints.
Joerg Wunsch [Tue, 22 Aug 2000 12:39:52 +0000 (12:39 +0000)]
Mention that GDB now supports hardware watchpoints.

While i was at it, also corrected that the next 4.x release will be 4.2.

24 years agoUse consistent timezone so date information can be meaningfully compared.
Jordan K. Hubbard [Tue, 22 Aug 2000 09:43:12 +0000 (09:43 +0000)]
Use consistent timezone so date information can be meaningfully compared.

24 years agoFinish the Linuxulator MD/MI split.
Marcel Moolenaar [Tue, 22 Aug 2000 07:08:33 +0000 (07:08 +0000)]
Finish the Linuxulator MD/MI split.

In summary:
o  This file has been moved to sys/compat/linux,
o  Any MD syscalls in this file are moved to
   linux_machdep.c in sys/i386/linux,
o  Include directives, makefiles and config files
   have been updated.

24 years agoConnect the new sources in /sys/compat/linux and the new file
Marcel Moolenaar [Tue, 22 Aug 2000 06:02:01 +0000 (06:02 +0000)]
Connect the new sources in /sys/compat/linux and the new file
in /sys/i386/linux.

24 years agoUpdate include directives for Linuxulator headers after the
Marcel Moolenaar [Tue, 22 Aug 2000 05:57:55 +0000 (05:57 +0000)]
Update include directives for Linuxulator headers after the
MD/MI split.

24 years agoStyle fixes:
Marcel Moolenaar [Tue, 22 Aug 2000 05:01:08 +0000 (05:01 +0000)]
Style fixes:
o  Put the backslash in a fixed column by preference,
o  Sort the list of files.

24 years agoSave a pointer to the dev, if any, that each function attach.
Warner Losh [Tue, 22 Aug 2000 04:25:57 +0000 (04:25 +0000)]
Save a pointer to the dev, if any, that each function attach.
Remove some bogus printfs.

24 years agoRemove device type field - there are no block devices left.
Jordan K. Hubbard [Tue, 22 Aug 2000 03:14:39 +0000 (03:14 +0000)]
Remove device type field - there are no block devices left.

24 years agoCollect the MD syscalls from /sys/compat/linux here. Since this
Marcel Moolenaar [Tue, 22 Aug 2000 02:24:02 +0000 (02:24 +0000)]
Collect the MD syscalls from /sys/compat/linux here. Since this
is a new file, fix most of the style bugs at the same time.

24 years agoHow did you sneak in...
Brian Feldman [Tue, 22 Aug 2000 02:17:54 +0000 (02:17 +0000)]
How did you sneak in...

24 years agoAdd working and easy crypt(3)-switching. Yes, we need a whole new API
Brian Feldman [Tue, 22 Aug 2000 02:15:54 +0000 (02:15 +0000)]
Add working and easy crypt(3)-switching.  Yes, we need a whole new API
for crypt(3) by now.  In any case:

Add crypt_set_format(3) + documentation to -lcrypt.
Add login_setcryptfmt(3) + documentation to -lutil.
Support for switching crypt formats in passwd(8).
Support for switching crypt formats in pw(8).

The simple synopsis is:
edit login.conf; add a passwd_format field set to "des" or "md5"; go nuts :)

Reviewed by: peter

24 years agoUpdate include directives.
Marcel Moolenaar [Tue, 22 Aug 2000 01:51:54 +0000 (01:51 +0000)]
Update include directives.

24 years agoUpdate include directives.
Marcel Moolenaar [Tue, 22 Aug 2000 01:49:54 +0000 (01:49 +0000)]
Update include directives.

Make linux_to_bsd_sigset and linux_do_sigaction non-static.

Move linux_sigaction. linux_sigsuspend, linux_rt_sigsuspend,
linux_pause and linux_sigaltstack to MD code.

24 years agoUpdate include directives.
Marcel Moolenaar [Tue, 22 Aug 2000 01:46:50 +0000 (01:46 +0000)]
Update include directives.

Move linux_select to MD code (i386 compat. syscall).

Move linux_fork, linux_vfork, linux_clone, linux_mmap,
linux_pipe, linux_ioperm, linux_iopl and linux_modify_ldt
to MD code.

24 years agoUpdate include directives.
Marcel Moolenaar [Tue, 22 Aug 2000 01:32:14 +0000 (01:32 +0000)]
Update include directives.

24 years agoUpdate include directives.
Marcel Moolenaar [Tue, 22 Aug 2000 01:31:23 +0000 (01:31 +0000)]
Update include directives.

Make the sem*, msg* and shm* function non-static as they are
called from MD code.

Move linux_ipc to MD code.

24 years agoUpdate include directives and remove linux_execve.
Marcel Moolenaar [Tue, 22 Aug 2000 01:27:36 +0000 (01:27 +0000)]
Update include directives and remove linux_execve.

24 years agoProvide prototypes for functions used by MD code.
Marcel Moolenaar [Tue, 22 Aug 2000 01:24:36 +0000 (01:24 +0000)]
Provide prototypes for functions used by MD code.

24 years agoRemove obsolete comment.
Archie Cobbs [Tue, 22 Aug 2000 00:32:52 +0000 (00:32 +0000)]
Remove obsolete comment.

24 years agoTouch ftp.1 and cdrom.1 when those stages are done to speed up make
John Baldwin [Mon, 21 Aug 2000 22:42:09 +0000 (22:42 +0000)]
Touch ftp.1 and cdrom.1 when those stages are done to speed up make
rerelease when a release dies very late.

24 years agoRemove duplicate FreeBSD id tags.
John Baldwin [Mon, 21 Aug 2000 21:05:44 +0000 (21:05 +0000)]
Remove duplicate FreeBSD id tags.

24 years agoFix devfs_access() bug on directories.
Poul-Henning Kamp [Mon, 21 Aug 2000 14:45:19 +0000 (14:45 +0000)]
Fix devfs_access() bug on directories.

Remove unused #includes.

Bug spotted by: markm

24 years agoMake this work with current makefiles again.
Poul-Henning Kamp [Mon, 21 Aug 2000 14:42:48 +0000 (14:42 +0000)]
Make this work with current makefiles again.

24 years agoOnly whack pseudo-terminals into shape if they exist. They might
Sheldon Hearn [Mon, 21 Aug 2000 14:37:52 +0000 (14:37 +0000)]
Only whack pseudo-terminals into shape if they exist.  They might
not yet exist in the DEVFS case.

24 years agoAfter some discussion with markm, back out most of rev 1.221,
Sheldon Hearn [Mon, 21 Aug 2000 14:33:20 +0000 (14:33 +0000)]
After some discussion with markm, back out most of rev 1.221,
which really wasn't such a hot idea in retrospect.

If the random device isn't available, it probably isn't wanted.
If it's wanted, it should be enabled in loader.conf.

24 years agoFix typos.
Maxim Sobolev [Mon, 21 Aug 2000 14:08:43 +0000 (14:08 +0000)]
Fix typos.

Approved by: phk

24 years agoFix a bug upon initialization. (_INDX_ADDR -> _INDX_DATA)
Seigo Tanimura [Mon, 21 Aug 2000 13:18:56 +0000 (13:18 +0000)]
Fix a bug upon initialization. (_INDX_ADDR -> _INDX_DATA)

24 years agoSynchronize the poll() prototype with the one provided in the
Sheldon Hearn [Mon, 21 Aug 2000 12:25:09 +0000 (12:25 +0000)]
Synchronize the poll() prototype with the one provided in the
poll(2) manual page.

PR: 20677
Submitted by: "Ralf S. Engelschall" <rse@engelschall.com>

24 years agoFix a bug introduced by my own previous commit (addition of the current
Maxim Sobolev [Mon, 21 Aug 2000 10:21:28 +0000 (10:21 +0000)]
Fix a bug introduced by my own previous commit (addition of the current
line/column display).

I overlooked that ee(1) doesn't maintain proper line numbering when
adding/removing lines, so after those operations linenumber displayed may not
match the reality. Also use proper variable for current column diaplay, because
the one used previously reflects the offset of current char, which doesn't
equial screen position when tabs present.

Reviewed by: bp

24 years agoFix up the command in the destination buffer, not the source.
Nick Hibma [Mon, 21 Aug 2000 09:39:07 +0000 (09:39 +0000)]
Fix up the command in the destination buffer, not the source.

This makes the conversion from Test-Unit-Ready to Start-Stop-Unit in the case
of SCSI (Iomega Zip drive) actually work.

24 years agoAdd dummy opt_devfs.h file.
Poul-Henning Kamp [Mon, 21 Aug 2000 07:45:37 +0000 (07:45 +0000)]
Add dummy opt_devfs.h file.

24 years agoGrok 125 replies to passive RETR. This fixes an interoperability bug with
Dag-Erling Smørgrav [Mon, 21 Aug 2000 07:18:31 +0000 (07:18 +0000)]
Grok 125 replies to passive RETR.  This fixes an interoperability bug with
Microsoft FTP Service.

Reported by: asmodai, eivind

24 years agoMove $PERL/IO/Socket to the right place.
Mark Murray [Mon, 21 Aug 2000 06:30:45 +0000 (06:30 +0000)]
Move $PERL/IO/Socket to the right place.

Reported by: ache

24 years agorework feeder sytem to allow feeders in klds
Cameron Grant [Sun, 20 Aug 2000 22:18:56 +0000 (22:18 +0000)]
rework feeder sytem to allow feeders in klds

modify driver capability reporting format to list every audio format
seperately- required for above and because we could not previously indicate
that mono was unsupported.

there should be no functional impact.

24 years ago Remove all traces of Julians DEVFS (incl from kern/subr_diskslice.c)
Poul-Henning Kamp [Sun, 20 Aug 2000 21:34:39 +0000 (21:34 +0000)]
  Remove all traces of Julians DEVFS (incl from kern/subr_diskslice.c)

  Remove old DEVFS support fields from dev_t.

  Make uid, gid & mode members of dev_t and set them in make_dev().

  Use correct uid, gid & mode in make_dev in disk minilayer.

  Add support for registering alias names for a dev_t using the
  new function make_dev_alias().  These will show up as symlinks
  in DEVFS.

  Use makedev() rather than make_dev() for MFSs magic devices to prevent
  DEVFS from noticing this abuse.

  Add a field for DEVFS inode number in dev_t.

  Add new DEVFS in fs/devfs.

  Add devfs cloning to:
        disk minilayer (ie: ad(4), sd(4), cd(4) etc etc)
        md(4), tun(4), bpf(4), fd(4)

  If DEVFS add -d flag to /sbin/inits args to make it mount devfs.

  Add commented out DEVFS to GENERIC

24 years agoAdd UNIX domain socket feature to pccardd. This makes pccard
Hajimu UMEMOTO [Sun, 20 Aug 2000 16:16:57 +0000 (16:16 +0000)]
Add UNIX domain socket feature to pccardd.  This makes pccard
related PAO3/ports such as gxcardmon work.

Reviewed by: imp
Obtained from: PAO3

24 years agoUnbreak LINT.
Nick Hibma [Sun, 20 Aug 2000 15:30:15 +0000 (15:30 +0000)]
Unbreak LINT.

24 years agoFix typo in last commit.
Poul-Henning Kamp [Sun, 20 Aug 2000 11:46:39 +0000 (11:46 +0000)]
Fix typo in last commit.

24 years agoAdd missing perl directories.
Mark Murray [Sun, 20 Aug 2000 10:06:24 +0000 (10:06 +0000)]
Add missing perl directories.

24 years agoFixes and cleanups to the perl build; don't error out when NOCLEAN is
Mark Murray [Sun, 20 Aug 2000 10:03:26 +0000 (10:03 +0000)]
Fixes and cleanups to the perl build; don't error out when NOCLEAN is
set and directories are being (re)made; build the procname ($0) stuff,
don't install miniperl.
(Miniperl needs a revisit).

24 years agoResolve conflicts.
Mark Murray [Sun, 20 Aug 2000 09:51:08 +0000 (09:51 +0000)]
Resolve conflicts.

24 years agoThis commit was generated by cvs2svn to compensate for changes in r64866,
Mark Murray [Sun, 20 Aug 2000 08:43:07 +0000 (08:43 +0000)]
This commit was generated by cvs2svn to compensate for changes in r64866,
which included commits to RCS files with non-trunk default branches.

24 years agoVendor supplied patches to fix procname ($0)
Mark Murray [Sun, 20 Aug 2000 08:43:07 +0000 (08:43 +0000)]
Vendor supplied patches to fix procname ($0)

24 years agoCentralize the canonical vop_access user/group/other check in vaccess().
Poul-Henning Kamp [Sun, 20 Aug 2000 08:36:26 +0000 (08:36 +0000)]
Centralize the canonical vop_access user/group/other check in vaccess().

Discussed with: bde

24 years agoA slight restyling of the previous fix and make the way the
David Malone [Sun, 20 Aug 2000 00:02:48 +0000 (00:02 +0000)]
A slight restyling of the previous fix and make the way the
reference count is initialised to zero to be more kosher.

Reviewed by: Bosko Milekic <bmilekic@technokratis.com>
Spotted by: jdp and Jake Burkholder <jburkhol@home.com> respectively

24 years agoFix logic error which caused a page fault in kernel mode immediately
John Polstra [Sat, 19 Aug 2000 23:50:41 +0000 (23:50 +0000)]
Fix logic error which caused a page fault in kernel mode immediately
on boot up.

Submitted by: Bosko Milekic <bmilekic@technokratis.com>

24 years agoFixed a missing splx() in if_addmulti(). Was broken in rev.1.28.
Bruce Evans [Sat, 19 Aug 2000 22:10:10 +0000 (22:10 +0000)]
Fixed a missing splx() in if_addmulti().  Was broken in rev.1.28.

24 years agoDon't build pccard for now until I can resolve the linker interaction
Warner Losh [Sat, 19 Aug 2000 19:26:03 +0000 (19:26 +0000)]
Don't build pccard for now until I can resolve the linker interaction
issue that I'm seeing.

24 years agoWork around a possible kernel linker bug. It appears that the data
Warner Losh [Sat, 19 Aug 2000 19:25:23 +0000 (19:25 +0000)]
Work around a possible kernel linker bug.  It appears that the data
elements defined by foo_if.c aren't sharable amoung modules (I'm
working on a bug report for it now), or else I don't understand
something.  It showed up as kobj functions not being called.

In any event, link in the pcic and pccard parts of the modules to work
around the problem for now.

24 years agoo Move to using PCCARD_SOFTC(dev)
Warner Losh [Sat, 19 Aug 2000 19:22:04 +0000 (19:22 +0000)]
o Move to using PCCARD_SOFTC(dev)
o fill in the size of the actual softc, rather than 1 in data structure
o minor debugging improvements.

24 years agoo move to using PCIC_SOFTC(dev) to get the softc
Warner Losh [Sat, 19 Aug 2000 19:20:25 +0000 (19:20 +0000)]
o move to using PCIC_SOFTC(dev) to get the softc
o move pcic_deactivate into pcic_detach
o Better debug messages

24 years agoRemove obsolete entry about wdc hangs
Jordan K. Hubbard [Sat, 19 Aug 2000 18:54:37 +0000 (18:54 +0000)]
Remove obsolete entry about wdc hangs

24 years agofix SNDCTL_DSP_GETODELAY
Cameron Grant [Sat, 19 Aug 2000 18:29:46 +0000 (18:29 +0000)]
fix SNDCTL_DSP_GETODELAY

PR: kern/20340
Submitted by: Takashi SHIRAI <shirai@nintendo.co.jp>

24 years agodon't complain about bad irqs if using a shared irq
Cameron Grant [Sat, 19 Aug 2000 18:22:20 +0000 (18:22 +0000)]
don't complain about bad irqs if using a shared irq

24 years agoRecognize ESS 1888 in Dell Latitude XPi
Cameron Grant [Sat, 19 Aug 2000 18:17:15 +0000 (18:17 +0000)]
Recognize ESS 1888 in Dell Latitude XPi

PR: kern/18714
Submitted by: Sean O'Connell <sean@stat.Duke.EDU>

24 years agoFix the arguments to [(1) (AKA test(1)). If the string being tested
Mark Murray [Sat, 19 Aug 2000 12:28:23 +0000 (12:28 +0000)]
Fix the arguments to [(1) (AKA test(1)). If the string being tested
by -n is nonexistant, then the following -d was misinterpreted with
a strange error. By putting double quotes (") around the argument,
we can be sure there is _something_ there that we can check a zero
length against.

24 years agoSilence -Wall; main()'s second argument was "unsigned char **",
Mark Murray [Sat, 19 Aug 2000 11:45:18 +0000 (11:45 +0000)]
Silence -Wall; main()'s second argument was "unsigned char **",
and this had filtered down into too many other places.

24 years agoDisabled serial console.
Yoshihiro Takahashi [Sat, 19 Aug 2000 10:19:43 +0000 (10:19 +0000)]
Disabled serial console.

24 years agoReplace the mbuf external reference counting code with something
David Malone [Sat, 19 Aug 2000 08:32:59 +0000 (08:32 +0000)]
Replace the mbuf external reference counting code with something
that should be better.

The old code counted references to mbuf clusters by using the offset
of the cluster from the start of memory allocated for mbufs and
clusters as an index into an array of chars, which did the reference
counting. If the external storage was not a cluster then reference
counting had to be done by the code using that external storage.

NetBSD's system of linked lists of mbufs was cosidered, but Alfred
felt it would have locking issues when the kernel was made more
SMP friendly.

The system implimented uses a pool of unions to track external
storage. The union contains an int for counting the references and
a pointer for forming a free list. The reference counts are
incremented and decremented atomically and so should be SMP friendly.
This system can track reference counts for any sort of external
storage.

Access to the reference counting stuff is now through macros defined
in mbuf.h, so it should be easier to make changes to the system in
the future.

The possibility of storing the reference count in one of the
referencing mbufs was considered, but was rejected 'cos it would
often leave extra mbufs allocated. Storing the reference count in
the cluster was also considered, but because the external storage
may not be a cluster this isn't an option.

The size of the pool of reference counters is available in the
stats provided by "netstat -m".

PR: 19866
Submitted by: Bosko Milekic <bmilekic@dsuper.net>
Reviewed by: alfred (glanced at by others on -net)

24 years agoCall bus_generic_detach on pcic before deleting the children. This
Warner Losh [Sat, 19 Aug 2000 05:01:07 +0000 (05:01 +0000)]
Call bus_generic_detach on pcic before deleting the children.  This
has the side effect of detaching the children before I delete them.
When I put the last commits in a loop for loop it died after 5 or so
iterations.  After this change, I lasted 50 before I stopped the test.

24 years agoRemove pcic_isa_identify. I don't think it is needed.
Warner Losh [Sat, 19 Aug 2000 04:47:09 +0000 (04:47 +0000)]
Remove pcic_isa_identify.  I don't think it is needed.
Add pcic_detach which removes all of the pcic's children.

This lets me load/unload pcic multiple times w/o having multiple
instances of each slot attached to pcic.

24 years agoIncrease the default NAPIC from 1 to 2 as a bandaid until we allocate
Mike Smith [Fri, 18 Aug 2000 20:09:15 +0000 (20:09 +0000)]
Increase the default NAPIC from 1 to 2 as a bandaid until we allocate
these dynamically (ie. typically you shouldn't have to set NAPIC at all)

24 years agoRemove gratuitous free() call when we use special .SHELL target.
Ruslan Ermilov [Fri, 18 Aug 2000 10:41:37 +0000 (10:41 +0000)]
Remove gratuitous free() call when we use special .SHELL target.