]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
17 years agoMFC readline 5.2 patchset 002
rafan [Tue, 17 Apr 2007 03:23:15 +0000 (03:23 +0000)]
MFC readline 5.2 patchset 002

Approved by: delphij (mentor)
OKed by: ache

17 years agoMFC: Don't destroy the devalias, it's handled automatically.
scottl [Tue, 17 Apr 2007 01:21:08 +0000 (01:21 +0000)]
MFC: Don't destroy the devalias, it's handled automatically.

17 years agoMFC: 1.554: Always make obj when building the libraries.
ru [Mon, 16 Apr 2007 21:04:54 +0000 (21:04 +0000)]
MFC: 1.554: Always make obj when building the libraries.

PR: bin/91226

17 years agoMFC: rev 1.88
rafan [Mon, 16 Apr 2007 09:13:07 +0000 (09:13 +0000)]
MFC: rev 1.88

- Add missing man page links
- Remove link for define_key.3 which is a real man page
- Some whitespace nits

Approved by: delphij (mentor)

17 years agoMFC: Include a note about recompiling ports which use the base libmilter.
gshapiro [Sat, 14 Apr 2007 16:27:16 +0000 (16:27 +0000)]
MFC: Include a note about recompiling ports which use the base libmilter.

Submitted by: Matthew Seaman

17 years agoMFC 1.242:
simon [Sat, 14 Apr 2007 14:43:11 +0000 (14:43 +0000)]
MFC 1.242:

Update postfix MTA selection code to point at postfix 2.4 which is the
current version.

17 years agoMFC: 1.27: Fix "doc without ports" build.
ru [Sat, 14 Apr 2007 06:30:31 +0000 (06:30 +0000)]
MFC: 1.27: Fix "doc without ports" build.

17 years agoMFC: r1.125: Fix -j with Makefiles specified via stdin.
will [Sat, 14 Apr 2007 05:04:10 +0000 (05:04 +0000)]
MFC: r1.125: Fix -j with Makefiles specified via stdin.

Requested by: Ulrich Spoerlein <uspoerlein@gmail.com>

17 years agoMFC if_msk.c, rev. 1.13 to RELENG_6
yongari [Sat, 14 Apr 2007 02:39:33 +0000 (02:39 +0000)]
MFC if_msk.c, rev. 1.13 to RELENG_6
  Add work around for hardware Tx checksum offload bug in Yukon II.
  Yukon II generated corrupted TCP checksum for short TCP packets
  that's less than 60 bytes in size(e.g. window probe packet, pure ACK
  packet etc). Padding the frame with zeros to make the frame minimum
  ethernet frame size didn't work at all. Instead of dropping Tx
  checksum offload support we calculate TCP checksum with S/W method
  when we encounter short TCP frames.
  Fortunately it seems that short UDP datagrams appear to be handled
  correctly by Yukon II.

  While I'm here simplify ethernet/VLAN header size calculation logic.

  PR: 111384

17 years agoMFC: Fix the logic bug and static linkage.
ru [Fri, 13 Apr 2007 21:03:42 +0000 (21:03 +0000)]
MFC: Fix the logic bug and static linkage.

17 years agoMFC: 1.187
jkim [Fri, 13 Apr 2007 18:25:03 +0000 (18:25 +0000)]
MFC: 1.187

Enable MSI support on RELENG_6.

17 years agoMFC: Update the man page a bit- also to reflect that testing that
mjacob [Fri, 13 Apr 2007 04:09:06 +0000 (04:09 +0000)]
MFC: Update the man page a bit- also to reflect that testing that
Jun Kuriyama did to verify the PCI-Express (Apple Fibre Channel)
HBA.

17 years agoMFC: Hide bus reset announcements within bootverbose.
mjacob [Fri, 13 Apr 2007 04:07:56 +0000 (04:07 +0000)]
MFC:   Hide bus reset announcements within bootverbose.

