38109 Commits

Author SHA1 Message Date
sos
7ba9cdf259 Seventh update to the new ATA/ATAPI driver:
Fixed problems:

    LS120 drives currupted data.
	The workaround for drives not supporting upto 64K transfers
	has been reworked. It works now both on LS120 & ZIP drives.

    ISA only configs wont compile.
	Fixed.

    The ATA driver wont share interrupts.
	Fixed.

    The "unwanted interrupt" warning gave wrong controller.
	Another lun<>unit messup from the newbus integration.

Some minor cleanups and rearrangements as well.

As usual USE AT YOUR OWN RISK!!, this is still pre alpha level code.
Especially the DMA support can hose your disk real bad if anything
goes wrong, again you have been warned :)
Notebook owners should be carefull that their machines dont suspend
as this might cause trouble...

But please tell me how it works for you!

Enjoy!

-Søren
1999-05-17 15:58:47 +00:00
phk
be12e9cff9 Use NOUDEV for udev_t's 1999-05-17 13:50:24 +00:00
dfr
d957066dc4 Change the definition of e_tdev in struct kinfo_proc from dev_t to udev_t
Reviewed by: Poul-Henning Kamp <phk@critter.freebsd.dk>
1999-05-17 13:28:35 +00:00
kato
91e1745f17 - Fixed default irq in SMP kernel.
- Removed hardcode IRQ in #ifdef PC98.
1999-05-17 12:38:28 +00:00
kato
7d4fd26819 Sync with sys/i386/isa/npx.c revision 1.73. 1999-05-17 12:13:28 +00:00
kato
ab6fd80abe Sync with sys/i386/i386/userconfig.c revision 1.144. 1999-05-17 12:09:07 +00:00
kato
c8c1eef53e Removed ucmpdi2.c 1999-05-17 12:07:00 +00:00
jkoshy
dd902ec928 Use current names for swap devices.
PR:		docs/11708
Submitted by:	Matthew D. Fuller <fullermd@over-yonder.net>
1999-05-17 05:23:17 +00:00
jkoshy
a53a51c064 Refer to current names for swap partitions in the `FILES' section.
PR:		docs/11709
Submitted by:	Matthew D. Fuller <fullermd@over-yonder.net>
1999-05-17 05:19:13 +00:00
alc
936a553033 Add the options MAP_PREFAULT and MAP_PREFAULT_PARTIAL to vm_map_find/insert,
eliminating the need for the pmap_object_init_pt calls in imgact_* and
mmap.

Reviewed by:	David Greenman <dg@root.com>
1999-05-17 00:53:56 +00:00
steve
1762400fc8 s/cF/nF/ in a couple of places.
PR:		10841
Submitted by:	Kaneda Hiloshi <vanitas@ma3.seikyou.ne.jp>
1999-05-16 23:51:10 +00:00
mph
55cb8f746e This needs to be "at atkbdc?" rather than "at isa?". It's correct
in GENERIC and LINT, which is why I only needed four reboots to figure
out why my keyboard wasn't keyboarding.
1999-05-16 20:48:21 +00:00
pb
695feac96a PR: kern/10570
Submitted by:	adrian@freebsd.org

Change reference count in struct ifaddr to a u_int, to be able
to handle more than 2^16 routes to the same interface.

Fix suggested by Andrew Bangs <andrewb@demon.net> in PR kern/10570.
Tested by <adrian@freebsd.org> and me under -current.
1999-05-16 17:09:20 +00:00
brian
0934553336 Mention ``show layers'' 1999-05-16 13:39:03 +00:00
phk
c0bcaf4af8 More crypto bogosity.
(I just built a current snap-shot)
1999-05-16 12:21:54 +00:00
brian
b609023898 Initialise ttydevice::Timer 1999-05-16 11:58:48 +00:00
phk
4d19e50f17 $ brucify -deblunder 1999-05-16 10:51:52 +00:00
phk
3dc9bdca32 Change tcp_extension comment.
Submitted by:	Studded <Studded@gorean.org>
Reviewed by:	phk
1999-05-16 09:19:44 +00:00
phk
0502f4560f Turn an error into a warning. If running a 4.x binary on a 3.x system
we may still have vn in the kernel but not be able to see it.

This enables building -current SNAPS in a chroot on a -stable system
1999-05-16 08:09:23 +00:00
phk
b72d5cc0d2 INSTALL.TXT is gone in -current (despite what Jordan says :-)
kerberisIV requires crypto as well.
1999-05-16 08:07:34 +00:00
jb
3a3772dd56 Ensure that an existing thread gets it's state set to PS_DEAD to
prevent being rescheduled.

Submitted by: Dan Eischen <eischen@vigrid.com>
1999-05-16 05:25:37 +00:00
alc
83a9863079 Remove prototypes for functions that don't exist anymore (vm_map.h).
Remove a useless argument from vm_map_madvise's interface (vm_map.c,
	vm_map.h, and vm_mmap.c).

Remove a redundant test in vm_uiomove (vm_map.c).

Make two changes to vm_object_coalesce:

1. Determine whether the new range of pages actually overlaps
the existing object's range of pages before calling vm_object_page_remove.
(Prior to this change almost 90% of the calls to vm_object_page_remove
were to remove pages that were beyond the end of the object.)

2. Free any swap space allocated to removed pages.
1999-05-16 05:07:34 +00:00
dt
c936e75142 Fix confusion of size of transfer with size of the pager.
PR:		11658
Broken in:	1.89 (1998/03/07)
1999-05-15 23:42:39 +00:00
eivind
666b84b5f7 Add enough include files to make this actually compile on an a.out system. 1999-05-15 23:18:32 +00:00
phk
e5cb54b508 Be more non-crypto friendly at make release time. 1999-05-15 19:21:15 +00:00
phk
e181872474 cp ${KERNEL} instead of cp kernel 1999-05-15 19:05:40 +00:00
obrien
b65b8885a3 Add `xe', the Xircom PC Card Ethernet driver. 1999-05-15 18:20:19 +00:00
dfr
e6e809650d Make sure sysctls use udev_t, not dev_t.
Submitted by: Thomas Valentino Crimi <tcrimi+@andrew.cmu.edu>
1999-05-15 18:14:03 +00:00
peter
2359d3bde7 Don't hardcode IRQ 13 for NPX. It's as good as hardwired in the hardware
though, on systems (386 mostly) that still have a seperate fpu, but it
might be possible to find systems where the FPU coprocessor is wired to
a different IRQ pin.
1999-05-15 17:58:58 +00:00
dfr
6c3f971989 Make sure sysctls use udev_t, not dev_t.
Submitted by: Thomas Valentino Crimi <tcrimi+@andrew.cmu.edu>
1999-05-15 17:56:34 +00:00
jkh
5ff0e21e0e Small typo in windowmaker startup line. 1999-05-15 15:05:08 +00:00
jkh
33daa8b33a o Prevent alpha installs from grabbing x86 bits and vice-versa, at least
on CDs and FTP sites.

