]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
25 years agoOn the i386, load the ELF dynamic linker where an mmap(0, ...) would
John Polstra [Fri, 19 Feb 1999 01:30:43 +0000 (01:30 +0000)]
On the i386, load the ELF dynamic linker where an mmap(0, ...) would
put it, just like on the Alpha.  It was wrong to load it at the
fixed address 0x08000000.  That should only be done if the dynamic
linker is an executable (not a shared object) with a specific load
address encoded in the object file itself.

This fixes the recent breakage in the Linux emulator.

25 years agoDocument a changed variable name.
Jordan K. Hubbard [Thu, 18 Feb 1999 23:59:58 +0000 (23:59 +0000)]
Document a changed variable name.

25 years ago Moved [uo]hci_pci.c from /sys/dev/pci to /sys/pci after Soren
Nick Hibma [Thu, 18 Feb 1999 21:42:19 +0000 (21:42 +0000)]
   Moved [uo]hci_pci.c from /sys/dev/pci to /sys/pci after Soren
   threatened to send Bruce. These files are no longer shared
   with NetBSD anyway.

   Requires a config and make depend.

25 years agoChange to a proper numbering scheme for the ugen device. It requires
Nick Hibma [Thu, 18 Feb 1999 21:17:16 +0000 (21:17 +0000)]
Change to a proper numbering scheme for the ugen device. It requires
a unit and endpoint number. This is combined into a minor number.
The naming of the devices in /dev is now /dev/ugen<unit>.<endpoint>

25 years agoSet the devstat priority for ccd devices to DEVSTAT_PRIORITY_CCD
Kenneth D. Merry [Thu, 18 Feb 1999 21:11:53 +0000 (21:11 +0000)]
Set the devstat priority for ccd devices to DEVSTAT_PRIORITY_CCD
instead of DEVSTAT_PRIORITY_OTHER.

25 years agoMoved busreset in uhci_init up to avoid clearing of FLBASE in Via 83572
Nick Hibma [Thu, 18 Feb 1999 21:03:10 +0000 (21:03 +0000)]
Moved busreset in uhci_init up to avoid clearing of FLBASE in Via 83572
(PR1)

25 years ago Limit number of simultanious asynchronous swap pager I/Os that can
Matthew Dillon [Thu, 18 Feb 1999 19:57:33 +0000 (19:57 +0000)]
Limit number of simultanious asynchronous swap pager I/Os that can
    be in progress at any given moment.

    Add two swap tuneables to sysctl:

vm.swap_async_max: 4
vm.swap_cluster_max: 16

    Recommended values are a cluster size of 8 or 16 pages.  async_max is
    about right for 1-4 swap devices.  Reduce to 2 if swap is eating too much
    bandwidth, or even 1 if swap is both eating too much bandwidth and sitting
    on a slow network (10BaseT).

    The defaults work well across a broad range of configurations and should
    normally be left alone.

25 years agoBuild correctly when -DNOCRYPT is used.
Brian Somers [Thu, 18 Feb 1999 19:45:06 +0000 (19:45 +0000)]
Build correctly when -DNOCRYPT is used.

25 years agoDon't expect a chap response if we haven't negotiated
Brian Somers [Thu, 18 Feb 1999 19:11:46 +0000 (19:11 +0000)]
Don't expect a chap response if we haven't negotiated
chap 0x80.

25 years agoMore style fixes to bring this almost to bde's suggested version.
David E. O'Brien [Thu, 18 Feb 1999 18:56:58 +0000 (18:56 +0000)]
More style fixes to bring this almost to bde's suggested version.

25 years agoUndo Nicolas' changes (1.91->1.92, added USB controller in pcisupport.c).
Nick Hibma [Thu, 18 Feb 1999 18:48:01 +0000 (18:48 +0000)]
Undo Nicolas' changes (1.91->1.92, added USB controller in pcisupport.c).
Please don't.

