Commit Graph

53288 Commits

Author SHA1 Message Date
ru
1c21cf3de3 We now keep the ip_id field in network byte order all the
time, so there is no need to make the distinction between
ip_output() and ip_input() cases.

Reviewed by:	silence on freebsd-net
2000-10-25 10:56:41 +00:00
ps
fd78b03668 Fast interrupts have no associated process, therefore do not try
and schedule it.  This fixes booting machines with broken MP tables.
2000-10-25 10:40:20 +00:00
n_hibma
71ac041c16 The USB scanner driver. To be used together with SANE. 2000-10-25 10:34:38 +00:00
n_hibma
e885acb3b9 Regen. 2000-10-25 10:14:44 +00:00
n_hibma
95f62ef43c Sync with NetBSD 2000-10-25 10:13:47 +00:00
sos
449c9df3b1 Add the ATA_ENABLE_TAGS option 2000-10-25 08:25:37 +00:00
msmith
a020bb21aa Major update to the 'twe' driver.
- Layout reorganisation to enhance portability.  The driver now has
   a relatively MI 'core' and a FreeBSD-specific layer over the top.
   Since the NetBSD people have already done their own port, this is
   largely just to help me with the BSD/OS port.

 - Request ID allocation changed to improve performance (I'd been
   considering switching to this approach after having failed to come
   up with a better way to dynamically allocate request IDs, and seeing
   Andy Doran use it in the NetBSD port of the driver convinced me
   that I was wasting my time doing it any other way).  Now we just
   allocate all the requests up front.

 - Maximum request count bumped back to 255 after characterisation
   of a firmware issue (off-by-one causing it to crash with 256
   outstanding commands).

 - Control interface implemented.  This allows 3ware's '3dm' utility to
   talk to the controller.  3dm will be available from 3ware shortly.

 - Controller soft-reset feature added; if the controller signals a
   firmware or protocol error, the controller will be reset and all
   outstanding commands will be retried.
2000-10-25 06:59:06 +00:00
jhb
ff18363a3e - Overhaul the software interrupt code to use interrupt threads for each
type of software interrupt.  Roughly, what used to be a bit in spending
  now maps to a swi thread.  Each thread can have multiple handlers, just
  like a hardware interrupt thread.
- Instead of using a bitmask of pending interrupts, we schedule the specific
  software interrupt thread to run, so spending, NSWI, and the shandlers
  array are no longer needed.  We can now have an arbitrary number of
  software interrupt threads.  When you register a software interrupt
  thread via sinthand_add(), you get back a struct intrhand that you pass
  to sched_swi() when you wish to schedule your swi thread to run.
- Convert the name of 'struct intrec' to 'struct intrhand' as it is a bit
  more intuitive.  Also, prefix all the members of struct intrhand with
  'ih_'.
- Make swi_net() a MI function since there is now no point in it being
  MD.

Submitted by:	cp
2000-10-25 05:19:40 +00:00
mjacob
08451a100d Get rid of ridiculous ISP_PVS macro. Instead, just set an
ISP_SMPLOCK define based on the previous 5.4 major/minor release
define of PVS- because this allows us to turn it off easier.
2000-10-25 04:42:46 +00:00
mjacob
e31c79ac13 Whoops! Forgot to commit this when I committed the other (turnin on locks)
change. Sorry about that.
2000-10-25 04:40:49 +00:00
jhb
bd51e9cd4e Quite some warnings. 2000-10-25 04:37:54 +00:00
jkoshy
de9ac9599b Fail the 'buildkernel' target if not even one of the specified kernel configuration
files was found.

Reviewed by:	obrien
2000-10-25 04:31:32 +00:00
gallatin
7bf42ee269 fix bogus cast in osf1_getrlimit/osf1_setrlimit 2000-10-25 00:37:34 +00:00
jhb
e9ae756e2f Implement atomic_{set,clear,add,subtract}_{acq_,rel_,}_ptr() 2000-10-25 00:16:38 +00:00
jhb
192f0e978a Only use 1 set of memory barrier operations with the atomic_*_{acq,rel}_ptr
functions.
2000-10-25 00:15:21 +00:00
gallatin
47e3234522 teach the osf1_getsysinfo() function about a few more fields
submitted by: Jim.Pirzyk@disney.com
PR: alpha/22263
2000-10-25 00:14:11 +00:00
jhb
300e01a7d8 - Forward declare struct mtx instead of #include'ing sys/mutex.h 2000-10-25 00:07:09 +00:00
jhb
9ae17765f4 - Catch a machine/mutex.h -> sys/mutex.h I somehow missed.
- Close a small race condition.  The sched_lock mutex protects
  p->p_stat as well as the run queues.  Another CPU could change p_stat
  of the process while we are waiting for the lock, and we would end up
  scheduling a process that isn't runnable.