17 years agoMFC: 1.23: Swap "underflow"/"overflow" in the table header.
ru [Fri, 13 Apr 2007 03:49:22 +0000 (03:49 +0000)]
MFC: 1.23: Swap "underflow"/"overflow" in the table header.

17 years agoMFC
matteo [Thu, 12 Apr 2007 13:13:57 +0000 (13:13 +0000)]
MFC
nfslocking: rev 1.12 [1] and 1.13 [2]
rc.conf.5: rev 1.321 [2]
rc.conf: 1.311 [2]

[1] Record rc.d/nfslocking dependency on rc.d/rpcbind
[2]Add rpc_statd_flags and rpc_lockd_flags options to allow
options to be passed to rpc.statd and rpc.lockd

PR: conf/105465 [1]
Approved by: mtm [1]

17 years agoMFC:
matteo [Thu, 12 Apr 2007 08:03:40 +0000 (08:03 +0000)]
MFC:
rpc.statd.8 rev.1.14
statd.c rev.1.13-1.14

PR: bin/94920

17 years agoMFC:
matteo [Thu, 12 Apr 2007 07:56:16 +0000 (07:56 +0000)]
MFC:
lockd.c rev.1.20
rpc.lockd.8 rev.1.17
Add the "-p" option, which allows to specify a port which the
daemon should bind to.

PR: bin/100969

17 years agoMFC rev. 1.40:
thomas [Thu, 12 Apr 2007 07:53:13 +0000 (07:53 +0000)]
MFC rev. 1.40:
(bread): For a read that is contained entirely within a block, never copy
 out more than size bytes to the caller's buffer.

PR: bin/111191

17 years agoMFC rev. 1.16 and rev. 1.17
matteo [Thu, 12 Apr 2007 07:47:44 +0000 (07:47 +0000)]
MFC rev. 1.16 and rev. 1.17
1.16: compile under WARNS=6

1.17: Make rpc.statd INET* indipendent by converting
sockaddr_in structures to sockaddr ones and using
svc_getrpccaller instead of svc_getcaller.
A similar patch was committed to rpc.lockd back in 2002 . [1]

PR: bin/42004 [1]

17 years agoCheck existing flags with an lstat(), not a stat().
kientzle [Thu, 12 Apr 2007 04:27:29 +0000 (04:27 +0000)]
Check existing flags with an lstat(), not a stat().
Otherwise, restoring symlinks with flags consistently fails
(unionfs likes to set 'opaque' flags).

17 years agoMFC: sendmail 8.14.1
gshapiro [Thu, 12 Apr 2007 03:13:04 +0000 (03:13 +0000)]
MFC: sendmail 8.14.1

17 years agoMFC 1.5-1.6: Correctly compare between two UUIDs according
delphij [Thu, 12 Apr 2007 02:20:15 +0000 (02:20 +0000)]
MFC 1.5-1.6: Correctly compare between two UUIDs according
to specification found DCE 1.1.

PR: 83107

17 years agoMFC if_fxp rev 1.265
remko [Wed, 11 Apr 2007 17:13:16 +0000 (17:13 +0000)]
MFC if_fxp rev 1.265
  Add support for the 82562GX chip within if_fxp.

  PR:             110251
  Submitted by:   Vyacheslav Vovk
  Approved by:    imp (mentor)
  MFC After:      3 days

Approved by: imp (mentor, implicit)

17 years agoMFC if_re.c rev 1.88
remko [Wed, 11 Apr 2007 17:12:38 +0000 (17:12 +0000)]
MFC if_re.c rev 1.88
  Add support for the RTL8110SC driver.

  PR:             110804
  Submitted by:   Daan Vreeken
  Sponsored by:   Vitsch Electronics (patch)
  Approved by:    imp (mentor)
  MFC After:      3 days

Approved by: imp (mentor, implicit)