25 years agoFix sync rate and transfer rate printouts in xpt_announce_periph().
Kenneth D. Merry [Thu, 18 Feb 1999 18:08:39 +0000 (18:08 +0000)]
Fix sync rate and transfer rate printouts in xpt_announce_periph().
Sync rates like 4.032MHz were getting printed as 4.32MHz.

Also, add a quirk entry for the 18G Quantum Atlas III.  Like most other
recent Quantum drives, it bogusly reports queue full.  Thanks to Andre
Albsmeier <andre.albsmeier@mchp.siemens.de> for the Atlas III inquiry
information.

Reviewed by: gibbs

25 years agoMake .Os behave as defined (unrecognized arguments displayed as given).
Bill Fenner [Thu, 18 Feb 1999 16:54:24 +0000 (16:54 +0000)]
Make .Os behave as defined (unrecognized arguments displayed as given).
Add a warning for unknown BSD versions.
Make ".Os FreeBSD" work without a warning (fix bug in previous commit).

25 years agoSpell ".Fx" properly.
Bill Fenner [Thu, 18 Feb 1999 16:53:29 +0000 (16:53 +0000)]
Spell ".Fx" properly.

25 years agobde suggests not to trust ${COPY} to always be defined.
David E. O'Brien [Thu, 18 Feb 1999 09:38:18 +0000 (09:38 +0000)]
bde suggests not to trust ${COPY} to always be defined.
also fix style bugs submitted by Bruce

25 years agoMove the declaration of the vfs.nfs sysctl node outside an ifdef so that
Doug Rabson [Thu, 18 Feb 1999 09:19:41 +0000 (09:19 +0000)]
Move the declaration of the vfs.nfs sysctl node outside an ifdef so that
it builds if NFS_NOSERVER is defined.

Spotted by: Bruce Evans <bde@zeta.org.au>

25 years agoAdd a little bit more identifying information to the myriad PCI network
Garrett Wollman [Thu, 18 Feb 1999 01:13:40 +0000 (01:13 +0000)]
Add a little bit more identifying information to the myriad PCI network
drivers.

25 years agoFully support both NT and LANMan CHAP type 0x80 as both
Brian Somers [Thu, 18 Feb 1999 00:52:15 +0000 (00:52 +0000)]
Fully support both NT and LANMan CHAP type 0x80 as both
authenticator and authenticatee.

25 years agoInitialize procsig0.ps_refcnt to 1 (instead of 2), this would silence
Luoqi Chen [Wed, 17 Feb 1999 21:03:14 +0000 (21:03 +0000)]
Initialize procsig0.ps_refcnt to 1 (instead of 2), this would silence
complaints about ps_refcnt greater than two when we try to fork() a
kthread from proc0 with RFSIGSHARE flag set.

Noticed by: Tor Egge <tegge@fast.no>
Reviewed by: Richard Seaman, Jr. <dick@tar.com>

25 years agoUse ${MAKE} not 'make -f'
Mike Smith [Wed, 17 Feb 1999 20:56:09 +0000 (20:56 +0000)]
Use ${MAKE} not 'make -f'

Submitted by: tfreak@fluffybunny.jaded.net

25 years agofix double LIST_REMOVE; other cosmetic changes to match version 9.32.
Kirk McKusick [Wed, 17 Feb 1999 20:01:20 +0000 (20:01 +0000)]
fix double LIST_REMOVE; other cosmetic changes to match version 9.32.
Obtained from: Jeffrey Hsu <hsu@FreeBSD.ORG>

25 years agoFixed bitrot in NFS_ACDEBUG option.
Bruce Evans [Wed, 17 Feb 1999 13:59:29 +0000 (13:59 +0000)]
Fixed bitrot in NFS_ACDEBUG option.

