Commit Graph

53841 Commits

Author SHA1 Message Date
jkh
3e6dc67f1f For High security profile, set securelevel to 1 to protect /dev/*mem
and mounted disks, among other things.

Requested by:	kirk
2000-11-07 23:05:14 +00:00
jdp
d9a6f6cc60 Remove the superfluous call to _rtld_error() in symlook_default().
The function's callers generate the error message when appropriate.

This eliminates the message ``Undefined symbol "__register_frame_info"''
which was bogusly returned by dlerror() in some cases.
2000-11-07 22:41:53 +00:00
mjacob
d0b11154ff (KTR debugging) Say when we're disabling a vector. 2000-11-07 22:29:21 +00:00
obrien
8d96a006d8 Use size_t rather than a 16-bit data type fo the length.
PR:	9350
Submitted by:	Danny J. Zerkel <dzerkel@columbus.rr.com>
2000-11-07 22:19:23 +00:00
obrien
b10ac36738 Sync with i386's GENERIC rev 1.287 (Minor ordering changes to make more
sections strictly alphabetical.)
2000-11-07 22:09:33 +00:00
obrien
c93908d247 Sync with i386/conf/GENERIC rev 1.288 (add comments for some ISA devices). 2000-11-07 22:07:07 +00:00
obrien
4b7105175f Remove the -kthread option that matched [sort of] the LinuxThreads port.
This option depended on bits not part of the base system and required
people to install the LinuxThreads port in a manner non-consistent with
the workings of our Ports Collection.
The directions for properly linking with LinuxThreads are given by that
port at install time.

Requested by:	jasone
2000-11-07 21:49:08 +00:00
imp
fc69b6ff5c Merge from GENERIC 1.288 2000-11-07 21:26:34 +00:00
imp
8de1a9bdc0 Make the ISA nic section look like the other device sections with
comments on the same line like so:
	device		foo		# FooInc Brand NetEther cards

Also, move the wireless NIC cards to their own section.

Add commented out wl driver in wireless section.

Remove obsolete or redundant comments about some of the wireless cards
that used to apply but don't since we've removed 'at foobus'.

There should be no functional changes in this change.
2000-11-07 21:20:52 +00:00
imp
13a9a08167 Synchronize NEWCARD kernel to GENERIC kernel. It is still experimental,
but it doesn't hurt to keep these things in sync.
2000-11-07 21:07:35 +00:00
imp
994812ef77 Minor ordering changes to make more sections strictly alphabetical. 2000-11-07 21:06:57 +00:00
joe
bbb1fb2325 Fixup the /tmp directory permissions to 01777.
PR:     misc/15875
2000-11-07 20:40:21 +00:00
semenu
053ff12a41 Synced tx(4) driver descriptions + ``device tx'' line moved to the
list of drivers using miibus.

PR:		kern/22556
2000-11-07 20:22:19 +00:00
jhb
b7e0b7b920 Remove the now unused and unneeded splassert macros and prototypes. 2000-11-07 18:51:42 +00:00
alfred
3e03c96525 Protect against an infinite loop when prefaulting pages. This can
happen when the vm system maps past the end of an object or tries
to map a zero length object, the pmap layer misses the fact that
offsets wrap into negative numbers and we get stuck.

Found by: Joost Pol aka Nohican <nohican@marcella.niets.org>
Submitted by: tegge
2000-11-07 18:31:16 +00:00
hosokawa
263a923eb9 This file has not been used for long time. 2000-11-07 14:14:38 +00:00
hosokawa
48e7eb5e67 Moved if_de to mfsroot.flp (we've got 16KB free space in kern.flp) 2000-11-07 14:00:04 +00:00
joe
2dc2aaa85a Load the kernel and root file systems from floppy:/. 2000-11-07 12:33:46 +00:00
n_hibma
a08e403bc2 Fix for powering off a HP DJ950C during printing. As stated by Ian:
When the printer is turned off the pipe write will cause and error,
which causes lpd to close the device and reopen it to clear the error.
After a short while the device will disappear from the bus but lpd will
have opened the ulpt0 port by then. ulpt_status will check for status
without checking the sc->dying flag and panic the kernel when the device
finally disappears from the bus.

Submitted by:	Ian Dowse <iedowse@maths.tcd.ie>
2000-11-07 10:50:34 +00:00
kjc
3bd5d69a0a newbusify the en atm driver. 2000-11-07 09:31:28 +00:00
kjc
d9fa1d2620 newbusify the en atm driver.
also
 - sync with netbsd
 - fix a bug that miscalculates tx cell counts when the pointer size isn't 4

tested both ENI and Adaptec cards on both i386 and alpha.
2000-11-07 09:30:14 +00:00
ru
989e1579f6 Fixed the security breach I introduced in rev 1.145.
Disallow getsockopt(IP_FW_ADD) if securelevel >= 3.

PR:		22600
2000-11-07 09:20:32 +00:00
hosokawa
7dea90b2ef Added Intel Gigabit Ethernet card to device menu. 2000-11-07 09:16:14 +00:00
jkh
0981bd80e0 While we're still arguing over debugging output, at least be in a
self-consistent state.

Requested by:	bde
2000-11-07 08:47:11 +00:00
brian
b978119caa Handle being given a connect()ed udp descriptor as stdin rather
than assuming it's unconnected.
2000-11-07 04:29:46 +00:00
brian
a38b1bf086 Pass the correct output options to the ccp output initialisation
routine rather than passing it the first requested output option.

Ensure that options are freed correctly even if we don't reach
TLU.
2000-11-07 04:29:33 +00:00
jhb
e30917a73e Document the KTR_VERBOSE option. 2000-11-07 01:50:10 +00:00
jhb
a147dbcf93 - Remove much of the inlining of the KTR tracepoints into a ktr_tracepoint()
function declared in kern_ktr.c.  The only inline checks left are the
  checks that compare KTR_COMPILE with the supplied mask and thus should
  be optimized away into either nothing or a direct call to ktr_tracepoint().
- Move several KTR-related options to opt_ktr.h now that they are only
  needed by kern_ktr.c and not by ktr.h.
- Add in the ktr_verbose functionality if KTR_EXTEND is turned on.  If the
  global variable 'ktr_verbose' is non-zero, then KTR messages will be
  dumped to the console.  This variable can be set by either kernel code
  or via the 'debug.ktr_verbose' sysctl.  It defaults to off unless the
  KTR_VERBOSE kernel option is specified in which case it defaults to on.
  This can be useful when the machine locks up spinning in a loop with
  interrupts disabled as you might be able to see what it is doing when it
  locks up.

Requested by:	phk
2000-11-07 01:49:48 +00:00
wpaul
56ad93afb4 The vortex driver can be compiled as a KLD now. The EISA attachment
is only built on the i386 platform for now, since it depends on symbols
which I'm pretty sure won't be present in the alpha build.
2000-11-07 01:03:23 +00:00
wpaul
fc831555eb The vx driver no longer needs the PCI compat shims. Also should now
work on the alpha (at least the PCI part should).
2000-11-07 00:58:35 +00:00
wpaul
dfc4fbb639 Update the vortex driver so that it no longer needs the PCI compat
interface. In addition to using newbus, it also uses bus_space rather
than inb/outb to make it MI. The grody static softc allocation stuff
has been removed as well.
2000-11-07 00:56:14 +00:00
jhb
7bb34d92a0 Minor nit: missed ithd_loop -> sithd_loop in the KTR tracepoints. 2000-11-07 00:45:18 +00:00
jhb
7ee94f3cb0 Remove an unneeded #include <machine/bus.h> that snuck in accidentally with
the MI mutexes.

Submitted indirectly by:	bde
2000-11-07 00:44:24 +00:00
cg
307f173be5 adjust dma channels for vibra16x; recording should now work. full duplex does
not work on vibra16x, so is disabled.
2000-11-07 00:38:59 +00:00
cg
6b4272c663 slight mods to isa dma and channel flushing code 2000-11-07 00:32:35 +00:00
cg
f44d3f03ba if a channel dies, rejuvenate it on close() 2000-11-07 00:29:24 +00:00
msmith
02faec692b Ignore resources with a size of 0, as these are disabled (and we don't
deal with them properly elsewhere).

Submitted by:	Masayuki FUKUI <fukui@sonic.nm.fujitsu.co.jp>
2000-11-07 00:03:33 +00:00
jkh
a1a6483d6a MFS: add ATA raid support for sysinstall 2000-11-06 23:15:01 +00:00
msmith
9ac412435c Remove unused PCI includes. 2000-11-06 22:33:49 +00:00
cg
4e383ab4ca add AFMT_8BIT for easier determination of formats 2000-11-06 22:22:52 +00:00
msmith
c11aa70249 Quieten some warnings about correct usage of assignments as truth values. 2000-11-06 21:32:13 +00:00
gibbs
00e9873da7 Fix async notifications for listners registered to wildcard nodes. For
example, a client registered to receive specific events for bus 0, target *,
lun *, was not receiving notifications.

Reviewed by:	ken@FreeBSD.org
2000-11-06 20:12:07 +00:00
gibbs
13459a7344 aic7xxx.c:
When restarting the sequencer, ensure that the SCBCNT register
	is 0.  A non-zero count will prevent the setting of the CCSCBDIR
	bit in any future dma operations.  The only time CCSCBCNT would
	be non-zero is if we happened to halt the dma during a reset,
	but even that should never happen.  Better safe than sorry.

	When a command completes before the target responds to an
	ATN for a recovery command, we now notify the kernel so that
	any recovery operation requeued in the qinfifo can be removed
	safely.  In the past, we did this in ahc_done(), but ahc_done()
	may be called without the card paused.  This also avoids a
	recursive call to ahc_search_qinifo() which could have occurred if
	ahc_search_qinififo() happened to be the routine to complete
	a recovery action.

	Fix 8bit math used for adjusting the qinfifo.  The index must
	be wrapped properly within the 256 entry array.  We rely on the
	fact that qinfifonext is a uint8_t in most cases to handle
	this wrap, but we missed a few spots where the resultant
	calculation was promoted to an int.

	Change the way that we deal with aborting the first or second
	entry from the qinfifo.  We now swap the first entry in the
	qinfifo with the "next queued scb" to force the sequencer
	to see an abort collision if we ever touch the qinififo while
	the sequencer is mid SCB dma.

aic7xxx.reg:
	Add new MKMSG_FAILED sequencer interrupt.  This displaced
	the BOGUS_TAG interrupt used in some previous sequencer code
	debugging.

aic7xxx.seq:
	Increment our position in the qinfifo only once the dma
	is complete and we have verified that the queue has not
	been changed during our DMA.  This simplifies code in the
	kernel.

	Protect against "instruction creep" when issuing a pausing
	sequencer interrupt.  On at least the 7890/91/96/97, the
	sequencer will coast after issuing the interrupt for up
	to two instructions.  In the past we delt with this by
	using carefully placed nops.  Now we call a routine to
	issue the interrupt followed by a nop and a ret.

	Tell the kernel should an SCB complete with the MK_MESSAGE
	flag still set.  This means the target ignored our ATN request.

	Clear the channel twice as we exit the data phase.  On the
	aic7890/91, the S/G preload logic may require the second
	clearing to get the last S/G out of the FIFO.

aic7xxx_freebsd.c:
	Don't bother searching the qinfifo for a doubly queued
	recovery scb in ahc_done.  This case is handled by the
	core driver now.

	Free the path used to issue async callbacks after the callback
	is complete.

aic7xxx_inline.h:
	Split the SCB queue routine into a routine that swaps
	the SCB with the "next queued SCB" and a routine that
	calls the swapping routine and notifies the card of
	the new SCB.  The swapping routine is now also used by
	ahc_search_qinfifo.
2000-11-06 20:05:38 +00:00
gad
0a81eeee32 Cosmetic change of a structure name.
Turn    'struct queue { q_time, q_name }'           (loosely-speaking)
into    'struct jobqueue { job_time, job_cfname }'

Reviewed by:	GAWollman
2000-11-06 19:36:38 +00:00
gad
525504f372 Get rid of a minor compile-time warning. 2000-11-06 19:19:49 +00:00
asmodai
db460c4a6d This commit was generated by cvs2svn to compensate for changes in r68396,
which included commits to RCS files with non-trunk default branches.
2000-11-06 16:10:57 +00:00
asmodai
43c4a8b07e Fix AA being cleared on notify "queries"
Submitted by:	Mark Andrews <marka@nominum.com>
2000-11-06 16:10:57 +00:00
ru
ff45078d39 Fixed typos. 2000-11-06 15:46:57 +00:00
ru
a4136ed05a Fixed typo: .ar -> .Ar 2000-11-06 15:18:56 +00:00
ru
1d277c7046 Fixed typo: .FR -> .Fa 2000-11-06 12:41:27 +00:00