17 years agoMFC rev. 1.16:
thomas [Wed, 11 Apr 2007 07:19:36 +0000 (07:19 +0000)]
MFC rev. 1.16:
Fix setting of serial port speed. A junk value was passed in AX when
bioscom is called to set up serial port parameters because COMSPEED
was treated as an address instead of an immediate value, causing
serial port parameters to never be set.

PR: i386/110828

17 years agoBump __FreeBSDrevision for Scott's CAM sg(4) MFC.
delphij [Wed, 11 Apr 2007 02:14:54 +0000 (02:14 +0000)]
Bump __FreeBSDrevision for Scott's CAM sg(4) MFC.

Requested by: ler lerctr.org

17 years agoMFC the scsi_sg driver.
scottl [Tue, 10 Apr 2007 21:44:17 +0000 (21:44 +0000)]
MFC the scsi_sg driver.

17 years agoThis commit was manufactured by cvs2svn to create branch 'RELENG_6'.
cvs2svn [Tue, 10 Apr 2007 20:03:43 +0000 (20:03 +0000)]
This commit was manufactured by cvs2svn to create branch 'RELENG_6'.

17 years agoMFC: Prevent the usage of an uninitialized variable: do not accept
piso [Tue, 10 Apr 2007 18:59:19 +0000 (18:59 +0000)]
MFC: Prevent the usage of an uninitialized variable: do not accept
     StartMediaTx message before an OpnRcvChnAck message was received.

Found with:     Coverity Prevent(tm)
CID:            498

17 years agoMFC: Silence Coverity about an unused variable.
piso [Tue, 10 Apr 2007 18:57:24 +0000 (18:57 +0000)]
MFC: Silence Coverity about an unused variable.

Found with:     Coverity Prevent(tm)
CID:            538

17 years agoMFC: resume the HPET timer
njl [Tue, 10 Apr 2007 15:23:00 +0000 (15:23 +0000)]
MFC: resume the HPET timer

17 years agoMFC: rev. 1.18
brueffer [Tue, 10 Apr 2007 12:16:05 +0000 (12:16 +0000)]
MFC: rev. 1.18

Remove empty section.

17 years agoMFC rev. 1.220:
kib [Tue, 10 Apr 2007 10:12:44 +0000 (10:12 +0000)]
MFC rev. 1.220:
Extend rev. 1.210 to avoid dereference NULL mp in VFS_NEEDSGIANT and
VFS_ASSERT_GIANT. Stop using reserved namespace.

17 years agoMFC: rev 1.11
simokawa [Tue, 10 Apr 2007 04:37:30 +0000 (04:37 +0000)]
MFC: rev 1.11
Fix a bug for over 4GB media.

17 years agoMFC rtsock.c r1.124, which was overlooked some time ago:
emaste [Mon, 9 Apr 2007 19:44:19 +0000 (19:44 +0000)]
MFC rtsock.c r1.124, which was overlooked some time ago:

  Fix for PR 82974.  We were not checking that the route looked up in
  the case of an RTM_CHANGE was specific, i.e. that it matched completely.
  This led to a route change of a non-existent route changing the default
  route as the radix code would simply back track to that point and hand
  that route back to the routing socket code.

  PR: 82974
  Reviewed by: Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
       Ben Kaduk <minimarmot@gmail.com>
       Bjoern A. Zeeb <bzeeb-lists@lists.zabbadoz.net>
  Obtained from: OpenBSD with modifications.

17 years agoMFC if_msk.c, rev. 1.12 to RELENG_6
yongari [Mon, 9 Apr 2007 06:28:38 +0000 (06:28 +0000)]
MFC if_msk.c, rev. 1.12 to RELENG_6
  If we've encountered unrecognized chipset don't access hardware
  anymore. Previously it tried to access interrupt register to disable
  interrupts which could result in hang if the hardware was not
  properly initialized by system BIOS/ACPI.

