Commit Graph

13308 Commits

Author SHA1 Message Date
jkh
59452b81ee Use proper path to hostname 1996-03-19 11:51:36 +00:00
dyson
1fa4d69259 Fix the problem that unmounting filesystems that are backed by a VMIO
device have reference count problems.  We mark the underlying object
ono-persistent, and account for the reference count that the VM system
maintainsfor the special device close.  This should fix the removable
device problem.
1996-03-19 05:13:22 +00:00
nate
b10555454e Added kernel compile time failure if more than one APM device is
configured.
1996-03-19 04:49:13 +00:00
nate
ebbb96df5d Always enable interrupts before calling the APM idle/busy routines.
Suggested by:	phk@FreeBSD.org
1996-03-19 04:40:03 +00:00
nate
792e8500f7 "options APM" is no longer necessary for APM support. 1996-03-19 04:19:30 +00:00
jkh
c1e64e481a Fix Nate's spamming of this file - every backquote needs a matching one.. :-) 1996-03-19 03:48:53 +00:00
jkh
e8a940f758 Move libdisk to its new home. 1996-03-19 03:26:33 +00:00
nate
2a6c56cfef Minor bugfixes from the recent PC-CARD release.
Submitted by:	hosokawa@mt.cs.keio.ac.jp and the rest of the Nomads
1996-03-18 23:30:14 +00:00
joerg
f80020a36d Fix an infinite loop for empty files in the archive, and handle
sparsely stored linked files correctly.

Submitted by:	haug@conterra.com (Brian R. Haug)
1996-03-18 23:08:29 +00:00
nate
f4fd38ee57 Grr, let's actually include <sys/devconf.h> so that DEVCONF support actually
works.
1996-03-18 22:47:16 +00:00
nate
4995ce37e8 Whoops, forgot the line that sets the default state in devfs. 1996-03-18 22:40:57 +00:00
nate
4c7fdd4f2e Devfs support.
Submitted by:   hosokawa@mt.cs.keio.ac.jp and the rest of the Nomads

Cleanup.
1996-03-18 22:29:48 +00:00
nate
c7f74c6b51 Removed support for multiple APM devices. 1996-03-18 21:58:22 +00:00
joerg
68ce2696d4 Several changes to the gethostname module:
. rename the function to main'gethostname, so it can be called unqualified,
. strip the trailing \0 character, closes PR # bin/1084,
. a better way to express an insane long string.

Submitted by:	Giles Lean <giles@topaz.nemeton.com.au> (except the 1st)
1996-03-18 21:42:31 +00:00
nate
04b8bc9479 Use /dev/apm instead of /dev/apm0. 1996-03-18 20:35:17 +00:00
nate
38ef8cf799 Open up /dev/apm instead of /dev/apm0. 1996-03-18 20:34:29 +00:00
nate
aaff9b04b7 Added some comments regarding the apm device, and added support to
create the PC-CARD devices.

Note: The APM character special device is named /dev/apm and not apm0 as
was prvioiusly since only one APM device can exist in a system at a time
according to the the APM specifications.
1996-03-18 20:28:27 +00:00
nate
472c26292e Synchronize relevant changes from the most recent PC-CARD release. 1996-03-18 20:15:24 +00:00
joerg
aa8fa83344 Add libdisk. 1996-03-18 18:59:08 +00:00
jkh
6e8165c16a Lots of fixes:
1. Revamp package installer to use new dependency lists and also
   pkg_add's new `read from stdin' mode to prevent a copy of the package
   from hitting the disk unnecessarily.

2. More fixes for running "not as init" - don't get upset if CDROM already
   mounted, do the right thing instead.

3. If running as init, assume first-time install and _don't show the
   (W)rite option in the fdisk screen.

4. Many other little tweaks, some of which will have to wait for fuller testing
   until I can create a boot floppy (testing certain system-destroying
   features of sysinstall can be a royal pain).  Expect some more commits.
1996-03-18 15:28:10 +00:00
jkh
e938ba728f Fix bogus MLINKS line. When is the old libdisk going to go away, BTW? 1996-03-18 15:15:42 +00:00
dg
c9c91989d4 Fix bug that caused a coredump when attempting to enter passive mode when
not logged in. Original fix slightly altered by me to return the correct
reply code.

Submitted by:	Vadim Kolontsov <vadim@tversu.ac.ru>
1996-03-18 11:09:03 +00:00
joerg
126dc2f282 libdisk is now `adult':
. install libdisk.h into /usr/include
. add a (preliminary) manpage, mostly featured after phk's comments
  in libdisk.h
1996-03-17 23:20:09 +00:00
joerg
a93800a519 libdisk is now installed as a standard library. 1996-03-17 23:08:37 +00:00
phk
39f6873937 Fix the pccard install. 1996-03-17 20:37:03 +00:00
phk
44790fdc3d Always dsgone() slices when we leave. 1996-03-17 20:33:02 +00:00
guido
7a8ec4f7ff Work around a bug in the Sun rpc code. This fixes a problem where
a machine with aliase ip addresses on the same subnet of an
interfaces' `real' ip addresses would generate <n> duplicate
broadcasts in clnt_broadcast().
Basically, this fix does a purge on the list of bradcast addresses.
1996-03-17 20:12:53 +00:00
peter
f319c01b19 Repository copy src/release/libdisk to src/lib/libdisk as per recent
discussion on -core about disk partitioning tools etc.

Add NOPIC=yes to Makefile to prevent any possibility of version mismatch
because of the potential grave consequences. (as suggested by phk)

