mdodd
04e6064fe9
Clean up argument comments for bus_dma_tag_create() calls.
2003-03-29 09:46:10 +00:00
suz
98b3db7eca
fixed a mbuf leak when an IP packet from ESP tunnel is redirected
...
obtained from: KAME
2003-03-29 08:31:28 +00:00
mdodd
17572bf81c
- Track resources in our softc.
...
- Sanitize dpt_alloc().
- Add helper functions for resource alloc/release.
- Add detach method.
- Relocate definition of devclass_t.
- Move some debugging output behind bootverbose.
- Implement an identify method for ISA devices
but don't use it right now.
2003-03-29 08:30:45 +00:00
silby
ebb10b6a3f
Fix up the long mbuf chain recovery code to use m_defrag; the old
...
code messed up on B & C chipsets because it lost the packet header
and therefore the flag indicating the need for hardware checksums.
MFC after: 2 weeks
2003-03-29 06:34:25 +00:00
alc
6f59be774d
Pass the vm_page's address to sf_buf_alloc(); map the vm_page as part
...
of sf_buf_alloc() instead of expecting sf_buf_alloc()'s caller to map it.
The ultimate reason for this change is to enable two optimizations:
(1) that there never be more than one sf_buf mapping a vm_page at a time
and (2) 64-bit architectures can transparently use their 1-1 virtual
to physical mapping (e.g., "K0SEG") avoiding the overhead of pmap_qenter()
and pmap_qremove().
2003-03-29 06:14:14 +00:00
silby
7d7faf316e
Add the m_defrag routine, as discussed on committers@. This
...
incarnation should address the concerns of all in the discussion,
and keeps statistics which show how much it is used.
MFC after: 2 weeks
2003-03-29 05:48:36 +00:00
silby
2a8bc6b659
Add MBUF_FRAG_TEST to NOTES.
...
Submitted by: Hiten Pandya <hiten@unixdaemons.com>
2003-03-29 05:46:34 +00:00
imp
9c17bd3bea
Note: this is OLDCARD, and tweak comment about clpd 6729/30.
2003-03-29 05:44:49 +00:00
imp
39ff9583eb
Add a new man page for bus_activate_resource and
...
bus_deactivate_resource. It could use some improvement, and others
are welcomed to do so :-)
2003-03-29 05:16:15 +00:00
imp
535fc60c54
Clearify what happens with the cookiep in various cases.
2003-03-29 05:11:14 +00:00
imp
6ee9b4c6fc
Fix some typos:
...
race->rare
rman_activate_resource -> bus_activate_resource
Add xref to bus_activate_resource
Minor markup changes for the start/end/count parameters.
2003-03-29 05:09:15 +00:00
obrien
0c8ca48d87
320.rdist is OBE as we don't have rdist in the base system any more.
2003-03-29 03:28:28 +00:00
obrien
1a1209f873
This is OBE as we don't have rdist in the base system any longer.
2003-03-29 03:27:49 +00:00
obrien
789bddd5c2
Globally use -mieee in /usr/src for Alpha.
2003-03-29 03:14:24 +00:00
obrien
6b548a3cf0
Reduce "code duplication" for AMD CPU's.
2003-03-29 03:13:19 +00:00
obrien
2b9574f51a
Back out the totally unapproved backout of my commits.
2003-03-29 03:03:42 +00:00
seanc
44afb4dc11
Small mdoc fix
2003-03-29 02:09:02 +00:00
mdodd
92ada71709
Text formatting changes.
2003-03-29 01:53:13 +00:00
mdodd
4228bcdeb3
Don't panic if we aren't plugged into a hub.
2003-03-29 01:40:42 +00:00
sam
1f636f052e
add missing copyright notices
...
Noticed by: Robert Watson
2003-03-28 20:28:05 +00:00
ume
0d084321c4
If IPCP is disabled, susccess of IPV6CP negotiation is sufficient
...
to communicate by IPv6. So, the prompt should be `PPP' rather
than `PPp'.
2003-03-28 18:23:43 +00:00
bmah
c269e60fb6
Typo fixes. Translators can probably ignore these.
...
Submitted by: ispell(1)
2003-03-28 18:22:23 +00:00
bmah
033e4353e6
New release notes: adduser(8) -g, gstat(8), omshell(1)/dhcpctl(3).
2003-03-28 18:14:54 +00:00
jhb
4fcebd533b
Check for the PS_NEEDSIGCHK flag in the right flags field.
2003-03-28 18:08:57 +00:00
mux
c91649aa81
Add an option to print the time in 12-hour format.
...
Submitted by: Samy Al Bahra <samy@kerneled.com>
2003-03-28 16:37:45 +00:00
orion
7f82ad9184
Perform warm reset if codec reports ready on attach.
...
Move AC97 link control power up poke so it is always performed on attach.
2003-03-28 16:33:15 +00:00
mux
d0ac434790
xargs(1) is WARNS=6 clean.
...
Tested on: i386, sparc64
2003-03-28 16:24:11 +00:00
mux
5a3060982a
When -o isn't specified, open /dev/null as stdin.
...
Suggested by: jhb
2003-03-28 16:22:54 +00:00
mike
70f89c52b8
Move details of dev_t (and udev_t) to <sys/_types.h>.
2003-03-28 15:27:30 +00:00
robert
d6b685fe45
Sysctl treats long' and
unsigned long' differently - fix a comment.
2003-03-28 14:17:17 +00:00
fjoe
7a8f2fdcf9
- MAXPATHLEN -> PATH_MAX (pass correct buffer size to readlink as well)
...
Requested by: bde
2003-03-28 12:05:45 +00:00
sobomax
09dfc903cd
Add pc-card from ARCHOS CD-224E cdrom.
...
MFC after: 1 week
2003-03-28 11:12:52 +00:00
fjoe
942ad81a2d
bump __FreeBSD_version for thread-safe realpath(3)
2003-03-28 09:50:26 +00:00
phk
b01c30ec02
Fix an XXX: and implement LINUX_BLKGETSIZE correctly.
2003-03-28 08:58:11 +00:00
imp
5d5d5f775c
Expound a little bit about the softc, where its size is found and a
...
caution against emulating legacy softc methods used in the tree.
2003-03-28 07:28:31 +00:00
imp
572bed9dc2
Remove bogus card.4, and replace it with a link to oldcard.4. ru
...
pointed this out a while ago, and I'm just now getting back to it. It
obsoletes one of ru's changes, but since oldcard.4 is so much better,
that doesn't matter.
Submitted by: ru
2003-03-28 07:14:12 +00:00
imp
256832481a
Create a man page for bus_child_present(9), a function to see if a
...
given device is considered accessible by its parent device bus driver
(or its parent, etc).
2003-03-28 07:09:17 +00:00
imp
ad18bcce01
pccarddevs_data.h no longer generated
2003-03-28 06:44:57 +00:00
imp
f0fa26212f
MFp4:
...
Don't generate the data file.
Use 0xffffffff rather than -1 for sign safety as these fields are uint32_t.
2003-03-28 06:43:50 +00:00
mdodd
c8027bafcc
- Clean up function calling conventions.
...
- Be consistent about what we call our softc.
- Minor formatting.
- Add some register definitions gleaned from NetBSD/Linux.
2003-03-28 06:27:08 +00:00
silby
430664f150
Allow m_dup_pkthdr to accept mbufs with attached clusters as
...
targets.
Submitted by: bmilekic
2003-03-28 05:57:48 +00:00
iedowse
b399d5ecbd
Add a checksum to the kernel message buffer, and update it every
...
time a character is written. Use this at boot time to reject the
existing buffer contents if they are corrupt. This fixes a problem
seen on some hardware (especially laptops) where the message buffer
gets partially corrupted during a short power cycle or reset, but
the msgbuf structure is left intact so it gets reused, resulting
in random junk and control characters appearing in dmesg and
/var/log/messages.
PR: kern/28497
2003-03-28 02:50:10 +00:00
mdodd
41a48ccd9e
Multicast support, gleaned from NetBSD's if_iy driver.
...
Submitted by: Craig Boston <craig@xfoil.gank.org>
2003-03-28 02:15:01 +00:00
jmallett
2b3cee5134
Close the disk file descriptor that is RO before trying to open the
...
new one, and do not fall back to the RO fd. There was a bug here
in that the RO fd was never closed, if the RDRW open succeeded, but
this code is bogus anyway, and it breaks newfs of floppies, at least
for me, due to "Device busy." Anything that wants to fall back is
doing something significantly odd that it should have some more complex
code on its end.
2003-03-28 01:50:11 +00:00
mdodd
53b1373a1f
Default data length should be 56, not 64.
2003-03-28 00:31:51 +00:00
fjoe
441ddbc326
Make realpath() thread-safe. New implementation does not use chdir(2) at all.
...
Submitted by: Constantin S. Svintsoff <kostik (at) iclub.nsu.ru>
2003-03-27 20:48:53 +00:00
tegge
23e9ae3483
Check return value from vmapbuf instead of the function address.
2003-03-27 20:48:34 +00:00
rwatson
7ed8bb1d43
Don't pass NULL in as a flags argument to libfetch's fetchGetURL()
...
as this can result in a NULL pointer deference when parsing the
flags later. This change fixes "pkg_add -r" on 5.0-CURRENT for
me; not quite clear how the problem was introduced.
2003-03-27 20:44:09 +00:00
das
72b54236b9
Correct LDBL_* constants based on values from i386.
2003-03-27 20:38:22 +00:00
mdodd
0d6bd6a1ee
- Rely on ether_ifattach() to initialize part of our struct ifnet
...
rather than doing it ourself.
- Set ifq_maxlen.
- Include the size of the ethernet header when we allocate
our mbuf chain in ieget().
2003-03-27 20:38:00 +00:00