17 years agoMFC: -j 1.26 -j 1.28
rik [Mon, 9 Apr 2007 00:07:54 +0000 (00:07 +0000)]
MFC: -j 1.26 -j 1.28
    Log:
    Add description how the filter works in case of multiple interfaces
    with the same MAC.

    PR:     kern/109815
    MFC after:      7 days
    Submitted by:   Eygene Ryabinkin
    Glanced by:     rik (all pointy hats are mine)
    Discussed with: julian@, rik@

    Log:
    s/if_vlan/vlan/

    Noted by: brueffer

17 years agoMFC revisions 1.52 and 1.53
alc [Sun, 8 Apr 2007 19:20:49 +0000 (19:20 +0000)]
MFC revisions 1.52 and 1.53
  Introduce the function pmap_enter_object().

17 years agoMFC revision 1.47
alc [Sun, 8 Apr 2007 05:10:36 +0000 (05:10 +0000)]
MFC revision 1.47
  Retire pmap_track_modified().

17 years agoMFC:
brueffer [Sat, 7 Apr 2007 12:02:20 +0000 (12:02 +0000)]
MFC:

New release notes:
- MSI support
- net.link.tap.up_on_open sysctl added
- ncurses 5.6-20061217 and wide character support

17 years agoMFC revisions 1.181, 1.187, and 1.189
alc [Sat, 7 Apr 2007 05:57:00 +0000 (05:57 +0000)]
MFC revisions 1.181, 1.187, and 1.189
  Eliminate unneeded diagnostic code.

  Change pmap_enter_quick() to use the vm_prot_t parameter introduced in
  revision 1.179 to correctly set/clear execute permission on the mapping
  it creates.

  Eliminate an unneeded Instruction Memory Barrier (IMB) in
  pmap_enter_quick().

  Retire pmap_track_modified().

17 years agoMFC revisions 1.184 and 1.185
alc [Sat, 7 Apr 2007 03:56:30 +0000 (03:56 +0000)]
MFC revisions 1.184 and 1.185
  Reimplement the reclamation of PV entries.

17 years agoMFC:
bms [Sat, 7 Apr 2007 03:04:49 +0000 (03:04 +0000)]
MFC:
  Merge a slightly cleaner and SSM capable mtest(8).

17 years ago- Bump for ncurses 5.6 + ncursesw merge
rafan [Fri, 6 Apr 2007 17:53:33 +0000 (17:53 +0000)]
- Bump for ncurses 5.6 + ncursesw merge

Approved by: delphij (mentor)

17 years agoMFC: ncurses + wide character support from HEAD which include:
rafan [Fri, 6 Apr 2007 17:52:06 +0000 (17:52 +0000)]
MFC: ncurses + wide character support from HEAD which include:
  - new ncurses build framework
  - enable ncurses wide character support

Approved by: delphij (mentor)
Tested by: several people on stable@

17 years agoMFC: ncurses 5.6-20061217
rafan [Fri, 6 Apr 2007 17:50:02 +0000 (17:50 +0000)]
MFC: ncurses 5.6-20061217

Approved by: delphij (mentor)
Tested by: several people on stable@

17 years agoMFC 1.113:
pav [Fri, 6 Apr 2007 08:31:26 +0000 (08:31 +0000)]
MFC 1.113:
- Update for new tcl categories

17 years agoMFC: be specific that rc.firewall relates to ipfw(4), and not to other
rwatson [Thu, 5 Apr 2007 10:51:10 +0000 (10:51 +0000)]
MFC: be specific that rc.firewall relates to ipfw(4), and not to other
firewalls.

17 years agoMFC:
emax [Wed, 4 Apr 2007 22:21:09 +0000 (22:21 +0000)]
MFC:

Try to silence Coverity by adding (void) in front of function call.
Also add a comment, explaining why return value is not being checked.

Requested by: netchild