25 years agoUse `${CC} ${CFLAGS} ${LDFLAGS} -nostdlib -Wl...' instead of
Bruce Evans [Wed, 17 Feb 1999 13:48:07 +0000 (13:48 +0000)]
Use `${CC} ${CFLAGS} ${LDFLAGS} -nostdlib -Wl...' instead of
`ld ... <fudged ${LDFLAGS}>' to invoke the linker.  This gets the
flags and standard library paths right without complications.
Unfortunately, it doesn't help for the X11 library paths -- cc
only appends /aout for standard library paths.

25 years agoSubmitted by: Luoqi Chen <luoqi@watermarkgroup.com>
Matthew Dillon [Wed, 17 Feb 1999 09:08:29 +0000 (09:08 +0000)]
Submitted by: Luoqi Chen <luoqi@watermarkgroup.com>

    Unlock vnode before messing with map to avoid deadlock between map and
    vnode ( e.g. with exec_map and underlying program binary vnode ).  Solves
    a deadlock that most often occurs during a large -j# buildworld reported
    by three people.

25 years agoCatch up with the past week:
Warner Losh [Wed, 17 Feb 1999 05:32:40 +0000 (05:32 +0000)]
Catch up with the past week:
Add better text for the ppbus changes
Add note about libdevstat changing forcing a recompile of some
things in the tree as well as ports that use devstat.

Thanks to those people that used HEADS UP in their message.  Large,
rabid mammals to those that wanted to beat the /etc/rc* horse with the
phrase "heads up" in the subject line.

25 years agoDocument forward(1) better.
Joseph Koshy [Wed, 17 Feb 1999 03:39:39 +0000 (03:39 +0000)]
Document forward(1) better.

PR: docs/10126
Submitted by: Sue Blake <sue@welearn.com.au>

25 years agoAdd a note about ELF executables requiring to be linked with -export-dynamic
Joseph Koshy [Wed, 17 Feb 1999 02:41:04 +0000 (02:41 +0000)]
Add a note about ELF executables requiring to be linked with -export-dynamic
for dlsym() searches inside the executable to work.

25 years agoNuke any remaining auth timers when datalinks come back down
Brian Somers [Wed, 17 Feb 1999 02:11:28 +0000 (02:11 +0000)]
Nuke any remaining auth timers when datalinks come back down
to DATALINK_LCP.

25 years agoadd now required queue.h include
Matt Jacob [Tue, 16 Feb 1999 20:34:56 +0000 (20:34 +0000)]
add now required queue.h include

25 years agoFix off-by-one error.
Bill Fenner [Tue, 16 Feb 1999 19:05:09 +0000 (19:05 +0000)]
Fix off-by-one error.

25 years agoRe-enable doscmd build.
Luoqi Chen [Tue, 16 Feb 1999 17:57:25 +0000 (17:57 +0000)]
Re-enable doscmd build.

25 years agoLook for aout X libraries at the right place.
Luoqi Chen [Tue, 16 Feb 1999 14:57:58 +0000 (14:57 +0000)]
Look for aout X libraries at the right place.

25 years agoBetter fix for the traceroute flood bug.
Dag-Erling Smørgrav [Tue, 16 Feb 1999 14:19:50 +0000 (14:19 +0000)]
Better fix for the traceroute flood bug.

Submitted by: bde

25 years ago- Cosmetic change.
KATO Takenori [Tue, 16 Feb 1999 11:15:21 +0000 (11:15 +0000)]
- Cosmetic change.
- Enable bs driver.
- Add ax and xl drivers.

Submitted by: Takahashi Yoshihiro <nyan@dd.catv.ne.jp>

25 years agoMerge with sys/i386/conf/options.i386 revision 1.102.
KATO Takenori [Tue, 16 Feb 1999 11:12:42 +0000 (11:12 +0000)]
Merge with sys/i386/conf/options.i386 revision 1.102.

Submitted by: Takahashi Yoshihiro <nyan@dd.catv.ne.jp>

25 years agoSync with sys/i386/i386/machdep.c revision 1.326.
KATO Takenori [Tue, 16 Feb 1999 11:07:06 +0000 (11:07 +0000)]
Sync with sys/i386/i386/machdep.c revision 1.326.

25 years ago* Change sysctl from using linker_set to construct its tree using SLISTs.
Doug Rabson [Tue, 16 Feb 1999 10:49:55 +0000 (10:49 +0000)]
* Change sysctl from using linker_set to construct its tree using SLISTs.
  This makes it possible to change the sysctl tree at runtime.

* Change KLD to find and register any sysctl nodes contained in the loaded
  file and to unregister them when the file is unloaded.

Reviewed by: Archie Cobbs <archie@whistle.com>,
Peter Wemm <peter@netplex.com.au> (well they looked at it anyway)

25 years agoBe more forgiving of PnP config saving failures.
Jordan K. Hubbard [Tue, 16 Feb 1999 01:58:04 +0000 (01:58 +0000)]
Be more forgiving of PnP config saving failures.

25 years agoWait by default for one second after the login script
Brian Somers [Tue, 16 Feb 1999 00:16:56 +0000 (00:16 +0000)]
Wait by default for one second after the login script
is complete before checking carrier.  If it's there,
the device supports carrier.  If it's not it doesn't.

Add the ``set cd'' command for deciding how soon to check
for carrier, and for deciding if carrier is REQUIRED.

The default has changed:  Pre 2.0 versions of ppp waited
for 1 second.  Version 2 didn't wait, but this causes
problems with some (few?) modems that don't assert carrier
immediately on reporting CONNECT.  The one second delay
is back now and can be removed with ``set cd 0''.

Bump the ppp version number in case this needs to be changed
again....

25 years agoApplied patch from MAEKAWA Masahide <bishop@rr.iij4u.or.jp>. (PR2)
Nick Hibma [Mon, 15 Feb 1999 21:41:43 +0000 (21:41 +0000)]
Applied patch from MAEKAWA Masahide <bishop@rr.iij4u.or.jp>. (PR2)

Seems to solve a problem with a mouse not responding to movements in the
X direction. Problem description is still rather vague and solution is
not exactly clear. Problem might be a compiler optimisation.

25 years agoAdded vendor Compaq/CMDTACH and USB067[03]
Nick Hibma [Mon, 15 Feb 1999 21:39:49 +0000 (21:39 +0000)]
Added vendor Compaq/CMDTACH and USB067[03]

25 years agoAdded more verbose debugging output to uhci_run
Nick Hibma [Mon, 15 Feb 1999 20:43:17 +0000 (20:43 +0000)]
Added more verbose debugging output to uhci_run

25 years agoEnable load of i386 ELF kernels with larger KVA range (e.g. starting at
Tor Egge [Mon, 15 Feb 1999 17:36:58 +0000 (17:36 +0000)]
Enable load of i386 ELF kernels with larger KVA range (e.g. starting at
0xe0100000u or 0xc0100000u instead of the usual 0xf0100000u).

25 years agoback out obj/colldef PATH hack, it breaks cross-compiling per Bruce
Andrey A. Chernov [Mon, 15 Feb 1999 15:11:07 +0000 (15:11 +0000)]
back out obj/colldef PATH hack, it breaks cross-compiling per Bruce
There is _BUILD_TOOLS hack for. Plase all targets under it.

25 years agoFixed bitrot in usage message and disordering of options in previous commit.
Bruce Evans [Mon, 15 Feb 1999 14:15:28 +0000 (14:15 +0000)]
Fixed bitrot in usage message and disordering of options in previous commit.

I'm not sure why we have `mvstat -z'.  `sysctl vm.zone' gives more
information.  OTOH, `sysctl vm.zone' shouldn't return ASCII data,
and reporting of memory use should be integrated, at least as an
option.

25 years agoFixed disordering of options in previous commit.
Bruce Evans [Mon, 15 Feb 1999 13:57:18 +0000 (13:57 +0000)]
Fixed disordering of options in previous commit.

25 years agoEOPNOTSUPP also applies to fchflags().
Bruce Evans [Mon, 15 Feb 1999 13:16:02 +0000 (13:16 +0000)]
EOPNOTSUPP also applies to fchflags().

25 years agoDon't pass -static in ${LDFLAGS} to ld for building doscmd.kernel,
Bruce Evans [Mon, 15 Feb 1999 12:36:21 +0000 (12:36 +0000)]
Don't pass -static in ${LDFLAGS} to ld for building doscmd.kernel,
since it means -s (strip), and static linkage is forced correctly
anyway.  Other things in ${LDFLAGS} are still bogusly passed to ld.
This only affects the aout case.

25 years agoCorrected ioctl numbers conflict.
Roger Hardiman [Mon, 15 Feb 1999 11:04:36 +0000 (11:04 +0000)]
Corrected ioctl numbers conflict.
Thanks to Vsevolod Lobko <seva@alex-ua.com> for spotting this.
P:

25 years agoClean up some .Os macro uses: quotes are not needed, multiple arguments
Bill Fenner [Mon, 15 Feb 1999 08:34:14 +0000 (08:34 +0000)]
Clean up some .Os macro uses: quotes are not needed, multiple arguments
don't really work if the first one isn't "FreeBSD", and "FreeBSD-Experimental"
isn't an OS name.

25 years agoIf the user provided a large enough argument to the -w option, the sum
Dag-Erling Smørgrav [Mon, 15 Feb 1999 08:11:44 +0000 (08:11 +0000)]
If the user provided a large enough argument to the -w option, the sum
would overflow and you'd end up doing select() with a negative timeout.

25 years agonlpt -> lpt changes. Point at the man page, but refrain from
Warner Losh [Mon, 15 Feb 1999 08:09:07 +0000 (08:09 +0000)]
nlpt -> lpt changes.  Point at the man page, but refrain from
suggesting course of action if man page proves unhelpful.

25 years agoChange .Fx macro to always display "FreeBSD" and its argument, whether
Bill Fenner [Mon, 15 Feb 1999 07:27:18 +0000 (07:27 +0000)]
Change .Fx macro to always display "FreeBSD" and its argument, whether
 the argument is a known FreeBSD version or not.
Output an nroff error if .Fx is used with an unknown FreeBSD version.
Change .Nx and .Ox macros to always display the argument, whether
 the argument is a known version or not.  This eliminates much of the
 need to syncrhonize .Nx and .Ox with their source OS's -- only the
 exceptions (like ".Nx 1.2a" -> "NetBSD 1.2A") where the argument is
 not directly copied to the output need to be added.

25 years agoAlways define oS to be "FreeBSD $2", no matter whether or not we
Bill Fenner [Mon, 15 Feb 1999 07:24:09 +0000 (07:24 +0000)]
Always define oS to be "FreeBSD $2", no matter whether or not we
know the version number given as the argument to ".Os FreeBSD xxx".
Output nroff warning when we see a version number that we don't
know about.

25 years agoUpdate to deal with pnp userconfig data.
Jordan K. Hubbard [Mon, 15 Feb 1999 07:07:37 +0000 (07:07 +0000)]
Update to deal with pnp userconfig data.

Submitted by: abial

25 years ago Minor reorganization of vm_page_alloc(). No functional changes have
Matthew Dillon [Mon, 15 Feb 1999 06:52:14 +0000 (06:52 +0000)]
Minor reorganization of vm_page_alloc().  No functional changes have
    been made but the code has been reorganized and documented to make
    it more readable, reduce the size of the code, and optimize the branch
    path caching capabilities that most modern processors have.

25 years ago- Set the system immutable flag when installing ld.so to avoid people
Nate Williams [Mon, 15 Feb 1999 05:02:54 +0000 (05:02 +0000)]
- Set the system immutable flag when installing ld.so to avoid people
  accidentally clobbering it.

Submitted by: numberous people on -current

25 years agoAdd entry for gnome category.
Jordan K. Hubbard [Mon, 15 Feb 1999 04:57:07 +0000 (04:57 +0000)]
Add entry for gnome category.

25 years agoWrite out new boot blocks on upgrade.
Jordan K. Hubbard [Mon, 15 Feb 1999 02:22:47 +0000 (02:22 +0000)]
Write out new boot blocks on upgrade.

25 years agoDo a better job of finding the default root device.
Jordan K. Hubbard [Mon, 15 Feb 1999 02:22:24 +0000 (02:22 +0000)]
Do a better job of finding the default root device.

25 years ago Fix a bug in the new madvise() code that would possibly (improperly)
Matthew Dillon [Mon, 15 Feb 1999 02:03:40 +0000 (02:03 +0000)]
Fix a bug in the new madvise() code that would possibly (improperly)
    free swap space out from under a busy page.  This is not legal because
    the swap may be reallocated and I/O issued while I/O is still in
    progress on the same swap page from the madvise()'d object.  This bug
    could only occur under extreme paging conditions but might not cause
    an error until much later.  As a side-benefit, madvise() is now even
    smaller.

25 years agoaway go lkms, in come klds.
Jordan K. Hubbard [Mon, 15 Feb 1999 00:56:38 +0000 (00:56 +0000)]
away go lkms, in come klds.

25 years agoUnbreak the fixit floppy.
Jordan K. Hubbard [Mon, 15 Feb 1999 00:49:33 +0000 (00:49 +0000)]
Unbreak the fixit floppy.
Clean up some of the media handling to use common routines.

25 years agoCopy the 'reboot' script only for "dial" floppy.
Andrzej Bialecki [Mon, 15 Feb 1999 00:27:00 +0000 (00:27 +0000)]
Copy the 'reboot' script only for "dial" floppy.

25 years agoRemove couple of 'extern int errno'. (They turned to something funny when
Dmitrij Tejblum [Sun, 14 Feb 1999 22:22:54 +0000 (22:22 +0000)]
Remove couple of 'extern int errno'. (They turned to something funny when
<errno.h> included).

25 years agoCosmetic reformating.
David E. O'Brien [Sun, 14 Feb 1999 22:04:09 +0000 (22:04 +0000)]
Cosmetic reformating.

25 years agoMore appropriate fix to the id_irq read during probe
Nicolas Souchu [Sun, 14 Feb 1999 22:02:47 +0000 (22:02 +0000)]
More appropriate fix to the id_irq read during probe

25 years agoFrom rev. 1.12 of usr.sbin/pstat/pstat.c by phk:
Dmitrij Tejblum [Sun, 14 Feb 1999 21:42:05 +0000 (21:42 +0000)]
From rev. 1.12 of usr.sbin/pstat/pstat.c by phk:
Reflect the fact that we do not swap on the first <dmmax> blocks of a
swapdev, to protect disklabels and other such magic stuff.

25 years agoPut a convenient marker in rc.conf to show updates.
Jordan K. Hubbard [Sun, 14 Feb 1999 21:35:02 +0000 (21:35 +0000)]
Put a convenient marker in rc.conf to show updates.
Better screen saver descriptions.

25 years agoFix incorrect initial state for two variables.
Jordan K. Hubbard [Sun, 14 Feb 1999 21:26:29 +0000 (21:26 +0000)]
Fix incorrect initial state for two variables.

25 years ago Only needed to cast array index from char to unsigned char, did not
Matthew Dillon [Sun, 14 Feb 1999 20:58:21 +0000 (20:58 +0000)]
Only needed to cast array index from char to unsigned char, did not
    also have to cast it to int.  (int)(unsigned char)char_exp ->
    (unsigned char)char_exp.

25 years agoOn second thought: do previous fux in pcic.c better.
Guido van Rooij [Sun, 14 Feb 1999 20:41:01 +0000 (20:41 +0000)]
On second thought: do previous fux in pcic.c better.
Now we just untimeout the call to inserted() if it exists.

25 years agoMF3: add SYSVMSG
Jordan K. Hubbard [Sun, 14 Feb 1999 20:28:38 +0000 (20:28 +0000)]
MF3: add SYSVMSG

25 years agoSomehow, it is possible to get a pcicintr() when in the resume process.
Guido van Rooij [Sun, 14 Feb 1999 20:16:15 +0000 (20:16 +0000)]
Somehow, it is possible to get a pcicintr() when in the resume process.
This will trigger inserted()) to be called twice which confuses pccardd.
Add code to not process pcicitr())'s when in the middle of a resume
process. The real insertion of cards and the emulated one in the suspend/resume
code really do not mix up.

25 years agoMF3: SYSVMSG addition, fluff with release notes.
Jordan K. Hubbard [Sun, 14 Feb 1999 20:14:58 +0000 (20:14 +0000)]
MF3: SYSVMSG addition, fluff with release notes.

25 years agoInclude all the recent screen savers.
Jordan K. Hubbard [Sun, 14 Feb 1999 20:14:07 +0000 (20:14 +0000)]
Include all the recent screen savers.

25 years agoLook in correct rc.conf file.
Jordan K. Hubbard [Sun, 14 Feb 1999 20:06:02 +0000 (20:06 +0000)]
Look in correct rc.conf file.

Submitted by: Kevin Street <street@iname.com

25 years agoDTRT for acd/wcd backwards compatibility
Jordan K. Hubbard [Sun, 14 Feb 1999 19:41:36 +0000 (19:41 +0000)]
DTRT for acd/wcd backwards compatibility

25 years agoUpdate to match ports reality.
Jordan K. Hubbard [Sun, 14 Feb 1999 18:53:17 +0000 (18:53 +0000)]
Update to match ports reality.

25 years ago4.0-current!
Jordan K. Hubbard [Sun, 14 Feb 1999 18:48:44 +0000 (18:48 +0000)]
4.0-current!

25 years agoThe way the interrupt id was calculated was wrong and the lpt
Nicolas Souchu [Sun, 14 Feb 1999 17:09:59 +0000 (17:09 +0000)]
The way the interrupt id was calculated was wrong and the lpt
driver was thinking irq was enabled although it wasn't.
This case was particular to a no-interrupt static configuration.

Reported by: "Norman C. Rice" <nrice@emu.sourcee.com>

25 years agoMove lp.4 to man4. It is not i386 dependent.
Nicolas Souchu [Sun, 14 Feb 1999 16:22:27 +0000 (16:22 +0000)]
Move lp.4 to man4. It is not i386 dependent.

Fix ppbus and lpt declaration ('0' forgotten). Add info about retrieving
printer status with 'cat /dev/lpt0'.

25 years agoMove away from lpt.h data structure definition that only lpt.c relies on.
Nicolas Souchu [Sun, 14 Feb 1999 16:19:16 +0000 (16:19 +0000)]
Move away from lpt.h data structure definition that only lpt.c relies on.

Remove if_plip.c dependency to lpt.h.

25 years agoReturn approriate errors to userland.
Nicolas Souchu [Sun, 14 Feb 1999 14:36:45 +0000 (14:36 +0000)]
Return approriate errors to userland.

25 years agoMention that chflags can fail with EOPNOTSUPP.
Dag-Erling Smørgrav [Sun, 14 Feb 1999 13:58:18 +0000 (13:58 +0000)]
Mention that chflags can fail with EOPNOTSUPP.

25 years agoIgnore errors from chflags. This makes it possible to make installworld
Dag-Erling Smørgrav [Sun, 14 Feb 1999 13:56:15 +0000 (13:56 +0000)]
Ignore errors from chflags. This makes it possible to make installworld
with DESTDIR set to an NFS-mounted file system.

25 years agoAdd -e option and change unit to device access in lptcontrol.8
Nicolas Souchu [Sun, 14 Feb 1999 12:23:49 +0000 (12:23 +0000)]
Add -e option and change unit to device access in lptcontrol.8

Change unit to device access in lptcontrol.c. Now usage is

lptcontrol -i | -p | -e [-d /dev/lpt?]

25 years agoDescribe manual dialing in greater detail.
Brian Somers [Sun, 14 Feb 1999 12:16:41 +0000 (12:16 +0000)]
Describe manual dialing in greater detail.
Mention more rfc numbers.
Don't ``.Nm Ppp'' (just use ``.Nm'').

25 years agoCreate new lpt manpage with ppbus info and the original lpt info.
Nicolas Souchu [Sun, 14 Feb 1999 12:06:16 +0000 (12:06 +0000)]
Create new lpt manpage with ppbus info and the original lpt info.

Fix lp.4 ppbus terminology.

25 years agoFix interrupt handling with DMA. Bit nFault was tested in the control reg.
Nicolas Souchu [Sun, 14 Feb 1999 12:03:35 +0000 (12:03 +0000)]
Fix interrupt handling with DMA. Bit nFault was tested in the control reg.
instead of the status reg. and check ECP mode before considering nFault.

25 years agoRename nlpt to lpt.
Nicolas Souchu [Sun, 14 Feb 1999 12:00:00 +0000 (12:00 +0000)]
Rename nlpt to lpt.

Remove from ppi.c the old depreciated module stuff.
Print info when if_plip can't use interrupts.

25 years agouse minimum length for strcoll too
Andrey A. Chernov [Sun, 14 Feb 1999 09:44:56 +0000 (09:44 +0000)]
use minimum length for strcoll too

25 years agoUse more sensible defaults.
Jordan K. Hubbard [Sun, 14 Feb 1999 07:43:07 +0000 (07:43 +0000)]
Use more sensible defaults.

25 years agorc.conf vars no longer "dirty" by default.
Jordan K. Hubbard [Sun, 14 Feb 1999 07:35:27 +0000 (07:35 +0000)]
rc.conf vars no longer "dirty" by default.

25 years agoPreserve existing rc.conf contents.
Jordan K. Hubbard [Sun, 14 Feb 1999 05:52:57 +0000 (05:52 +0000)]
Preserve existing rc.conf contents.

25 years agolpt -> nlpt and ppbus due to Dag's changes.
Warner Losh [Sun, 14 Feb 1999 05:18:35 +0000 (05:18 +0000)]
lpt -> nlpt and ppbus due to Dag's changes.

Submitted by: Joseph Koshy <jkoshy@FreeBSD.ORG>

P.S.  Forgive the delay on committing this.  I've been out of town at
a funeral until just a few minutes ago.

25 years agoFix .Fx usage.
Bill Fenner [Sat, 13 Feb 1999 21:45:58 +0000 (21:45 +0000)]
Fix .Fx usage.

25 years agoMake sure correct path is set in upgrade.
Jordan K. Hubbard [Sat, 13 Feb 1999 18:49:02 +0000 (18:49 +0000)]
Make sure correct path is set in upgrade.

Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>

25 years agoFix the date and add an smbus declaration
Nicolas Souchu [Sat, 13 Feb 1999 18:08:35 +0000 (18:08 +0000)]
Fix the date and add an smbus declaration

25 years agoHandle correctly iicbus request/release mechanism. Add iicbus allocation
Nicolas Souchu [Sat, 13 Feb 1999 18:01:55 +0000 (18:01 +0000)]
Handle correctly iicbus request/release mechanism. Add iicbus allocation
to the general purpose i/o iic(4) driver.