Commit Graph

114932 Commits

Author SHA1 Message Date
marcel
c33159bae0 Add empty header (except of the multiple-inclusion protection) to
get hwpmc(4) to compile on this platform.
2005-04-20 18:44:53 +00:00
glebius
af92bf7867 - Initialize interface as UP when hook is connected.
- Call if_link_state_change() when netgraph flow control
  messages are received.

Sponsored by:	Rambler
2005-04-20 14:22:13 +00:00
glebius
1c92694a24 When netgraph flow control message comes from downstream, broadcast
it to all vlans.

Sponsored by:	Rambler
2005-04-20 14:19:20 +00:00
sos
511aaba338 When a rebuild is done, properly mark the arrays as functional again. 2005-04-20 14:14:08 +00:00
davidxu
f9e4467a9e Inherit signal mask for child process in fork1(), RELENG_4 and other
*BSD have this behaviour, also it is required by POSIX.

PR: kern/80130
Submitted by: Kostik Belousov konstantin.belousov at zoral dot com dot ua
2005-04-20 13:14:52 +00:00
sos
40e8804581 Properly hook in devices found by SATA connect events.
This broke on the changes done to get atapicam happy earlier.
2005-04-20 12:51:54 +00:00
nyan
698bbed66a Rename from apm_bioscall.s to apm_bioscall.S for removing a special rule
to build a module.  A repo-copy is not done because it has no important logs.

Pointed out by: ru
2005-04-20 12:28:20 +00:00
glebius
c4ccc53dd4 Remove extra ifnet pointer from private data. It can be accessed via arpcom. 2005-04-20 12:22:33 +00:00
glebius
02e416161f Add macro NG_COPYMESSAGE(), which allocates memory and creates a
copy of given control message.
2005-04-20 12:18:22 +00:00
glebius
8e5c649ffb - Call if_link_state_change() for each vlan, when link changes
on parent.
- Remove route.h include.
- Fix comment about MII.

Sponsored by:	Rambler
Reviewed by:	yar
2005-04-20 12:16:41 +00:00
brueffer
f6adf15431 Fix typo.
PR:		80133
Submitted by:	Zheyu Shen <free.bsd@gmx.net>
2005-04-20 10:41:09 +00:00
glebius
df4a966f8b Remove anti-LOR bandaid, it is not needed now.
Sponsored by:	Rambler
2005-04-20 09:32:05 +00:00
glebius
ee64f1e406 Do not call all link state callbacks directly, but schedule
a taskqueue(9) task. This fixes LORs and adds possibility
to serve such events pseudorecursively, when link state
change of interface causes subsequent change on other
interfaces.

