Commit Graph

100799 Commits

Author SHA1 Message Date
imp
ea15b55852 Add support for a new variant of the prism3 that has appaered in the
wild.  This one is marketed by D-Link model DWL-650, but appears to be
a ISL3710P-10 under the hood.

Reported by: Brian O'Shea
2004-03-25 21:58:55 +00:00
imp
0bb017e235 Sync to pccarddevs 1.82 2004-03-25 21:56:43 +00:00
imp
988874931b Add a new Intersil card that DLINK is selling as the DWL-650.
Reported by: Brian O'Shea
2004-03-25 21:56:28 +00:00
rees
4bf96c35a5 only do nfs rpc callouts if there is work to do.
Submitted by:	kan
Approved by:	alfred
2004-03-25 21:48:09 +00:00
jhb
75ae6199e5 - Only build a fixit floppy on i386 and pc98.
- Reenable boot floppies for Alpha.
2004-03-25 20:37:59 +00:00
jhb
00ea003e16 Enable splitfs in the Alpha boot loaders. 2004-03-25 20:36:57 +00:00
scottl
218baaaa7e Remove raidframe from the list 2004-03-25 20:02:17 +00:00
vkashyap
20e39e00cb 1. Better handle a return value of EINPROGRESS from bus_dmamap_load.
2. Check for bad return value from twe_map_request in places where there
   was no checking.

Reviewed by: ps
2004-03-25 19:30:35 +00:00
gad
efe93d08ec Add the pkill' and pgrep' commands from NetBSD. This is the source
straight from NetBSD (except to add the RCS-ID lines for FreeBSD).
These will probably require a few updates before they are added to
the FreeBSD buildworld.  I might MFC these to 4.x-stable after 4.10.

Discussed on:	freebsd-arch
Obtained from:	NetBSD (and OpenBSD also has these)
2004-03-25 19:08:48 +00:00
wpaul
2c5e07e637 - In subr_ndis.c:ndis_init_event(), initialize events as notification
objects rather than synchronization objects. When a sync object is
  signaled, only the first thread waiting on it is woken up, and then
  it's automatically reset to the not-signaled state. When a
  notification object is signaled, all threads waiting on it will
  be woken up, and it remains in the signaled state until someone
  resets it manually. We want the latter behavior for NDIS events.

- In kern_ndis.c:ndis_convert_res(), we have to create a temporary
  copy of the list returned by BUS_GET_RESOURCE_LIST(). When the PCI
  bus code probes resources for a given device, it enters them into
  a singly linked list, head first. The result is that traversing
  this list gives you the resources in reverse order. This means when
  we create the Windows resource list, it will be in reverse order too.
  Unfortunately, this can hose drivers for devices with multiple I/O
  ranges of the same type, like, say, two memory mapped I/O regions (one
  for registers, one to map the NVRAM/bootrom/whatever). Some drivers
  test the range size to figure out which region is which, but others
  just assume that the resources will be listed in ascending order from
  lowest numbered BAR to highest. Reversing the order means such drivers
  will choose the wrong resource as their I/O register range.

  Since we can't traverse the resource SLIST backwards, we have to
  make a temporary copy of the list in the right order and then build
  the Windows resource list from that. I suppose we could just fix
  the PCI bus code to use a TAILQ instead, but then I'd have to track
  down all the consumers of the BUS_GET_RESOURCE_LIST() and fix them
  too.