2000-10-25 00:04:16 +00:00
jhb
b8040f9ced - Make the eventhandler_mutex mutex a private variable in
subr_eventhandler.c
- Move the extra #include's in sys/eventhandler.h to be protected by
  the #ifndef SYS_EVENTHANDLER/#endif
2000-10-25 00:01:39 +00:00
tegge
5ee55d1bc1 Eliminate some bitrot (nonexisting member variable names).
Don't use curproc when a proc pointer is available.
2000-10-24 23:33:01 +00:00
tegge
d3a3d81338 Style fixes. 2000-10-24 22:40:18 +00:00
wpaul
deefde18d9 Convert the USB ethernet drivers to use mutexes. Also convert
usb_ethersubr.c. This module maintains two queues for packets which
are each protected with one mutex. These are all the changes I can
do for now. Removing the USBD_NO_TSLEEP flag doesn't work yet: when
I tried it, the system would usually freeze up after a NIC had been
operating for a while. The usb_ethersubr module itself ought to
go away; this is the next thing I need to test.
2000-10-24 22:38:54 +00:00
tegge
46334203c1 Make RPC timeout message more readable.
Supply proc pointer to sosend.
2000-10-24 22:37:55 +00:00
bmah
b054dbb505 Add a relnote about large swap areas not panicking the system.
Submitted by:	grog
2000-10-24 22:10:23 +00:00
archie
efb8bd7bda Build the ISC library as libisc. This library comes as part of the
bind distribution, but until now was not being built as a separate
entity. For documentation, see these man pages:

assertions(3), eventlib(3), heap(3), logging(3), memcluster(3), tree(3).

Reviewed by:	jdp
2000-10-24 20:10:25 +00:00
dfr
a0ecb2ad9b * Various fixes to breakage introduced by the atomic and mutex reorgs.
* Fixes to the signal delivery code. Not quite right yet.

I would have preferred to wait until I have signal delivery actually
working but the current kernel in CVS doesn't build.
2000-10-24 19:54:38 +00:00
obrien
3738b3e38b We were trying to dike out `apm0', but of course devices do not have
unit numbers in GENERIC any more.  So `apm' was acutally being compiled
in.
2000-10-24 19:08:40 +00:00
obrien
330477ffb8 Remove /boot/boot[12] from the MFS installation floppies.
This saves us 8KB.