Sponsored by:	Rambler
Reviewed by:	sam, brooks, mux
2005-04-20 09:30:54 +00:00
simon
ba47014ecf Cross reference ehci(4).
Suggested by:	Flemming Jacobsen
MFC after:	3 days
2005-04-20 07:33:09 +00:00
jkoshy
03b854bcd1 Remove extra Id keyword. 2005-04-20 05:36:43 +00:00
jkoshy
0ae2c35a51 Only compile for the hwpmc module for supported architectures.
Submitted by:	grehan
2005-04-20 04:57:38 +00:00
jkoshy
9ac92aba02 Remove dead variable. 2005-04-20 04:43:30 +00:00
mdodd
d69113ec08 Check sopt_level in uipc_ctloutput() and return early if it is non-zero.
This prevents unintended consequnces when an application calls things like
setsockopt(x, SOL_SOCKET, SO_REUSEADDR, ...) on a Unix domain socket.
2005-04-20 02:57:56 +00:00
grehan
226205f083 Get order right when initializing task file bus resources. ATA drives are
now recognised when booting from the drive, as opposed to net-booting which
the previous botched commit was tested with.
2005-04-20 02:26:31 +00:00
wpaul
bf722e55c8 Small cleanup of the WPA code additions. The SIOCG80211 and SIOCS80211
ioctls are now handled explicitly, but we can't really do anything
with them unless the NIC is up (trying to get/set a parameter when
the NDIS driver isn't running always yields an error). If something
invokes either of these ioctls and the NIC isn't initialized, punt
to the default ieee80211_ioctl() routine.
2005-04-20 02:17:53 +00:00
jcamou
fba971030c Use .Pa instead of .Xr to follow mdoc(7)
specifications.

Noticed by:	trhodes
Approved by:	trhodes (mentor)
MFC after:	1 day
2005-04-20 01:56:33 +00:00
imp
1e5bb67770 Move this to the specific architectures that are supported. #ifdef foo
in sys/pmc.h precludes it from working on !i386, !amd64.  When that changes,
it can be moved back into conf/NOTES.
2005-04-19 22:16:46 +00:00
wollman
9d3ef76497 The size of a filesystem may be less than the size of the provider it
resides on.  Fix the special case of the filesystem fragment size not
evenly dividing the size of the provider.  Fixing the general case
probably requires better superblock validation (left as an exercise to
the reader).
2005-04-19 21:55:28 +00:00
pjd
2fe06962aa Remove the hack which allowed to use gmirror for root file system,
use root_mount KPI instead.
2005-04-19 21:47:25 +00:00
pjd
46b10a0146 Call g_waitidle() before every check the list of holds is empty.
Suggested by:	phk
2005-04-19 21:44:44 +00:00
imp
55b98ce012 Remove unused variable that was horking up the LINT build 2005-04-19 21:40:49 +00:00
imp
f73d049c75 Need more files for i386, need all the files for pc98. 2005-04-19 21:40:07 +00:00
imp
64361bd33d Minimal changes to get this to compile with -DDEBUG defined as well
as hack a couple used before set warnings for LINT happiness.
2005-04-19 21:12:57 +00:00
imp
b13d84ae6a There's no need to include all the detauls of struct bus_space_{tag,handle}
in _bus.h when the typedef of the struct pointer will do.
2005-04-19 21:07:00 +00:00
imp
254d738f7b Since pmc is a CPU feature, grab the mdep file from the i386 directory. 2005-04-19 21:06:06 +00:00
brueffer
1abd767e17 Grammar fixes. 2005-04-19 18:52:52 +00:00
obrien
a0b5745507 I accidently committed two 'cleandepend' when I was deciding which
form was "cleaner".
2005-04-19 18:29:11 +00:00
hrs
138a8297a0 New release notes:
getproto{ent,byname,bynumber}(3) thread-safe.

Update release notes:
	s/MPSAFE/thread-safe/ in the entry of getserv{ent,byname,byport}.
2005-04-19 17:57:53 +00:00
njl
5194b33e79 Hook smist up to the kernel build. 2005-04-19 16:39:23 +00:00
njl
6a8edfc773 Add a driver for SMI-based SpeedStep. The hardware supports two frequency
settings and is an older version of the same design used for ICH SpeedStep.
It is only known to be available on PIIX4 chipsets.

Many thanks to Bruno Ducrot for writing the driver and Jon Noack for
testing.

Submitted by:	Bruno Ducrot
2005-04-19 16:38:24 +00:00
jkoshy
50bb346b1a Bring API documentation for sleepqueue(9) in sync with the code
in -current.

Reviewed by:	ru
2005-04-19 16:30:25 +00:00
jkoshy
091f09070c Document taskqueue_run_fast(). Markup 'Giant' with ".Va".
Reviewed by:	ru
2005-04-19 16:23:00 +00:00
murray
5ed93696db Point users to tcsh(1) for information about shell globbing patterns,
rather than 'XXXX'.

MFC after:	1 week
2005-04-19 16:06:04 +00:00
wpaul
9667458d09 Add preliminary support for WPA-PSK using wpa_supplicant and the
net80211 code, graciously contributed by Arvind Srinivasan.

Submitted by:	Arvind Srinivasan arvind at celar daht us
2005-04-19 15:30:44 +00:00
phk
59220cf5fc Remove redundant line, add comment about termcap 2005-04-19 15:15:35 +00:00
jkoshy
0099b6af80 Remove superfluous CFLAGS lines. Use the conditional '?=' construct
for WARNS lines.

Submitted by:	ru
2005-04-19 14:43:59 +00:00
ume
1ffc038b8e - add getproto{byname,bynumber,ent}_r for internal use within libc.
- make getproto{byname,bynumber,ent} thread-safe.
2005-04-19 14:41:13 +00:00
jkoshy
e4bccc0bab Remove superfluous CFLAGS additions. Make 'make checkdpadd' work.
Use '?=' for the WARNS line.

Submitted by:	ru
2005-04-19 14:40:50 +00:00
jkoshy
e1b64a256f Unbreak tinderbox builds for ${MACHINE_ARCH} != "i386" or "amd64".
Pointed out by:	ru.
2005-04-19 14:27:43 +00:00
davidxu
5a09b99f0b Further narrow down critical region of FSBASE code. 2005-04-19 13:52:27 +00:00
jkoshy
b32ea710d9 Capitalize words in library description.
Submitted by:	ru
2005-04-19 13:26:58 +00:00
davidxu
460dfaa5b0 Use critical section functions rather than scheduler lock to protect
critical region.
2005-04-19 13:15:52 +00:00
sos
8fa1fec4fe CFA (Compact Flash) devices has a special config ID that fails the
normal ATA device check in ata-disk.c. Add support for the CFA magic.
2005-04-19 12:33:26 +00:00
davidxu
5a22275847 Clear P_STATCHILD earlier to avoid unnecessary retrying. 2005-04-19 12:31:15 +00:00
ume
62e9927ccb - nuke deprecated and unused getnodeby(3).
- remove unused variable.

Obtained from:	KAME
2005-04-19 12:28:17 +00:00