o Collapse some redundant code.

o Fix typo'd menu.

o Restrict searches properly to packages rather than categories.

o Small tweaks to signal handling.

All RELENG_3 candidates.
1999-05-15 14:34:22 +00:00
bde
f1c57e949b Test the correct database file (not necessarily the one corresponding to
the running kernel if the nlist file is specified explicitly).
1999-05-15 11:54:36 +00:00
jkh
13644a2bd2 target is ${KERNEL}, not kernel.
Noticed by:	"John W. DeBoskey" <jwd@unx.sas.com>
1999-05-15 11:51:39 +00:00
grog
ea4b34b015 Reenable vinum build. 1999-05-15 06:13:27 +00:00
grog
f834718a6b Modify to work with new style dev_t.
With_copious_input_from:  peter
			  phk
1999-05-15 05:49:21 +00:00
brian
891aeb93bc Add ``show layers'' to see the protocol layering for a link. 1999-05-15 02:24:18 +00:00
imp
c0bdb16af0 Put a small delay in before sending the inquire_setup command. The
docs don't seem to shed light on why this is needed, but reports from
the field indicate this helps prevent problems in this area.  Ken's
changes seem to have exposed this bug, rather than caused it, as far
as I can tell.

Thanks to Jack O'Neill for tracking this down.

Submitted by: jack@germanium.xtalwind.net

Very strong 3.2 merge candidate.
1999-05-14 23:10:25 +00:00
alc
e79d7db00b Simplify vm_map_find/insert's interface: remove the MAP_COPY_NEEDED option.
It never makes sense to specify MAP_COPY_NEEDED without also specifying
MAP_COPY_ON_WRITE, and vice versa.  Thus, MAP_COPY_ON_WRITE suffices.

Reviewed by:	David Greenman <dg@root.com>
1999-05-14 23:09:34 +00:00
nate
188a2f4871 - Fixed bug where we NULL'd before we freed the data causing a memory leak.
Submitted by:	 Ralf S. Engelschall
Obtained from:	PR i386/11713
1999-05-14 21:36:16 +00:00
alex
f43ff516fd Removed extraneous comma in xrefs. 1999-05-14 21:03:23 +00:00
alex
e9fc5ab540 Added missing comma in xrefs. 1999-05-14 21:03:11 +00:00
luoqi
61a6d052eb Ignore some ioctls on the master until the slave is open. 1999-05-14 20:44:20 +00:00
luoqi
6f6fbfa99e Legally acquire a major number for mfs. 1999-05-14 20:40:23 +00:00
dcs
a2b3ce9271 Rewording. 1999-05-14 19:07:59 +00:00
dcs
f239b39763 Slight not-exactly-bug-but-useful-as-example-code fix. 1999-05-14 19:00:38 +00:00
dcs
0c3ef21962 Add "initialize" to loader.4th, so running "start" is not actually needed. 1999-05-14 18:59:27 +00:00
wosch
6cbd1117d8 Delete debug line.
PR:	bin/9793
Submitted by: Andy Farkas <andyf@speednet.com.au>
1999-05-14 18:45:18 +00:00
wpaul
db15f3fbac Fix usage in wicontrol.c to agree with man page.
Update documentation for -f frequency selection option to include complete
list of channel numbers and frequencies.
1999-05-14 18:31:31 +00:00
dcs
c4a4e43379 Add a menu example making use of loader.4th(8) facilities.
Merge candidate, as it is just an example...
1999-05-14 18:06:27 +00:00