Submitted by:	Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
Reviewed by:	jhb
2000-10-24 19:05:39 +00:00
obrien
a1c7de6839 Dike out more for the i386 release build: NCR SCSI card; anchient WDC
SCSI card (should it ever find its way into GENERIC); LPT (we don't need
to print during install time); the parallel 'geek' port; generic USB
driver (thus some attached USB devices will not be detected and thus the
user may wonder what is going on, we couldn't do anything with the device
if only ugen attached to it anyway and we are getting very, very low on
available space; USB "Human Interface Devices" as we don't do anything
with them during installation; and USB printers (same argument as LPT).
2000-10-24 18:48:16 +00:00
dwmalone
3444fc22f5 Fix two typos in comments.
PR:		22268
Submitted by:	Daniel S. Lewart <d-lewart@uiuc.edu>
2000-10-24 18:47:57 +00:00
wilko
065bb023bd Document that pci_device_override requires a recent SRM rev on Miata.
Submitted by: Ralph Schreyer <schreyer@th.physik.uni-bonn.de>
2000-10-24 18:45:42 +00:00
julian
991b56472a Change archie's and my email addresses from Whistle.com to FreeBSD.org 2000-10-24 18:01:45 +00:00
bmah
f0c0074b43 Catch up on some release notes: write combining for crash dumps,
bktr(4) update to 2.17, MFC new make(1) variable modifiers, note
the addition of style.perl.7.
2000-10-24 17:59:28 +00:00
julian
bf2394b8d4 Since neither archie nor I work at Whistle any more, change our email
addresses to be the more usefu @freebsd.org ones
so we can keep getting bug-reports.
- man pages to follow..
2000-10-24 17:32:45 +00:00
julian
91414848a3 First effort at bringing these up-to-date.
This creates a skeleton ISA device driver.
I don't pretend that it's fully correct or even opitimal
but it at least creates (and compiles) a 'clean' ISA driver.

Hopefully PCI/PCCARD/etc. support will be added when I understand it.
Unlike the old version this just creates a module. The old one tried to
create a new kernel with the driver to be tested.
2000-10-24 16:45:58 +00:00
gshapiro
a98dcfa204 Fix up the build for the STARTTLS version of sendmail (again). This method
mimics that of tcpdump in that for normal builds, sendmail will only be
built once.  For 'make release', it is built once for the bin dist and
once for the crypto dist.  This method also removes the need for two separate
Makefiles (which could become out of sync).

Suggested by: bde
Assisted by: kris
2000-10-24 16:04:56 +00:00
sos
b5115253f7 Oops better ad the ar device to the all target, people might want to
install on these...
2000-10-24 15:40:20 +00:00
ache
c1ea12cb91 Describe %c better
Submitted by:	ru (with modifications)
2000-10-24 15:37:48 +00:00
sos
093d7695b1 Add the ATA RAID (ar) device 2000-10-24 14:31:24 +00:00
phk
520b5dea3b Add $FreeBSD$
Rename local offsetof() macro to boffsetof() to avoid clashing with
the offsetof() from <stddef.h>
2000-10-24 13:54:31 +00:00
mpp
b73016669c Correct the description of a few options to reflect that commands and/or
the results that they actualy use/generate.

PR:		docs/22267
Submitted by:	SUZUKI Koichi <koich@cac.co.jp>
2000-10-24 13:54:17 +00:00
sos
4e93b6013f Fix the problem with DMA mode not working on Aladdin chips.
Amasing in how many ways Acer has screwed up that chip.
2000-10-24 13:50:22 +00:00
knu
14543975bd Add MASTER_SITE_MOZILLA and MASTER_SITE_XEMACS. 2000-10-24 12:37:52 +00:00
obrien
57bfbf78be Add "NO_CXX" knob to match src/gnu/usr.bin/cc/Makefile. 2000-10-24 11:25:28 +00:00
obrien
5cc4f2002f Adjust comments
Submitted by:	bde

Add ISO C99's long long type limits.
Reviewed by:	bde
2000-10-24 10:49:56 +00:00
obrien
b8efe2aeab * Update comments
* convert decimal constants to hex
Submitted by:	bde

* Add ISO-C99 long long limits
2000-10-24 10:48:50 +00:00
dwmalone
23aacadb39 Problem to avoid processes getting stuck in "vmopar". From Ian's
mail:

	The problem seems to originate with NFS's postop_attr
	information that is returned with a read or write RPC.
	Within a vm_fault context, the code cannot deal with
	vnode_pager_setsize() shrinking a vnode.

	The workaround in the patch below stops the nfsm_postop_attr()
	macro from ever shrinking a vnode. If the new size in the
	postop_attr information is smaller, then it just sets the
	nfsnode n_attrstamp to 0 to stop the wrong size getting
	used in the future. This change only affects postop_attr
	attributes; the nfsm_loadattr() macro works as normal.

	The change is implemented by adding a new argument to
	nfs_loadattrcache() called 'dontshrink'. When this is
	non-zero, nfs_loadattrcache() will never reduce the
	vnode/nfsnode size; instead it zeros n_attrstamp.

There remain other was processes can get stuck in vmopar.

Submitted by:	Ian Dowse <iedowse@maths.tcd.ie>
Reviewed by:	dillon
Tested by:	Vadim Belman <voland@lflat.org>
2000-10-24 10:13:36 +00:00
ru
79719d2ea5 The -o is the default for "short" display, not the -h. 2000-10-24 08:47:07 +00:00
babkin
d917e68c30 Added the CAM-ified wds driver for the ancient WD7000 SCSI card.
Last time it was present in FreeBSD 3.x, before CAM.

Reviewed by:	gibbs
Approved by:	gibbs
2000-10-24 03:44:31 +00:00
babkin
436bad9bc2 Added lines for the wds driver.
Approved by:	gibbs
2000-10-24 03:38:28 +00:00