alfred
354c5cd6a5
Add restrict qualifiers. (docs)
...
PR: 44394
Submitted by: Craig Rodrigues <rodrige@attbi.com>
2003-12-24 18:52:41 +00:00
alfred
d6e298d35d
regen
2003-12-24 18:52:09 +00:00
alfred
fc379f67bb
NULL -> 0 where appropriate.
2003-12-24 18:51:01 +00:00
alfred
c4b798a73d
Add restrict qualifiers.
...
PR: 44394
Submitted by: Craig Rodrigues <rodrige@attbi.com>
2003-12-24 18:47:43 +00:00
alfred
5784eb3ac8
change NULL to 0 to silence warning.
2003-12-24 18:23:02 +00:00
ume
ad7968509b
NULL is not 0.
...
Submitted by: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
2003-12-24 18:22:04 +00:00
sam
0e875a0970
correct bridge_version: replace unexpanded RCS keywords by a fixed string
...
PR: kern/60251
2003-12-24 17:47:45 +00:00
rwatson
fc37f21a15
Document that when we are addressing an open()/close() race, the reason
...
we call vn_close() manually rather than letting fdrop() take care of it
is that we haven't yet hooked up the various 'struct file' fields.
2003-12-24 17:13:01 +00:00
maxim
912d84fa39
o Legitimate -f (force) flags for -p (preprocessor) case.
...
PR: bin/60433
Submitted: Bjoern A. Zeeb
MFC after: 3 weeks
2003-12-24 13:04:04 +00:00
simokawa
36f747d768
Fix reference to firewire(4).
...
Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>
2003-12-24 12:58:35 +00:00
ru
dd200f8c97
Properly spell make binary as ${MAKE}.
...
This fixes buildworld for systems with old make(1) binaries.
Reported by: Benjamin Close
2003-12-24 10:59:33 +00:00
ache
b89dd89c31
Properly advance "x/y/z" form slash-pointers in some rare cases
...
PR: 60539
2003-12-24 10:16:46 +00:00
silby
d4e4b731a6
Make systat -net aware of compressed time_wait sockets.
2003-12-24 08:54:53 +00:00
peter
b1487e9a60
Return AE_OK for stub functions returning ACPI_STATUS, not NULL
2003-12-24 05:26:26 +00:00
peter
23fa43890e
Fix 0 / NULL mixup (this module isn't in LINT!)
2003-12-24 05:24:24 +00:00
bde
ad6b2985b6
Fixed breakage of a check for boolean true by misusing NULL in rev.1.407.
...
This became fatal when the type of NULL was changed recently.
2003-12-24 04:11:10 +00:00
njl
09140a0699
Move the acpi module down a directory. This will allow us to import
...
other ACPI-specific drivers into sys/modules/acpi/.
2003-12-24 03:49:38 +00:00
imp
bcad04f1ac
Minor whitespace changes to conform better to stlye(9) and reduce diffs
...
with uncommitted changes I have in p4.
2003-12-24 02:01:22 +00:00
peter
daf42805ba
GC the unused <machine/kse.h> file.
2003-12-24 00:51:30 +00:00
peter
72906fa267
GC unused 'syshide' override to /dev/null. This was here to disable
...
the output of the namespc column. Its functionality was removed some time
ago, but the overrides and the namespc column remained.
2003-12-24 00:32:07 +00:00
peter
722d62c334
Regen (should be NOP except for rcsid)
2003-12-24 00:26:34 +00:00
peter
fd1a1d034c
GC unused namespc column and un-wrap some longer lines that now fit.
2003-12-24 00:26:09 +00:00
peter
f8ee80abb5
Oops, remove references to namespc column in comment (I'm not going to
...
bother regenerating after this)
2003-12-24 00:17:24 +00:00
peter
16a1523226
Regen. (This should have been a NOP except it hasn't been regenerated
...
after makesyscalls.sh changes and the last few syscall.master changes, and
there have been some tree-sweeps that have touched generated files).
2003-12-24 00:15:20 +00:00
peter
6c29e3c435
GC namespc column and unwrap long lines that now fit.
2003-12-24 00:14:08 +00:00
peter
3c0ded8fad
Regen. This should have been a NOP, but its not been regenerated for
...
ages and is missing the changes from the last few makesyscalls.sh
revisions.
2003-12-24 00:02:08 +00:00
peter
44cc92af4a
GC OBE namespc column and un-wrap longer lines that now fit
2003-12-24 00:00:47 +00:00
njl
8a8dfa84e9
Fix locking broken by recent _CID changes. Always be sure to unlock
...
in the error case.
2003-12-23 18:47:31 +00:00
trhodes
151da8eaf6
Back out previous commit due to incorrect content.
...
Noticed by: wollman
2003-12-23 18:42:55 +00:00
wpaul
3e98c4443b
Set up the interrupt earlier in ndis_attach(), because calling the
...
driver's initfunc may cause an interrupt to be generated. This avoids
the occasional 'stray irqXXX' messages on load.
2003-12-23 18:41:34 +00:00
wpaul
3e7838be9a
Correct the definitions for NDIS_80211_NET_INFRA_IBSS and
...
NDIS_80211_NET_INFRA_BSS: I accidentally reversed them during
transcription from the Microsoft headers. Note that the
driver will default to BSS mode, and you need to specify
'mediaopt adhoc' to get it into IBSS mode.
2003-12-23 18:31:04 +00:00
njl
df2307ae54
Update to use the new package routines instead of rolling our own
...
macros.
2003-12-23 18:27:35 +00:00
njl
891932b7f3
Remove the device_t parameter from package routines that only used it to
...
print an error message. Update all callers of the package routines.
2003-12-23 18:26:53 +00:00
wpaul
29de6d4f90
Correct a typo in the text.
...
Remove BUGS section since the bug it describes has been fixed.
Spell Matt Dodd's name correctly. (Oops.)
2003-12-23 18:09:59 +00:00
trhodes
640196e593
s/disklabel/bsdlabel
...
Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com> (via -doc)
2003-12-23 17:35:44 +00:00
trhodes
de65edfbfd
Document many of the missing posix.1b options.
...
PR: 20528
Submitted by: bms (original version)
Requested by: mike (awhile ago)
2003-12-23 17:29:35 +00:00
wpaul
ddbe448dbe
Make the NDIS driver depend on the wlan module now that it has
...
some 802.11 support.
2003-12-23 16:47:01 +00:00
trhodes
9fa9b1fd92
Add the MegaRAID 320-4X cards to the supported device list.
...
Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com> (via -doc)
2003-12-23 16:22:34 +00:00
schweikh
0e961ee647
Fix a case of undefined behavior due to overlapping buf objects in
...
snprintf (buf, size, fmt, buf, etc). This only works by chance with our
libc, but fails (with a truncated string) on e.g. glibc.
Okayed by: sobomax
MFC after: 1 week
2003-12-23 15:01:12 +00:00
se
79e51fd0d7
Fix a few more places where NULL was used instead of 0.
2003-12-23 14:38:42 +00:00
ru
fc90128bf7
I didn't notice it right away, but check the right length too.
2003-12-23 14:08:50 +00:00
alfred
52e8917de4
I asked Bosko Milekic for help with 'peak' reporting, and he suggested
...
using the old 'cached' value but reporting it as 'cached'.
I've decided to report the 'cached' as 'peak', why? Well because
it is the peak, the peak of what is actually allocated. 'cached'
doesn't make sense to me as a user.
2003-12-23 14:06:24 +00:00
alfred
a121c1dfef
Introduce mp_maxcpus which can be used by libkvm utils to find out
...
how many CPUs the system was compiled for.
Export the variable via a sysctl node 'kern.smp.maxcpus' as well.
2003-12-23 13:54:16 +00:00
ru
0b3fdbfa52
Fix a problem introduced in revision 1.84: m_pullup() does not
...
necessarily return the same mbuf chain so we need to recompute
mtod() consumers after pulling up.
2003-12-23 13:33:23 +00:00
alfred
abd1027a01
Restore old netstat -m output.
...
A new flag '-c' can be used to ask for the cache stats.
2003-12-23 13:24:03 +00:00
phk
fe692735bf
Prevent withering of the provider we're orphaning from happening until
...
we do it ourselves.
Nailed by: Simon Heath <heath@cng.fr>
2003-12-23 11:37:05 +00:00
ume
11aa947d12
Catch a few places where NULL (pointer) was used where 0 (integer) was
...
expected (fix build).
2003-12-23 11:01:17 +00:00
trhodes
906d3e8b4d
/etc/rc.serial -> /etc/rc.d/serial.
2003-12-23 07:16:38 +00:00
wpaul
a0d9582fee
Re-do the handling of ndis_buffers. The NDIS_BUFFER structure is
...
supposed to be opaque to the driver, however it is exposed through
several macros which expect certain behavior. In my original
implementation, I used the mappedsystemva member of the structure
to hold a pointer to the buffer and bytecount to hold the length.
It turns out you must use the startva pointer to point to the
page containing the start of the buffer and set byteoffset to
the offset within the page where the buffer starts. So, for a buffer
with address 'baseva,' startva is baseva & ~(PAGE_SIZE -1) and
byteoffset is baseva & (PAGE_SIZE -1). We have to maintain this
convention everywhere that ndis_buffers are used.
Fortunately, Microsoft defines some macros for initializing and
manipulating NDIS_BUFFER structures in ntddk.h. I adapted some
of them for use here and used them where appropriate.
This fixes the discrepancy I observed between how RX'ed packet sizes
were being reported in the Broadcom wireless driver and the sample
ethernet drivers that I've tested. This should also help the
Intel Centrino wireless driver work.
Also try to properly initialize the 802.11 BSS and IBSS channels.
(Sadly, the channel value is meaningless since there's no way
in the existing NDIS API to get/set the channel, but this should
take care of any 'invalid channel (NULL)' messages printed on
the console.
2003-12-23 04:08:22 +00:00
peter
38f4513fb8
Regen (should be a NOP except for rcsid)
2003-12-23 04:07:47 +00:00