17 years agoMFi386: revision 1.538.2.13
nyan [Wed, 4 Apr 2007 15:51:09 +0000 (15:51 +0000)]
MFi386: revision 1.538.2.13

  Missed updating these with the amd64/i386 MSI MFC.

17 years agoMFC several improvements in lib32 build:
rafan [Wed, 4 Apr 2007 14:28:31 +0000 (14:28 +0000)]
MFC several improvements in lib32 build:

1.528: Default to producing 'k8' COMPAT_32BIT bits, but allow override.
1.529: SSE2 comes thru the users choice of CPUTYPE.
1.531: Use cross-compile friendly spelling of CPUTYPE.
1.567: Clean the lib32 object directory with cleandir rather than rm -rf.
1.568: Resurrect one of the patches from attic and refine the
       lib32 build somewhat.  Specifically, instead of spamming
       ${CC} et al with -I${LIB32TMP}/usr/include which can be
       harmful (as has been demonstrated by the ncursesw WIP),
       use slightly different approach to achieve the same goal.
       This also simplifies things a bit.

Approved by: delphij (mentor)

17 years agoMFC revisions 1.152 and 1.159
alc [Wed, 4 Apr 2007 03:36:12 +0000 (03:36 +0000)]
MFC revisions 1.152 and 1.159
  Use the correct units when handling the hw.physmem tunable.

  Fix a typo in a comment.

17 years agoMFC revision 1.377
alc [Wed, 4 Apr 2007 03:15:03 +0000 (03:15 +0000)]
MFC revision 1.377
  Prevent a race between vm_object_collapse() and vm_object_split() from
  causing a crash.

17 years agoMFC: rev 1.59
simokawa [Tue, 3 Apr 2007 22:41:43 +0000 (22:41 +0000)]
MFC: rev 1.59
Teardown interrupt only when sc->ih is not NULL.

17 years agoMFC: rev 1.85
simokawa [Tue, 3 Apr 2007 22:39:20 +0000 (22:39 +0000)]
MFC: rev 1.85
- Don't call fw_busreset() in firewire_attach().

17 years agoMFC the latest synchronisation with the NetBSD code.
stefanf [Tue, 3 Apr 2007 20:47:25 +0000 (20:47 +0000)]
MFC the latest synchronisation with the NetBSD code.

17 years agoRevert the MFC if 1.112 ( 1.106.2.27 )
julian [Tue, 3 Apr 2007 09:46:52 +0000 (09:46 +0000)]
Revert the MFC if 1.112 ( 1.106.2.27 )
It turns out that 1.112 has bug in -current which is faithfully
reproduced in releng-6 with the MFC.

17 years agoComplete reversal of MFC:
julian [Tue, 3 Apr 2007 08:29:31 +0000 (08:29 +0000)]
Complete reversal of MFC:
I will investigate this further to possbly re-MFC it but for now
play safe and revert this line too.

17 years agoRevert one of the MFCs from Friday as it produces an
julian [Tue, 3 Apr 2007 08:16:05 +0000 (08:16 +0000)]
Revert one of the MFCs from Friday as it produces an
unacceptable ABI change. I will re-MFC this when I have tested a version
that brings back the desirable changes but leaves the ABI the same.

17 years agoMFC:
bms [Tue, 3 Apr 2007 00:39:34 +0000 (00:39 +0000)]
MFC:
  Merge latest ifmcstat from HEAD.

Obtained from: KAME (with many FreeBSD changes)

17 years agoMFC 1.305: Turn default address selection on by default. Now,
ume [Mon, 2 Apr 2007 09:23:29 +0000 (09:23 +0000)]
MFC 1.305: Turn default address selection on by default.  Now,
when ipv6_enable="NO", an IPv4 address is preferred for a
destination address.

17 years agoMFC
alc [Mon, 2 Apr 2007 06:09:43 +0000 (06:09 +0000)]
MFC
  Retire pmap_track_modified().

