Commit Graph

100774 Commits

Author SHA1 Message Date
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
ru
da8ebfd558 Added the `toolchain' top-level target, which builds enough of
buildworld, up to and including libraries, except for actually
building the world.

Requested by:	many
2004-03-24 08:26:22 +00:00
des
2939e573b6 Previous commit =~ s,share/,, 2004-03-24 08:23:52 +00:00
des
bcc4fa3fc5 Remove mention of share/libdata/doscmd/{,fonts/} and share/libdata/gcc. 2004-03-24 08:22:35 +00:00
des
cc43c606f8 Previous commit should have read: remove share/libdata/doscmd/{,fonts/}.
This time around, remove share/libdata/gcc/ which seems unused.
2004-03-24 08:21:30 +00:00
des
4d8c9452c1 Remove share/doscmd/{,fonts/} 2004-03-24 08:19:46 +00:00
luigi
b2649fa1f3 remove stale documentation 2004-03-24 08:01:15 +00:00
luigi
a9dc2c5b86 remove floppy image type 2004-03-24 07:55:08 +00:00
luigi
9ccc9c1a8d remove this floppy image too. 2004-03-24 07:54:00 +00:00
luigi
7bf19fe91a remove this floppy image. 2004-03-24 07:53:12 +00:00
luigi
45303d82f3 Remove this picobsd floppy type.
We only want to support one in -current, and let people take care
of their own images.
2004-03-24 07:51:40 +00:00
luigi
c5bf15d5b6 fix building of bridge floppies 2004-03-24 07:30:54 +00:00
wpaul
029bb98d76 The ndis_wlan_bssid_ex structure we retrieve in ndis_get_assoc() is
variable length, so we should not be trying to copy it into a fixed
length buffer, especially one on the stack. malloc() a buffer of the
right size and return a pointer to that instead.

Fixes a crash I discovered when testing whe a Cisco AP in infrastructure
mode, which returns several information elements that make the
ndis_wlan_bssid_ex structure larger than expected.
2004-03-24 05:35:03 +00:00
bmilekic
c9d98abb97 Add -u option to ipcs(1) and document it in ipcs.1
It allows you to list IPC facilities owned by username/uid.

Submitted by: Christian S.J. Peron <maneo@bsdpro.com>
PR: bin/63463
2004-03-24 04:01:43 +00:00
simokawa
f101e77ea9 Fix a bug introduced in rev 1.33(mega API change).
Because xfer->send.payload is a pointer to the buffer, '&' shouldn't be there.

Submitted by: John Weisgerber <weisgerberj@gsilumonics.com>
PR: misc/64623
2004-03-24 01:29:08 +00:00
tmm
96972b1e95 Correct the boundary parameter to the bus_dma_tag_create() calls (it was
(1 << 24) - 2 instead of 1 << 24, which it was obviously intended to
be). This fixes SBus isp(4)s on sparc64 machines.

Report and testing:  Marius Strobl <marius@alchemy.franken.de>
2004-03-23 23:41:39 +00:00
brooks
6ef21c4a07 Overhaul the /etc/rc.d/diskless script by splitting it out into
hostname, resolve, tmp, and var scripts.  The latter three are new and
were repo copied.  These scripts no longer depend on being booted with
and NFS root instead attempt to automaticly create mfs /tmp and /var
volumes if the they are not writable.  This behavior can be overridden
in /etc/rc.conf.

Reviewed by:    luigi, pjd
2004-03-23 23:22:35 +00:00
tmm
7f1a3eaf9e Correct the termination condition of the DVMA pruning loop in
iommu_dvma_vallocseg(), which I botched in r1.32. This bug could
cause an endless loop when a map was loaded and DVMA was scarce,
or that map had a stringent alignment or boundary.

Report and additional testing:	Marius Strobl <marius@alchemy.franken.de>
2004-03-23 23:20:34 +00:00
tmm
f95d851c99 Intitialize the frame pointer and return pc of a new process created
in cpu_fork(). This prevents the stack tracer from running past the
end of the stack (only the pc is checked in that case), which became
fatal when db_print_backtrace() was introduced and called outside
of ddb.

Additional testing:	kris
2004-03-23 23:12:02 +00:00
mlaier
a1442efbd3 Add rc.d script for pf(4) (more to come once pflogd(8) works as well).
Update defaults and write some lines for rc.conf(5) also.
Mostly dup'ed from ipf

Reviewed by:	-current
Approved by:	bms(mentor)
2004-03-23 22:30:15 +00:00
jhb
c92c2d6926 Enable interrupt preemption on Alpha. Previously, flipping this switch on
caused hangs on SMP systems under load.  My theory was that an interrupted
thread was migrating and returning to PAL on a different CPU and that that
caused the hangs.  To prevent this, I used the recently added sched_pin()
API to pin the interrupted thread to the CPU that received the interrupt
across ithread_schedule() to prevent migration.  This seems to have fixed
the hangs based on tests by several folks on the alpha@ list.

Tested by:	wilko, tisco, several others on alpha@
2004-03-23 22:28:16 +00:00
des
14651d99f3 Remove doscmd from the base system now that it lives in the ports tree. 2004-03-23 22:27:24 +00:00
des
cef96f810f Drop the -d argument to mtree since some of the spec files now list
symlinks.
2004-03-23 22:17:34 +00:00
des
431b446dc3 Add share/nls/{POSIX,en_US.US-ASCII} as symlinks to C. 2004-03-23 22:16:38 +00:00
mlaier
f889414f1e Add myself as maintainer for contrib/pf
Approved by:	bms(mentor)
2004-03-23 21:22:24 +00:00
wpaul
8237685662 Recently I realized that the ADMtek 8211 driver wasn't working correctly
(NIC would claim to establish a link with an ad-hoc net but it couldn't
send/receive packets). It turns out that every time the checkforhang
handler was called by ndis_ticktask(), the driver would generate a new
media connect event. The NDIS spec says the checkforhang handler is
called "approximately every 2 seconds" but using exactly 2 seconds seems
too fast. Using 3 seconds makes it happy again, so we'll go with that
for now.
2004-03-23 19:51:17 +00:00