Note that this is also on RELENG_2_1_0, since the sysinstall stuff is
hopefully going to remain in sync.
1996-03-17 19:02:07 +00:00
markm
73546c6080 Comment out the NOPROFILE=yes to make this orthogonal with the rest of our
libs.
1996-03-17 15:43:32 +00:00
peter
60cf70fbc6 Update the linux_sendsig() handler to the new type of the 4th
arg, now unsigned long.  This was (harmlessly on i386) conflicting
with the recent 4.4Lite2 changes.
1996-03-17 14:31:58 +00:00
ache
13b92da068 Fix/cleanup raw partition open/close code 1996-03-17 13:33:42 +00:00
jkh
783a3fe936 Whoops, don't forget the man page that goes with the previous commit.
Submitted-by: M. Sekiguchi <seki@sysrap.cs.fujitsu.co.jp>
1996-03-17 11:44:22 +00:00
joerg
6aa1e2ad8b Minor correction regarding the last line of an uuencoded file.
Submitted by:	Giles Lean <giles@topaz.nemeton.com.au>
1996-03-17 09:49:51 +00:00
joerg
e34654d225 Fix a couple of sign-extension bugs.
Submitted by:	serg@bcs1.bcs.zaporizhzhe.ua (Sergey Shkonda)
1996-03-17 09:00:48 +00:00
markm
0bb6d12402 Hack-and-slash out the old 1.1.* stuff.
Later commits will bring in 4.4-Lite and 4.4-lite2 stuff.
Reviewed by:	bruce, rgrimes
1996-03-17 08:48:20 +00:00
jkh
83871e4f56 Add fe0 to the LINT and GENERIC files (hmmm - looks like my rcvs setup't
isn't supplying all the proper header info here!  Last commit of fe0
entry should have had the following Submitted by line also).
Submitted-by: Masahiro SEKIGUCHI <seki@sysrap.cs.fujitsu.co.jp>
1996-03-17 08:39:51 +00:00
jkh
e7242595bb This is a revised fe, Ethernet driver for MB8696x based adapters. 1996-03-17 08:36:38 +00:00
dyson
fb28135c8b Yet another fix from BDE for the new pipe code. This fixes a potential
deadlock due to mismanagement of busy counters.

Reviewed by: dyson
Submitted by: bde
1996-03-17 04:52:10 +00:00
peter
f5f9b2ee23 Changes to the Digi/Arnet SYNC driver:
1. Create 2 x 8k transmit buffer blocks in place of the 16k block previously.
   With this change the speed as tested with ttcp on a 2Mbit link went up
   from 206kbyte/s to 236kbyte/s.
2. Change the rest of the functions to also have the definition of the
   return value on a sepperate line.
3. Remove some unused variables.
4. Add code to recover from DMA underruns.
5. Reorder ar_get_packets() to handle errors better.
6. Only allocate a mbuf cluster if the data is more than the mbuf.

(and in a second diff in addition to the above)
7. Stops the occasional DMA underruns that occurred when 2 channels
   are running at 2Mbit/s.

Submitted by: John Hay <jhay@mikom.csir.co.za>
1996-03-17 00:29:35 +00:00
pst
a084148f20 This commit was generated by cvs2svn to compensate for changes in r14640,
which included commits to RCS files with non-trunk default branches.
1996-03-16 22:06:26 +00:00
pst
9bb1b6140b Bring in support code to make QuickCam driver a LKM.
Stolen from: jmz
1996-03-16 22:06:26 +00:00
wpaul
d51d5c3ca5 gethostbynis.c:
- Fix problem described in PR #1079: _gethostbynisaddr() doesn't
  work. Make it accept the same arguments as all the other
  gethostby*addr() functions and properly convert the supplied IP
  address into a text string so that yp_match() can find it in the
  hosts.byaddr map.

- Also fix potential memory leak: copy the results of yp_match() to
  a static buffer and free the result (yp_match() returns dynamically
  allocated memory).

ether_addr.c:

- Since I was in the neighborhood, fix ether_ntohost() and
  ether_hostton() so that they don't bogusly for a free(result)
  when yp_match() fails.
1996-03-16 21:25:59 +00:00
dg
47ab1071a2 Force device mappings to always be shared. It doesn't make sense for them
to ever be COW and we need the mappings to be shared for backward
compatibilty.

Reviewed by:	dyson
1996-03-16 15:00:05 +00:00
jmz
6d4bf6f5df Add joy to the SUBDIR list. 1996-03-16 01:43:26 +00:00
jmz
7547786cc6 Build LKM for joystick driver. 1996-03-16 01:35:48 +00:00
jmz
30f513a82b Fix the isa_device table (lkm): id_irq and id_maddr must be 0.
Pointed out by: bde
1996-03-16 01:08:04 +00:00
jmz
38b27e1399 Add code to make it a loadable kernel module 1996-03-15 20:35:06 +00:00
fenner
7eae8f5c38 Allow SIOCGIFBRDADDR and SIOCGIFNETMASK to return information about
aliases, if the alias address was passed in the struct ifreq.
Default to first address on the list, for backwards compatibility.
1996-03-15 17:08:07 +00:00
olah
4bc23fada7 Allow the user to disable the use of T/TCP by setting the -T option.
This option becomes useless when all TCP stacks are fixed out there.
1996-03-15 16:41:49 +00:00
peter
a219c408e3 Actually implement SA_RESETHAND - some of the sigaction code recognised it
but didn't actually do anything with it (*blush*).

This should fix bde's test case where the test program set SA_RESETHAND
and when reading it back, it was gone.

Tweak/optimize SA_NODEFER so that the implementation is a little simpler
and does not incur (slight) overhead for every signal at delivery time.
1996-03-15 08:01:33 +00:00