17 years agoMFC revision 1.179
alc [Mon, 2 Apr 2007 05:43:38 +0000 (05:43 +0000)]
MFC revision 1.179
  Eliminate unnecessary PG_BUSY tests.

17 years agoMFC if_sk.c, rev. 1.129 to RELENG_6
yongari [Mon, 2 Apr 2007 04:30:23 +0000 (04:30 +0000)]
MFC if_sk.c, rev. 1.129 to RELENG_6
  Fix incorrect busy check for PHY write operation.
  While I'm here remove unnecessary return statement.

17 years agoMFC: Freeze the simq not the devq if we run out of command slots. This fixes
scottl [Mon, 2 Apr 2007 03:33:29 +0000 (03:33 +0000)]
MFC: Freeze the simq not the devq if we run out of command slots.  This fixes
the last round of instability in the rev 13/14 driver.

17 years agoMFC if_sk.c, rev 1.132 if_skreg.h, rev 1.40 to RELENG_6
yongari [Mon, 2 Apr 2007 02:04:13 +0000 (02:04 +0000)]
MFC if_sk.c, rev 1.132 if_skreg.h, rev 1.40 to RELENG_6
  Remove incomplete Yukon II support code which was added in if_sk.c, rev 1.123.
  Yukon II users should use msk(4).

17 years agoEnable PCI MSI support for msk(4).
yongari [Mon, 2 Apr 2007 01:22:31 +0000 (01:22 +0000)]
Enable PCI MSI support for msk(4).

17 years agoMFC revisions 1.170 and 1.171
alc [Mon, 2 Apr 2007 00:38:37 +0000 (00:38 +0000)]
MFC revisions 1.170 and 1.171
  Reimplement the reclamation of PV entries.

17 years agoMFC:
bms [Sun, 1 Apr 2007 22:02:30 +0000 (22:02 +0000)]
MFC:
  Add a sysctl net.link.tap.up_on_open which defaults to zero; when it
  is non-zero, tap(4) instances will be marked IFF_UP on attach.

  1.71 +6 -1 src/sys/net/if_tap.c
  1.19 +8 -1 src/share/man/man4/tap.4

PR: 110383
Requested by: Frank Behrens

17 years agoMFC revision 1.155
alc [Sun, 1 Apr 2007 21:43:54 +0000 (21:43 +0000)]
MFC revision 1.155
  Introduce the function pmap_enter_object().

17 years agoMFC revision 1.182
alc [Sun, 1 Apr 2007 19:38:18 +0000 (19:38 +0000)]
MFC revision 1.182
  Change pmap_protect() so that execute access can be removed without
  simultaneously removing write access.

17 years agoMFC of constification, cleanups of pre-7.X compiles, additions of
mjacob [Sun, 1 Apr 2007 17:21:19 +0000 (17:21 +0000)]
MFC of constification, cleanups of pre-7.X compiles, additions of
SYNC_REG memory barriers and so on.

17 years agoMFC of constification && some bad nvram flags.
mjacob [Sun, 1 Apr 2007 17:15:33 +0000 (17:15 +0000)]
MFC of constification && some bad nvram flags.

17 years agoMFC of some constification, error message spelling errors, splitting
mjacob [Sun, 1 Apr 2007 17:14:25 +0000 (17:14 +0000)]
MFC of some constification, error message spelling errors, splitting
FC and SPI default set/get into separate functions. Also, stop looking
for interrupts at the end of isp_starts- this seems to send some 23XX
cards into the weeds.

17 years agoMFC revisions 1.175 and 1.177
alc [Sun, 1 Apr 2007 05:59:12 +0000 (05:59 +0000)]
MFC revisions 1.175 and 1.177
  Introduce the function pmap_enter_object().

17 years agoMFC r1.134
thompsa [Sun, 1 Apr 2007 02:09:47 +0000 (02:09 +0000)]
MFC r1.134
 Correct the name of the 'proto' command.