2004-03-25 18:31:52 +00:00
obrien
657983b569 More kosher mdoc(7).
Submitted by:	ru
2004-03-25 17:54:07 +00:00
rik
b7df483e14 Connect ctau driver (Cronyx-Tau/ISA) to modules build process.
Approved by:	imp (mentor)
2004-03-25 17:20:45 +00:00
pjd
89f5b6c374 Remove unused function.
It was used in FreeBSD 4.x, but now we're using cr_canseesocket().
2004-03-25 15:12:12 +00:00
cperciva
6ebcbbb486 Final step of the sbin -> usr.sbin move: cvs rm src/sbin/nologin/*
I meant to do this a week ago, but I forgot.
2004-03-25 14:53:53 +00:00
rik
020ccccc77 Move ct.4 to ctau.4. Step four: backout ct.4 via rm.
Approved by:	imp (mentor)
2004-03-25 14:47:42 +00:00
rik
889267d50d Move ct.4 to ctau.4. Step three: change ct to ctau in Makefile.
Approved by:	imp (mentor)
2004-03-25 14:45:20 +00:00
des
2bb91b9636 This commit was generated by cvs2svn to compensate for changes in r127403,
which included commits to RCS files with non-trunk default branches.
2004-03-25 12:44:08 +00:00
des
7ac5364cb3 Import the original directly from NetBSD instead of via OpenBSD. 2004-03-25 12:44:08 +00:00
phk
2855bdf0d9 Respect decimal flag when dumping USER type records. 2004-03-25 12:33:55 +00:00
bms
6fa18a5397 Document the existence of NET_RT_IFMALIST.
Reviewed by:	ru
2004-03-25 10:08:46 +00:00
ru
9e6098efd7 [troff] removed the unnecessary use of \_ escapes. 2004-03-25 09:25:24 +00:00
bms
7bb9972b9e Sort SRCS in Makefile and document -g option additions.
Nudged by:	ru
2004-03-25 09:07:26 +00:00
bms
d55870d251 Output style: Get rid of an unnecessary newline. 2004-03-25 08:51:14 +00:00
ru
869b51c6d0 Untangle IP multicast routing interaction with delayed payload checksums.
Compute the payload checksum for a locally originated IP multicast where
God intended, in ip_mloopback(), rather than doing it in ip_output() and
only when multicast router is active.  This is more correct as we do not
fool ip_input() that the packet has the correct payload checksum when in
fact it does not (when multicast router is inactive).  This is also more
efficient if we don't join the multicast group we send to, thus allowing
the hardware to checksum the payload.
2004-03-25 08:46:27 +00:00
bms
af30ef4118 Teach netstat(1) how to print the multicast group memberships present
within the running system.

Sponsored by:	Ralf the Wonder Llama
2004-03-25 08:43:59 +00:00
wpaul
57efe0d11e - In kern_ndis.c, implement ndis_unsched(), the complement to ndis_sched(),
which pulls a job off a thread work queue (assuming it hasn't run yet).
  This is needed for KeRemoveQueueDpc().

- In subr_ntoskrnl.c, implement KeInsertQueueDpc() and KeRemoveQueueDpc(),
  to go with KeInitializeDpc() to round out the API. Also change the
  KeTimer implementation to use this API instead of the private
  timer callout scheduler. Functionality of the timer API remains
  unchanged, but we get a couple new Windows kernel API routines and
  more closely imitate the way thing works in Windows. (As of yet
  I haven't encountered any drivers that use KeInsertQueueDpc() or
  KeRemoveQueueDpc(), but it doesn't hurt to have them.)
2004-03-25 08:23:08 +00:00
peter
b920a97333 MFi386: correctly calculate the top-of-stack when a kthread is created
with a larger kernel stack.
2004-03-25 03:39:38 +00:00
peter
021cb09919 Run print_AMD_features() for both AuthenticAMD and GenuineIntel cpus.
Report the %ecx bits in cpuid function 1.  This is a hack.
When reporting AMD Features, only mask off the common bits.  Otherwise
the SEP bit masks off SYSCALL etc in the report.
2004-03-25 03:38:31 +00:00
obrien
596137082c Add NTFS since many may want to dual-boot MS-Win64 w/FreeBSD. 2004-03-25 03:19:28 +00:00
obrien
553575da44 Restore part of rev 1.92; share/libdata/gcc should not have been deleted. 2004-03-25 00:41:06 +00:00
obrien
8242ff0687 Force gdb6 into disc1 for amd64, sparc64, and ia64
(until they have /usr/src gdb support)
2004-03-25 00:06:03 +00:00
obrien
3841aea534 Lets give -O2 kernels a try on sparc64.
Reviewed by:	kensmith
2004-03-25 00:02:49 +00:00
alc
cab68d38d2 Use uiomove_fromphys() instead of pmap_qenter() and pmap_qremove() in
proc_rwmem().
2004-03-24 23:35:04 +00:00
mlaier
95fba106c8 Install the pf rc.d-script (missed Makefile update in original commit)
Approved by:	bms(mentor)
2004-03-24 21:54:44 +00:00
des
b786792a02 Remove mention of doscmd. 2004-03-24 20:19:57 +00:00
obrien
78406916b6 Back out revision 1.295. share/libdata/gcc/ is valid and used. 2004-03-24 19:37:53 +00:00
rik
2b64283b0e Move ct.4 to ctau.4. Step two: add ct.4 as ctau.4.
Do not bother about too small history for ct.4.

Approved by:    imp(mentor)
2004-03-24 19:28:50 +00:00
rik
d06bf1470a Move ct.4 to ctau.4. Step one: remove ctau.4 link.
Approved by:	imp(mentor)
2004-03-24 19:23:44 +00:00
hrs
0e533a3bc2 New release note:
isp(4) fix on sparc64,
	ipcs(1) -u option,
	rmdir(1) -v flag,
	rc.d/diskless split,
	rc.d/pf.

Update release note:
	MFC of umass(4) timeout/ATAPI MMC support,
	items related to the rc.d scripts moved into a separate section.
2004-03-24 18:03:55 +00:00
jhb
3770c58daa - Update for the new interrupt code on i386 meaning that SMP kernels can
now run on UP machines, options APIC_IO is now spelled device apic, and
  HT CPUs are now enabled by default.
- Add a 'I386 NOTES' section header to the i386-specific paragraphs.
  Someone with more mdoc fu can suggest a better name if needed.

Requested by:	kris (1)
2004-03-24 17:51:54 +00:00
ru
53ff6f54e2 Properly reprogram the hardware when IFF_ALLMULTI flag is set. 2004-03-24 17:43:45 +00:00
rik
f062ee581e sppp (4) to netgraph (4) node. As always: I'l connect it to the
system after extra check.

Approved by:	imp (mentor)
Approved by:	julian (in general)
2004-03-24 17:24:01 +00:00
imp
5d9dc609bb Conform to local file sytle and prefer (a && (b & flag)). 2004-03-24 16:49:37 +00:00
pjd
ee4b13d10e The topology lock is not needed for g_error_provider() function.
Discussed with:	phk
2004-03-24 15:12:17 +00:00
green
4927c84b48 Add locking so that arc4random(3) functions are all reentrant for
pthreads.

Submitted by:	Christian S.J. Peron <maneo@bsdpro.com>
2004-03-24 14:44:57 +00:00
pjd
6b2632b825 Added a note, that g_access() function cannot failed when dc[rwe] <= 0. 2004-03-24 14:42:26 +00:00
pjd
d1d0abbffa Functions:
- g_new_geomf(),
	- g_new_providerf(),
	- g_new_consumer()

cannot failed (by returning NULL), so don't scare programmers.
2004-03-24 14:25:46 +00:00
pjd
7456822f82 Added 'nojail' keyword for rc.d/mixer script, while mixer(8) is not
usable in jail by default (no /dev/mixer).
2004-03-24 12:49:34 +00:00
se
b087534d6d Bring man page back in shape. Many option descriptions lacked the
option name and paramaters they apply to and there was a mix of
formatting methods and styles.

I'm not sure that the description of "nfs_retransmit_counter" is
correct, but it does now at least match what's in -STABLE.
2004-03-24 10:25:24 +00:00
julian
faf5f3b681 Don't duplicate a packet, just to throw it away when we discover the
duplicat hook is not connected.
2004-03-24 08:53:45 +00:00