17 years agoMFC revision 1.168
alc [Sun, 1 Apr 2007 01:34:31 +0000 (01:34 +0000)]
MFC revision 1.168
  Remove the remaining spl*() calls.  Add some assertions.  Eliminate some
  excessive white space.

MFC revision 1.174
  Retire pmap_track_modified().

17 years agoMFC: add IEEE80211_KEY_UNDEFINED and use it instead of local defs
sam [Sat, 31 Mar 2007 22:49:55 +0000 (22:49 +0000)]
MFC: add IEEE80211_KEY_UNDEFINED and use it instead of local defs

Obtained from: netbsd

17 years agoMFC 1.102: move __inline before type to appease gcc 4.x
sam [Sat, 31 Mar 2007 22:42:45 +0000 (22:42 +0000)]
MFC 1.102: move __inline before type to appease gcc 4.x

Obtained from: netbsd

17 years agoMFC 1.99: clear/reclaim challenge text when switching auth mode and
sam [Sat, 31 Mar 2007 22:34:57 +0000 (22:34 +0000)]
MFC 1.99: clear/reclaim challenge text when switching auth mode and
  operating as an ap

Obtained from: Atheros

17 years agoMFC 1.101: discard deauth+disassoc frames that are not destined for us;
sam [Sat, 31 Mar 2007 22:31:36 +0000 (22:31 +0000)]
MFC 1.101: discard deauth+disassoc frames that are not destined for us;
   these can be received when the interface is in promisc mode

Obtained from: netbsd

17 years agoMFC revision 1.559
alc [Sat, 31 Mar 2007 22:13:26 +0000 (22:13 +0000)]
MFC revision 1.559
  Introduce the function pmap_enter_object().

MFC revision 1.562 (in part)
  Change pmap_enter_quick_locked() to fail rather than wait if it is
  unable to allocate a page table page.  This prevents a race between
  pmap_enter_object() and the page daemon.  Specifically, an inactive
  page that is a successor to the page that was given to
  pmap_enter_quick_locked() might become a cache page while
  pmap_enter_quick_locked() waits and later pmap_enter_object() maps
  the cache page violating the invariant that cache pages are never
  mapped.  Similarly, change
  pmap_enter_quick_locked() to call pmap_try_insert_pv_entry() rather
  than pmap_insert_entry().  Generally speaking,
  pmap_enter_quick_locked() is used to create speculative mappings.  So,
  it should not try hard to allocate memory if free memory is scarce.

  Add an assertion that the object containing m_start is locked in
  pmap_enter_object().  Remove a similar assertion from
  pmap_enter_quick_locked() because that function no longer accesses the
  containing object.

  Remove a stale comment.

17 years agoMFC 1.11: allow net80211 to fillin rate sets
sam [Sat, 31 Mar 2007 22:03:04 +0000 (22:03 +0000)]
MFC 1.11: allow net80211 to fillin rate sets

17 years agoMFC 1.10: allow net80211 to fillin rate sets
sam [Sat, 31 Mar 2007 22:02:42 +0000 (22:02 +0000)]
MFC 1.10: allow net80211 to fillin rate sets

17 years agoMFC 1.49: allow net80211 to fillin rate sets
sam [Sat, 31 Mar 2007 22:00:44 +0000 (22:00 +0000)]
MFC 1.49: allow net80211 to fillin rate sets

17 years agoMFC 1.51: allow net80211 to fillin rate sets
sam [Sat, 31 Mar 2007 21:57:27 +0000 (21:57 +0000)]
MFC 1.51: allow net80211 to fillin rate sets

17 years agosync w/ HEAD
sam [Sat, 31 Mar 2007 21:55:11 +0000 (21:55 +0000)]
sync w/ HEAD

17 years agoMFC: expose IEEE80211_DISCARD, IEEE80211_DISCARD_IE, and
sam [Sat, 31 Mar 2007 21:53:08 +0000 (21:53 +0000)]
MFC: expose IEEE80211_DISCARD, IEEE80211_DISCARD_IE, and
     IEEE80211_DISCARD_MAC so they can be used within
     net80211 but outside ieee80211_input.c

17 years agoMFC 1.106: improve debug msg for ie's that are too short
sam [Sat, 31 Mar 2007 21:50:53 +0000 (21:50 +0000)]
MFC 1.106: improve debug msg for ie's that are too short

17 years agoMFC: keep tx/rx seq #'s for non-QoS traffic separate from QoS; stations
sam [Sat, 31 Mar 2007 21:49:28 +0000 (21:49 +0000)]
MFC: keep tx/rx seq #'s for non-QoS traffic separate from QoS; stations
     aren't supposed mix traffic but if they did frames might be mis-handled

Obtained from: Atheros

17 years agoMFC 1.104: split check for rate set mismatch on assoc req away from
sam [Sat, 31 Mar 2007 21:45:55 +0000 (21:45 +0000)]
MFC 1.104: split check for rate set mismatch on assoc req away from
   check for pure 11g mode so we can give meaningful diagnostic msgs

17 years agoMFC 1.103: disallow re-associate with a slot time mismatch
sam [Sat, 31 Mar 2007 21:44:41 +0000 (21:44 +0000)]
MFC 1.103: disallow re-associate with a slot time mismatch

Obtained from: Atheros

17 years agoMFC 1.36: change ieee80211_mhz2ieee to use the PSB mapping when the
sam [Sat, 31 Mar 2007 21:42:21 +0000 (21:42 +0000)]
MFC 1.36: change ieee80211_mhz2ieee to use the PSB mapping when the
  frequency falls in the proper place, not when we're handed
  a 1/2 or 1/4-rate channel

17 years agoMFC revision 1.76
alc [Sat, 31 Mar 2007 20:58:52 +0000 (20:58 +0000)]
MFC revision 1.76
  Introduce the function pmap_enter_object().

17 years agoMissed updating these with the amd64/i386 MSI MFC.
jhb [Sat, 31 Mar 2007 20:21:14 +0000 (20:21 +0000)]
Missed updating these with the amd64/i386 MSI MFC.

Reported by: Derkjan de Haan

17 years agoMFC revision 1.552
alc [Sat, 31 Mar 2007 19:20:23 +0000 (19:20 +0000)]
MFC revision 1.552
  In general, bits in the page directory entry (PDE) and the page table
  entry (PTE) have the same meaning.  The exception to this rule is the
  eighth bit (0x080).  It is the PS bit in a PDE and the PAT bit in a
  PTE.  This change avoids the possibility that pmap_enter() confuses a
  PAT bit with a PS bit, avoiding a panic().

  Eliminate a diagnostic printf() from the i386 pmap_enter() that serves
  no current purpose, i.e., I've seen no bug reports in the last two
  years that are helped by this printf().

17 years agoremove dead code
sam [Sat, 31 Mar 2007 19:11:19 +0000 (19:11 +0000)]
remove dead code

Coverity CID: 1082
Found with: Coverity Prevent(tm)

17 years agounbreak build by puting back definition used by ipfw(8)
julian [Sat, 31 Mar 2007 16:44:28 +0000 (16:44 +0000)]
unbreak build by puting back definition used by ipfw(8)
the real fix is to just remove the offending lines there but I don't
have time to check that now. I'll do it right on Tuesday.

17 years agoMFC: Simple single-message MSI support.
jhb [Sat, 31 Mar 2007 15:25:11 +0000 (15:25 +0000)]
MFC: Simple single-message MSI support.

17 years agoMFC: PCI MSI support for amd64 and i386.
jhb [Sat, 31 Mar 2007 15:23:21 +0000 (15:23 +0000)]
MFC: PCI MSI support for amd64 and i386.