CVS log for src/sys/dev/an/if_an.c
Up to [FreeBSD] / src / sys / dev / an
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.100: download - view: text, markup, annotated - select for diffs
Sat Jan 7 09:41:57 2012 UTC (4 weeks, 6 days ago) by kevlo
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +0 -1 lines
SVN rev 229767 on 2012-01-07 09:41:57Z by kevlo ether_ifattach() sets if_mtu to ETHERMTU, don't bother set it again Reviewed by: yongari
Revision 1.99: download - view: text, markup, annotated - select for diffs
Sat Dec 17 10:23:17 2011 UTC (7 weeks, 6 days ago) by bschmidt
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +2 -2 lines
SVN rev 228621 on 2011-12-17 10:23:17Z by bschmidt Fix some net80211 enum nits: - ic_vap_create() uses an ieee80211_opmode argument - ieee80211_rate2media() takes an ieee80211_phymode argument - ieee80211_plcp2rate() takes an ieee80211_phytype argument - cast to enum ieee80211_protmode and ieee80211_roamingmode to silence compiler warnings Submitted by: arundel@
Revision 1.97.2.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 11 04:20:22 2011 UTC (3 months ago) by kensmith
Branches: RELENG_9_0
CVS tags: RELENG_9_0_0_RELEASE
Diff to: previous 1.97.2.1: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97.2.1: +0 -0 lines
SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release cycle. Approved by: re (implicit)
Revision 1.98: download - view: text, markup, annotated - select for diffs
Mon Nov 7 15:43:11 2011 UTC (3 months ago) by ed
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +2 -1 lines
SVN rev 227309 on 2011-11-07 15:43:11Z by ed Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs. The SYSCTL_NODE macro defines a list that stores all child-elements of that node. If there's no SYSCTL_DECL macro anywhere else, there's no reason why it shouldn't be static.
Revision 1.97.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 23 00:51:37 2011 UTC (4 months, 2 weeks ago) by kensmith
Branches: RELENG_9
CVS tags: RELENG_9_0_BP
Branch point for: RELENG_9_0
Diff to: previous 1.97: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97: +0 -0 lines
SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith Copy head to stable/9 as part of 9.0-RELEASE release cycle. Approved by: re (implicit)
Revision 1.97: download - view: text, markup, annotated - select for diffs
Tue Jun 28 08:36:48 2011 UTC (7 months, 2 weeks ago) by kevlo
Branches: MAIN
CVS tags: RELENG_9_BP
Branch point for: RELENG_9
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +0 -1 lines
SVN rev 223624 on 2011-06-28 08:36:48Z by kevlo Remove duplicate header includes
Revision 1.84.2.3.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:10:29 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_7_4
CVS tags: RELENG_7_4_0_RELEASE
Diff to: previous 1.84.2.3: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.2.3: +0 -0 lines
SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release. Approved by: re (implicit)
Revision 1.90.2.2.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:09:25 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_8_2
CVS tags: RELENG_8_2_0_RELEASE
Diff to: previous 1.90.2.2: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90.2.2: +0 -0 lines
SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release. Approved by: re (implicit)
Revision 1.84.2.3: download - view: text, markup, annotated - select for diffs
Tue Nov 16 04:40:03 2010 UTC (14 months, 3 weeks ago) by sobomax
Branches: RELENG_7
CVS tags: RELENG_7_4_BP
Branch point for: RELENG_7_4
Diff to: previous 1.84.2.2: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.2.2: +2 -2 lines
SVN rev 215368 on 2010-11-16 04:40:03Z by sobomax
MFC r207554:
Add new tunable 'net.link.ifqmaxlen' to set default send interface
queue length. The default value for this parameter is 50, which is
quite low for many of today's uses and the only way to modify this
parameter right now is to edit if_var.h file. Also add read-only
sysctl with the same name, so that it's possible to retrieve the
current value.
Revision 1.90.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 15 17:48:13 2010 UTC (14 months, 3 weeks ago) by sobomax
Branches: RELENG_8
CVS tags: RELENG_8_2_BP
Branch point for: RELENG_8_2
Diff to: previous 1.90.2.1: preferred, colored; branchpoint 1.90: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90.2.1: +2 -2 lines
SVN rev 215342 on 2010-11-15 17:48:13Z by sobomax MFC r207554: Add new tunable 'net.link.ifqmaxlen' to set default send interface queue length. The default value for this parameter is 50, which is quite low for many of today's uses and the only way to modify this parameter right now is to edit if_var.h file. Also add read-only sysctl with the same name, so that it's possible to retrieve the current value.
Revision 1.90.2.1.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 14 02:09:06 2010 UTC (19 months, 4 weeks ago) by kensmith
Branches: RELENG_8_1
CVS tags: RELENG_8_1_0_RELEASE
Diff to: previous 1.90.2.1: preferred, colored; next MAIN 1.90.2.2: preferred, colored
Changes since revision 1.90.2.1: +0 -0 lines
SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith Copy stable/8 to releng/8.1 in preparation for 8.1-RC1. Approved by: re (implicit)
Revision 1.96: download - view: text, markup, annotated - select for diffs
Mon May 3 07:32:50 2010 UTC (21 months, 1 week ago) by sobomax
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +2 -2 lines
SVN rev 207554 on 2010-05-03 07:32:50Z by sobomax Add new tunable 'net.link.ifqmaxlen' to set default send interface queue length. The default value for this parameter is 50, which is quite low for many of today's uses and the only way to modify this parameter right now is to edit if_var.h file. Also add read-only sysctl with the same name, so that it's possible to retrieve the current value. MFC after: 1 month
Revision 1.84.2.2.8.1: download - view: text, markup, annotated - select for diffs
Wed Feb 10 00:26:20 2010 UTC (2 years ago) by kensmith
Branches: RELENG_7_3
CVS tags: RELENG_7_3_0_RELEASE
Diff to: previous 1.84.2.2: preferred, colored; next MAIN 1.84.2.3: preferred, colored
Changes since revision 1.84.2.2: +0 -0 lines
SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process. Approved by: re (implicit)
Revision 1.95: download - view: text, markup, annotated - select for diffs
Tue Nov 24 16:57:35 2009 UTC (2 years, 2 months ago) by jhb
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +3 -3 lines
SVN rev 199757 on 2009-11-24 16:57:35Z by jhb - For 350 chips, don't set various INTR bits in TX control word; turning INTR bits on seems to confuse hardware TX engine. - For 350 chips, set TX desc's buffer physical address before turning on the TX desc valid bit. Submitted by: Jeremy O'Brien obrien654j | gmail, sephe Obtained from: DragonFly BSD
Revision 1.94: download - view: text, markup, annotated - select for diffs
Tue Nov 24 16:54:54 2009 UTC (2 years, 2 months ago) by jhb
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +0 -3 lines
SVN rev 199756 on 2009-11-24 16:54:54Z by jhb Use bus_*() rather than bus_space_*().
Revision 1.93: download - view: text, markup, annotated - select for diffs
Tue Nov 10 22:04:19 2009 UTC (2 years, 3 months ago) by jhb
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +66 -76 lines
SVN rev 199154 on 2009-11-10 22:04:19Z by jhb - Locking fixes to not do silly things like drop the lock only to call a function that immediately reacquires the lock. Also removes recursive locking. - Use the statistics timer to drive the transmit watchdog instead of using if_watchdog and if_timer. Tested by: gavin
Revision 1.92: download - view: text, markup, annotated - select for diffs
Fri Nov 6 18:28:13 2009 UTC (2 years, 3 months ago) by jhb
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +1 -1 lines
SVN rev 198995 on 2009-11-06 18:28:13Z by jhb - Use device_printf() instead of printf() with an explicit unit number in the PCI attach routine. - Simplify PCI probe. - Remove no-longer-used 'unit' from an_attach() parameters. PR: kern/126924 Submitted by: gavin
Revision 1.91: download - view: text, markup, annotated - select for diffs
Fri Nov 6 14:52:37 2009 UTC (2 years, 3 months ago) by jhb
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +61 -68 lines
SVN rev 198987 on 2009-11-06 14:52:37Z by jhb Use device_printf() and if_printf() instead of printf() with an explicit unit number and remove 'unit' members from softc.
Revision 1.90.2.1.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 25 01:10:29 2009 UTC (2 years, 3 months ago) by kensmith
Branches: RELENG_8_0
CVS tags: RELENG_8_0_0_RELEASE
Diff to: previous 1.90.2.1: preferred, colored; next MAIN 1.90.2.2: preferred, colored
Changes since revision 1.90.2.1: +0 -0 lines
SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure. Approved by: re (implicit)
Revision 1.90.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 3 08:13:06 2009 UTC (2 years, 6 months ago) by kensmith
Branches: RELENG_8
CVS tags: RELENG_8_1_BP, RELENG_8_0_BP
Branch point for: RELENG_8_1, RELENG_8_0
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +0 -0 lines
SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith Copy head to stable/8 as part of 8.0 Release cycle. Approved by: re (Implicit)
Revision 1.84.2.2.6.1: download - view: text, markup, annotated - select for diffs
Wed Apr 15 03:14:26 2009 UTC (2 years, 9 months ago) by kensmith
Branches: RELENG_7_2
CVS tags: RELENG_7_2_0_RELEASE
Diff to: previous 1.84.2.2: preferred, colored; next MAIN 1.84.2.3: preferred, colored
Changes since revision 1.84.2.2: +0 -0 lines
SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE. Approved by: re (implicit)
Revision 1.90: download - view: text, markup, annotated - select for diffs
Wed Feb 4 20:39:45 2009 UTC (3 years ago) by imp
Branches: MAIN
CVS tags: RELENG_8_BP
Branch point for: RELENG_8
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +2 -2 lines
SVN rev 188128 on 2009-02-04 20:39:45Z by imp Shutdown routine returns int.
Revision 1.84.2.2.4.1: download - view: text, markup, annotated - select for diffs
Tue Nov 25 02:59:29 2008 UTC (3 years, 2 months ago) by kensmith
Branches: RELENG_7_1
CVS tags: RELENG_7_1_0_RELEASE
Diff to: previous 1.84.2.2: preferred, colored; next MAIN 1.84.2.3: preferred, colored
Changes since revision 1.84.2.2: +0 -0 lines
SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith Create releng/7.1 in preparation for moving into RC phase of 7.1 release cycle. Approved by: re (implicit)
Revision 1.89: download - view: text, markup, annotated - select for diffs
Thu Nov 6 08:55:46 2008 UTC (3 years, 3 months ago) by bz
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +2 -0 lines
SVN rev 184708 on 2008-11-06 08:55:46Z by bz In case INET is not defined, then ANCACHE is not defined and the sc does not have 'an_have_rssimap' variable. Add an ANCACHE check to poperly hide the case and make an(4) compile without INET. MFC after: 2 months
Revision 1.67.2.3.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 2 02:57:24 2008 UTC (3 years, 4 months ago) by kensmith
Branches: RELENG_6_4
CVS tags: RELENG_6_4_0_RELEASE
Diff to: previous 1.67.2.3: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67.2.3: +0 -0 lines
SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith Create releng/6.4 from stable/6 in preparation for 6.4-RC1. Approved by: re (implicit)
Revision 1.88: download - view: text, markup, annotated - select for diffs
Fri Jan 18 16:34:18 2008 UTC (4 years ago) by ambrisko
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +39 -39 lines
Style changes from avatar. Submitted by: avatar
Revision 1.87: download - view: text, markup, annotated - select for diffs
Fri Jan 18 16:31:24 2008 UTC (4 years ago) by ambrisko
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +248 -121 lines
First real attempt at proper locking. The locking is a little complicated since the the command and data that is being built to be sent to or read from the HW lives in the softc. Commands are later run via an_setdef etc. In the ioctl path various references are kept to the data stored in the softc so it needs to be protected. Almost think of the command in the softc a global variable since it essentially is. Since locking wasn't done in this type of context the commands would get corrupted. Thanks to avatar@ for catching some lock issues and dhw@ for testing. Things are a lot more stable except for the MPI-350 cards. My an(4) remote laptop stays on the network now. The driver should be changed so that it uses private memory that is passed to the functions that talk to the card. Then only those functions would really need to grab locks. Reviewed by: avatar@
Revision 1.84.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 1 07:01:45 2007 UTC (4 years, 2 months ago) by avatar
Branches: RELENG_7
CVS tags: RELENG_7_3_BP, RELENG_7_2_BP, RELENG_7_1_BP, RELENG_7_0_BP, RELENG_7_0_0_RELEASE, RELENG_7_0
Branch point for: RELENG_7_3, RELENG_7_2, RELENG_7_1
Diff to: previous 1.84.2.1: preferred, colored; branchpoint 1.84: preferred, colored
Changes since revision 1.84.2.1: +0 -4 lines
MFC(1.86): Eliminating an unnecessary check on an_gone inside an_stats_update() since a properly locked callout_stop(9) does do the right thing. Approved by: re (kensmith)
Revision 1.86: download - view: text, markup, annotated - select for diffs
Tue Nov 27 08:29:24 2007 UTC (4 years, 2 months ago) by avatar
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +0 -4 lines
MFP4(129048): Eliminating an unnecessary check on an_gone inside an_stats_update() since a properly locked callout_stop(9) does do the right thing. Reviewed by: ambrisko, jhb MFC after: 3 days
Revision 1.67.2.2.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 27 08:22:37 2007 UTC (4 years, 2 months ago) by avatar
Branches: RELENG_6_3
CVS tags: RELENG_6_3_0_RELEASE
Diff to: previous 1.67.2.2: preferred, colored; next MAIN 1.67.2.3: preferred, colored
Changes since revision 1.67.2.2: +13 -10 lines
MFC(if_an.c:1.85, if_anreg.h:1.24): Trying to eliminate a racing as well as reducing the chance of device removal(PCCARD) panic by replacing the timeout(9) with callout(9) APIs. Approved by: re (gnn)
Revision 1.67.2.3: download - view: text, markup, annotated - select for diffs
Tue Nov 27 08:11:13 2007 UTC (4 years, 2 months ago) by avatar
Branches: RELENG_6
CVS tags: RELENG_6_4_BP
Branch point for: RELENG_6_4
Diff to: previous 1.67.2.2: preferred, colored; branchpoint 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67.2.2: +13 -10 lines
MFC(if_an.c:1.85, if_anreg.h:1.24): Trying to eliminate a racing as well as reducing the chance of device removal(PCCARD) panic by replacing the timeout(9) with callout(9) APIs. Tested by: dhw Approved by: re (gnn)
Revision 1.84.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 21 06:37:40 2007 UTC (4 years, 2 months ago) by avatar
Branches: RELENG_7
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +17 -10 lines
MFC(if_an.c:1.85, if_anreg.h:1.24): Trying to eliminate a racing as well as reducing the chance of device removal(PCCARD) panic by replacing the timeout(9) with callout(9) APIs. Tested by: dhw Approved by: re (kensmith) MFC after: 3 days
Revision 1.85: download - view: text, markup, annotated - select for diffs
Fri Nov 16 11:22:18 2007 UTC (4 years, 2 months ago) by avatar
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +17 -10 lines
MFP4(128855, 129015): - Trying to eliminate another racing by replacing the timeout(9) with callout APIs. In addition to that, the callout_drain() in an_detach() help us to avoid a possible panic-on-free due to the callout API tries to lock a destroyed mutex. - In an_stats_update(), check the return value of an_read_record(). This should reduce the chance of device removal(PCCARD) panic [2]. - Adding a comment to state the fact that an_stats_update() is now called via callout(9) with a lock held [2]. Submitted by: jhb [1], ambrisko [2] Reviewed by: jhb, ambrisko Reported by: dhw Tested by: dhw MFC after: 3 days
Revision 1.84: download - view: text, markup, annotated - select for diffs
Mon Sep 10 12:53:34 2007 UTC (4 years, 5 months ago) by avatar
Branches: MAIN
CVS tags: RELENG_7_BP
Branch point for: RELENG_7
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +17 -0 lines
Fixing invalid channel display in ifconfig(8) by implementing required ioctl(). Note that other information provided by ifconfig(8) such like "list chan" or "list ap" are still not available at this moment. Before an(4) is connected to wlan(4), users are encouraged to use ancontrol(8) to retrieve aforementioned information. Reported by: dhw (http://lists.freebsd.org/pipermail/freebsd-current/2007-July/074848.html) Reviewed by: ambrisko Tested by: dhw Approved by: re (bmah)
Revision 1.83: download - view: text, markup, annotated - select for diffs
Tue Aug 7 12:26:19 2007 UTC (4 years, 6 months ago) by avatar
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +3 -1 lines
MFP4(123687): Closing another LOR by dropping the driver lock around calls to if_input(). Reviewed by: ambrisko Tested by: dhw Approved by: re (kensmith)
Revision 1.82: download - view: text, markup, annotated - select for diffs
Thu Aug 2 02:20:19 2007 UTC (4 years, 6 months ago) by avatar
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +60 -12 lines
MFP4(123686): Fixing various ancontrol(8) related panics by dropping locks around copyin()/copyout(). Reviewed by: sam, thompsa Tested by: dhw Approved by: re (kensmith)
Revision 1.81: download - view: text, markup, annotated - select for diffs
Fri Jun 8 01:21:20 2007 UTC (4 years, 8 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +0 -2 lines
Remove assignment to uninitialized variable that wasn't then used anyway.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Mon Nov 6 13:41:50 2006 UTC (5 years, 3 months ago) by rwatson
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +6 -5 lines
Sweep kernel replacing suser(9) calls with priv(9) calls, assigning specific privilege names to a broad range of privileges. These may require some future tweaking. Sponsored by: nCircle Network Security, Inc. Obtained from: TrustedBSD Project Discussed on: arch@ Reviewed (at least in part) by: mlaier, jmg, pjd, bde, ceri, Alex Lyashkov <umka at sevcity dot net>, Skip Ford <skip dot ford at verizon dot net>, Antoine Brodin <antoine dot brodin at laposte dot net>
Revision 1.79: download - view: text, markup, annotated - select for diffs
Tue May 16 14:36:22 2006 UTC (5 years, 8 months ago) by phk
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +0 -1 lines
Since DELAY() was moved, most <machine/clock.h> #includes have been unnecessary.
Revision 1.78: download - view: text, markup, annotated - select for diffs
Sat Feb 4 22:51:03 2006 UTC (6 years ago) by imp
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +16 -16 lines
Silence the strict-alias warnings. Make a trip through (void *) when casting a structure to a uint32_t *. Many drivers in the tree do this, but I'll not update them until these changes can be reviewed by the pedantic standards folks.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Thu Jan 26 19:55:29 2006 UTC (6 years ago) by njl
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +2 -3 lines
Since the A-Z range is contained in the previous check, the else-if is dead code. Clean up both by using isprint() instead, since that's what it really wants. Coverity ID: 100 Found by: Coverity Prevent
Revision 1.76: download - view: text, markup, annotated - select for diffs
Sun Jan 15 12:09:03 2006 UTC (6 years ago) by rwatson
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +4 -0 lines
Don't leak mbufs and mbuf clusters in several error-handling situations in the if_an receive routine. Found with: Coverity Prevent (tm) MFC after: 1 week
Revision 1.75: download - view: text, markup, annotated - select for diffs
Sun Jan 15 12:06:09 2006 UTC (6 years ago) by rwatson
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +1 -0 lines
If frame length is excessive, don't leak an mbuf and cluster when abandoning processing. Found with: Coverity Prevent (tm) MFC after: 1 week
Revision 1.74: download - view: text, markup, annotated - select for diffs
Fri Nov 11 16:04:49 2005 UTC (6 years, 3 months ago) by ru
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +3 -2 lines
- Store pointer to the link-level address right in "struct ifnet" rather than in ifindex_table[]; all (except one) accesses are through ifp anyway. IF_LLADDR() works faster, and all (except one) ifaddr_byindex() users were converted to use ifp->if_addr. - Stop storing a (pointer to) Ethernet address in "struct arpcom", and drop the IFP2ENADDR() macro; all users have been converted to use IF_LLADDR() instead.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Fri Nov 11 07:36:13 2005 UTC (6 years, 3 months ago) by ru
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +0 -6 lines
- Make IFP2ENADDR() a pointer to IF_LLADDR() rather than another copy of Ethernet address. - Change iso88025_ifattach() and fddi_ifattach() to accept MAC address as an argument, similar to ether_ifattach(), to make this work.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Thu Sep 22 04:46:56 2005 UTC (6 years, 4 months ago) by imp
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +82 -176 lines
MFp4: KNF (mostly remove K&R function definitions). Fix some spaces left over from de__Ping. # Didn't fix the -Exxxx return statements that appaer to be linuxisms # (and wrong) since I don't have hardware to test with.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Mon Sep 19 03:10:15 2005 UTC (6 years, 4 months ago) by imp
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +1 -1 lines
Make sure that we call if_free(ifp) after bus_teardown_intr. Since we could get an interrupt after we free the ifp, and the interrupt handler depended on the ifp being still alive, this could, in theory, cause a crash. Eliminate this possibility by moving the if_free to after the bus_teardown_intr() call.
Revision 1.67.2.2: download - view: text, markup, annotated - select for diffs
Thu Aug 25 05:01:03 2005 UTC (6 years, 5 months ago) by rwatson
Branches: RELENG_6
CVS tags: RELENG_6_3_BP, RELENG_6_2_BP, RELENG_6_2_0_RELEASE, RELENG_6_2, RELENG_6_1_BP, RELENG_6_1_0_RELEASE, RELENG_6_1, RELENG_6_0_BP, RELENG_6_0_0_RELEASE, RELENG_6_0
Branch point for: RELENG_6_3
Diff to: previous 1.67.2.1: preferred, colored; branchpoint 1.67: preferred, colored
Changes since revision 1.67.2.1: +12 -12 lines
Merge linux_ioctl.c:1.128 svr4_sockio.c:1.17 altq_cbq.c:1.3 if_oltr.c:1.38 if_pflog.c:1.14 if_pfsync.c:1.21 if_an.c:1.70 if_ar.c:1.72 if_arl.c:1.11 amrr.c:1.10 onoe.c:1.10 if_ath.c:1.101 awi.c:1.41 if_bfe.c:1.27 if_bge.c:1.93 if_cm_isa.c:1.7 smc90cx6.c:1.16 if_cnw.c:1.20 if_cp.c:1.25 if_cs.c:1.42 if_ct.c:1.26 if_cx.c:1.46 if_ed.c:1.256 if_em.c:1.68 if_en_pci.c:1.37 midway.c:1.66 if_ep.c:1.143 if_ex.c:1.58 if_fatm.c:1.20 if_fe.c:1.93 if_fwe.c:1.38 if_fwip.c:1.8 if_fxp.c:1.244 if_gem.c:1.33 if_hatm.c:1.25 if_hatm_intr.c:1.20 if_hatm_ioctl.c:1.13 if_hatm_rx.c:1.10 if_hatm_tx.c:1.14 if_hme.c:1.39 if_ie.c:1.104 if_ndis.c:1.101 if_ic.c:1.24 if_ipw.c:1.10 if_iwi.c:1.10 if_ixgb.c:1.13 if_lge.c:1.41 if_lnc.c:1.113 if_my.c:1.31 if_nge.c:1.77 if_nve.c:1.10 if_owi.c:1.12 if_patm.c:1.9 if_patm_intr.c:1.6 if_patm_ioctl.c:1.10 if_patm_tx.c:1.10 pdq_ifsubr.c:1.28 if_plip.c:1.38 if_ral.c:1.12 if_ral_pci.c:1.2 if_ray.c:1.81 if_rayvar.h:1.22 if_re.c:1.49 if_sbni.c:1.21 if_sbsh.c:1.14 if_sn.c:1.48 dp83932.c:1.21 if_snc_pccard.c:1.9 if_sr.c:1.70 if_tx.c:1.91 if_txp.c:1.33 if_aue.c:1.92 if_axe.c:1.32 if_cdce.c:1.8 if_cue.c:1.59 if_kue.c:1.66 if_rue.c:1.23 if_udav.c:1.16 if_ural.c:1.12 if_vge.c:1.16 if_vx.c:1.58 if_wi.c:1.185 if_wi_pci.c:1.26 if_wl.c:1.68 if_xe.c:1.60 if_xe_pccard.c:1.30 if_el.c:1.68 i4b_ipr.c:1.35 i4b_isppp.c:1.31 kern_poll.c:1.20 bridge.c:1.94 bridgestp.c:1.4 if_arcsubr.c:1.27 if_atm.h:1.24 if_atmsubr.c:1.40 if_bridge.c:1.16 if_ef.c:1.35 if_ethersubr.c:1.196 if_faith.c:1.37 if_fddisubr.c:1.100 if_fwsubr.c:1.14 if_gif.c:1.54 if_gre.c:1.34 if_iso88025subr.c:1.70 if_loop.c:1.107 if_ppp.c:1.106 if_spppsubr.c:1.121 if_tap.c:1.57 if_tun.c:1.154 if_vlan.c:1.80 ppp_tty.c:1.67 ieee80211_ioctl.c:1.32 atm_if.c:1.31 ng_eiface.c:1.33 ng_ether.c:1.50 ng_fec.c:1.19 ng_iface.c:1.44 ng_sppp.c:1.9 ip_carp.c:1.30 ip_fastfwd.c:1.30 in6.c:1.53 nd6_nbr.c:1.31 natm.c:1.40 if_dc.c:1.162 if_de.c:1.168 if_pcn.c:1.72 if_rl.c:1.154 if_sf.c:1.84 if_sis.c:1.135 if_sk.c:1.108 if_ste.c:1.86 if_ti.c:1.109 if_tl.c:1.101 if_vr.c:1.106 if_wb.c:1.81 if_xl.c:1.194 from HEAD to RELENG_6: Propagate rename of IFF_OACTIVE and IFF_RUNNING to IFF_DRV_OACTIVE and IFF_DRV_RUNNING, as well as the move from ifnet.if_flags to ifnet.if_drv_flags. Device drivers are now responsible for synchronizing access to these flags, as they are in if_drv_flags. This helps prevent races between the network stack and device driver in maintaining the interface flags field. Many __FreeBSD__ and __FreeBSD_version checks maintained and continued; some less so. Reviewed by: pjd, bz Approved by: re (scottl)
Revision 1.70: download - view: text, markup, annotated - select for diffs
Tue Aug 9 10:19:42 2005 UTC (6 years, 6 months ago) by rwatson
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +12 -12 lines
Propagate rename of IFF_OACTIVE and IFF_RUNNING to IFF_DRV_OACTIVE and IFF_DRV_RUNNING, as well as the move from ifnet.if_flags to ifnet.if_drv_flags. Device drivers are now responsible for synchronizing access to these flags, as they are in if_drv_flags. This helps prevent races between the network stack and device driver in maintaining the interface flags field. Many __FreeBSD__ and __FreeBSD_version checks maintained and continued; some less so. Reviewed by: pjd, bz MFC after: 7 days
Revision 1.67.2.1: download - view: text, markup, annotated - select for diffs
Thu Aug 4 21:12:22 2005 UTC (6 years, 6 months ago) by emax
Branches: RELENG_6
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +2 -2 lines
MFC if_an.c v1.69 to RELENG_6 Reorganize an_detach() a bit. Make sure ether_ifdetach() and if_free() are called outside of AN_LOCK()/AN_UNLOCK. This fixes the following WITNESS warning (produced when an(4) PCMCIA card is detached). taskqueue_drain with the following non-sleepable locks held: exclusive sleep mutex an0 (network driver) r = 0 (0xc59af168) locked @ /usr/src/ sys/dev/an/if_an.c:2836 Do not lock an to check gone flag. Only need to hold the lock to set the gone flag. Reviewed by: imp Approved by: re (kemsmith)
Revision 1.69: download - view: text, markup, annotated - select for diffs
Tue Aug 2 16:03:51 2005 UTC (6 years, 6 months ago) by emax
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +1 -2 lines
Do not lock an to check gone flag. Only need to hold the lock to set the gone flag. Reviewed by: imp MFC after: 1 day
Revision 1.68: download - view: text, markup, annotated - select for diffs
Wed Jul 27 21:03:35 2005 UTC (6 years, 6 months ago) by emax
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +4 -3 lines
Reorganize an_detach() a bit. Make sure ether_ifdetach() and if_free() are called outside of AN_LOCK()/AN_UNLOCK. This fixes the following WITNESS warning (produced when an(4) PCMCIA card is detached). taskqueue_drain with the following non-sleepable locks held: exclusive sleep mutex an0 (network driver) r = 0 (0xc59af168) locked @ /usr/src/sys/dev/an/if_an.c:2836 MFC after: 3 days Silence from: current@
Revision 1.67: download - view: text, markup, annotated - select for diffs
Tue Jun 14 14:50:40 2005 UTC (6 years, 7 months ago) by delphij
Branches: MAIN
CVS tags: RELENG_6_BP
Branch point for: RELENG_6
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +1 -1 lines
Initialize sc->an_ifp when doing if_alloc(). This prevents an(4) from being panic when attaching. Approved by: re (scottl)
Revision 1.66: download - view: text, markup, annotated - select for diffs
Fri Jun 10 16:49:03 2005 UTC (6 years, 8 months ago) by brooks
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +23 -17 lines
Stop embedding struct ifnet at the top of driver softcs. Instead the struct ifnet or the layer 2 common structure it was embedded in have been replaced with a struct ifnet pointer to be filled by a call to the new function, if_alloc(). The layer 2 common structure is also allocated via if_alloc() based on the interface type. It is hung off the new struct ifnet member, if_l2com. This change removes the size of these structures from the kernel ABI and will allow us to better manage them as interfaces come and go. Other changes of note: - Struct arpcom is no longer referenced in normal interface code. Instead the Ethernet address is accessed via the IFP2ENADDR() macro. To enforce this ac_enaddr has been renamed to _ac_enaddr. - The second argument to ether_ifattach is now always the mac address from driver private storage rather than sometimes being ac_enaddr. Reviewed by: sobomax, sam
Revision 1.65: download - view: text, markup, annotated - select for diffs
Mon Mar 28 17:52:12 2005 UTC (6 years, 10 months ago) by sam
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +24 -14 lines
check copyin/copyout return values Noticed by: Coverity Prevent analysis tool
Revision 1.63.2.1: download - view: text, markup, annotated - select for diffs
Sun Jan 30 00:59:28 2005 UTC (7 years ago) by imp
Branches: RELENG_5
CVS tags: RELENG_5_5_BP, RELENG_5_5_0_RELEASE, RELENG_5_5, RELENG_5_4_BP, RELENG_5_4_0_RELEASE, RELENG_5_4
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +1 -1 lines
MFC: /*- and my license changes for sys/[a-d]*
Revision 1.64: download - view: text, markup, annotated - select for diffs
Thu Jan 6 01:42:28 2005 UTC (7 years, 1 month ago) by imp
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +1 -1 lines
Start each of the license/copyright comments with /*-, minor shuffle of lines
Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Aug 1 23:58:03 2004 UTC (7 years, 6 months ago) by mlaier
Branches: MAIN
CVS tags: RELENG_5_BP, RELENG_5_3_BP, RELENG_5_3_0_RELEASE, RELENG_5_3
Branch point for: RELENG_5
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +7 -5 lines
Second part of ALTQ driver modifications, covering: an(4), ath(4), hme(4), ndis(4), vr(4) and wi(4) Please help testing: http://people.freebsd.org/~mlaier/ALTQ_driver/ Tested by: Vaidas Damosevicius (an, ath, wi) Roman Divacky (vr) Submitted by: yongari (hme)
Revision 1.2.2.16: download - view: text, markup, annotated - select for diffs
Thu Jun 24 04:18:26 2004 UTC (7 years, 7 months ago) by ambrisko
Branches: RELENG_4
CVS tags: RELENG_4_11_BP, RELENG_4_11_0_RELEASE, RELENG_4_11
Diff to: previous 1.2.2.15: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.15: +6 -23 lines
MFC Disable card interrupts when doing a TX.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Thu Jun 17 02:19:11 2004 UTC (7 years, 7 months ago) by ambrisko
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +6 -0 lines
While setting up a transmit packet disable interupts on the card then re-enable them after we are done setting up the packet. This seems to fix the MPI350 newer firmware hangs.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Sun May 23 16:11:45 2004 UTC (7 years, 8 months ago) by mux
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +0 -1 lines
We don't need to initialize if_output, ether_ifattach() does it for us.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Mar 17 17:50:26 2004 UTC (7 years, 10 months ago) by njl
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +2 -2 lines
Convert callers to the new bus_alloc_resource_any(9) API. Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde
Revision 1.59: download - view: text, markup, annotated - select for diffs
Sun Mar 14 07:12:19 2004 UTC (7 years, 10 months ago) by mdodd
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +0 -3 lines
Announce ethernet MAC addresss in ether_ifattach().
Revision 1.58: download - view: text, markup, annotated - select for diffs
Sat Jan 10 03:02:04 2004 UTC (8 years, 1 month ago) by ambrisko
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +0 -21 lines
Remove the HACK section it breaks the older firmware and doesn't totally fix the new firmware so remove it.
Revision 1.2.2.15: download - view: text, markup, annotated - select for diffs
Wed Dec 31 03:02:46 2003 UTC (8 years, 1 month ago) by ambrisko
Branches: RELENG_4
CVS tags: RELENG_4_10_BP, RELENG_4_10_0_RELEASE, RELENG_4_10
Diff to: previous 1.2.2.14: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.14: +15 -5 lines
MFC: Fixes for MPI-350 so that it doesn't read past end of the buffer space and don't access the dma memory until it is properly setup. This prevents a couple of panics (the read panic happens with newer firmware).
Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue Dec 30 01:07:12 2003 UTC (8 years, 1 month ago) by ambrisko
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +40 -8 lines
- Bump up the general and status RID sizes - Clear out an_dma_vaddr on free so we can test to see if dma is setup when the card is kldunloaded/kldloaded etc. only for MPI350 - Use a common detach like wi(4) - Notify on RID read overflow and truncate this currently causes a panic in -stable when the stack during an ifconfig an0 is done with newer firmware - Convert from UNLOCK/tsleep/LOCK to msleep. I thought I did that a while ago.
Revision 1.2.2.14: download - view: text, markup, annotated - select for diffs
Sun Nov 30 20:29:41 2003 UTC (8 years, 2 months ago) by ambrisko
Branches: RELENG_4
Diff to: previous 1.2.2.13: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.13: +137 -74 lines
MFC: - Support for newer firmware on non MPI350 cards (ie. new RID lengths)
and more flexible SSID lists.
- Some tweaks to the MPI350 handling but not the hack to kick start
the new MPI350 firmware.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Fri Nov 14 19:00:29 2003 UTC (8 years, 2 months ago) by sam
Branches: MAIN
CVS tags: RELENG_5_2_BP, RELENG_5_2_1_RELEASE, RELENG_5_2_0_RELEASE, RELENG_5_2
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +4 -0 lines
Drop the driver lock around calls to if_input to avoid a LOR when the packets are immediately returned for sending (e.g. when bridging or packet forwarding). There are more efficient ways to do this but for now use the least intrusive approach. Reviewed by: imp, rwatson
Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Oct 31 18:31:56 2003 UTC (8 years, 3 months ago) by brooks
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +3 -2 lines
Replace the if_name and if_unit members of struct ifnet with new members if_xname, if_dname, and if_dunit. if_xname is the name of the interface and if_dname/unit are the driver name and instance. This change paves the way for interface renaming and enhanced pseudo device creation and configuration symantics. Approved By: re (in principle) Reviewed By: njl, imp Tested On: i386, amd64, sparc64 Obtained From: NetBSD (if_xname)
Revision 1.54: download - view: text, markup, annotated - select for diffs
Sun Aug 24 17:48:04 2003 UTC (8 years, 5 months ago) by obrien
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -4 lines
Use __FBSDID(). Also some minor style cleanups.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Aug 20 05:52:48 2003 UTC (8 years, 5 months ago) by ambrisko
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +11 -9 lines
Fix panic from having multiple locks held when updating firmware. AN_LOCK was asserted during a tsleep resulting in a panic in tsleep.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Aug 20 03:46:05 2003 UTC (8 years, 5 months ago) by ambrisko
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +137 -73 lines
- Add support for Cisco latest firmware RID sizes that supports 25 SSIDs! - Fix up TX speed changes. - Make mpi-350 cards sort-of work with new firmware. It RXs okay but TXs only work for about 14 packets then fails to get an interrupt. The TX watchdog fires. It has been reported that my hack for now doesn't break cards with the older firmware. It appears my card has lost the ability to RX or TX at all but other peoples cards work. I assume it got damaged in tansport. MFC: 1 week.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat Jun 28 06:13:27 2003 UTC (8 years, 7 months ago) by sam
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +8 -8 lines
update for new 802.11 support
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Jun 1 09:27:33 2003 UTC (8 years, 8 months ago) by phk
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +1 -1 lines
Remove break after return. Add XXX comment where intent is unclear. Found by: FlexeLint
Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Apr 10 05:12:44 2003 UTC (8 years, 10 months ago) by imp
Branches: MAIN
CVS tags: RELENG_5_1_BP, RELENG_5_1_0_RELEASE, RELENG_5_1
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +10 -19 lines
Don't lock in the attach routine. It isn't required. Register the interrupt handler last. This gets rid of the sleep while locked messages. Reviewed by: ambrisko
Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu Apr 3 21:36:29 2003 UTC (8 years, 10 months ago) by obrien
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -7 lines
Use __FBSDID rather than rcsid[].
Revision 1.47: download - view: text, markup, annotated - select for diffs
Wed Feb 19 05:47:00 2003 UTC (8 years, 11 months ago) by imp
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +5 -5 lines
Back out M_* changes, per decision of the TRB. Approved by: trb
Revision 1.2.2.13: download - view: text, markup, annotated - select for diffs
Tue Feb 11 03:32:48 2003 UTC (9 years ago) by ambrisko
Branches: RELENG_4
CVS tags: RELENG_4_9_BP, RELENG_4_9_0_RELEASE, RELENG_4_9, RELENG_4_8_BP, RELENG_4_8_0_RELEASE, RELENG_4_8
Diff to: previous 1.2.2.12: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.12: +94 -47 lines
MFC - Suspend/Resume support for MPI-350
- Better timing for MPI-350
- Cache temp. keys in driver to re-load them after a suspend/resume
cycle.
Tested by: Peter Radcliffe
Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Feb 8 04:41:17 2003 UTC (9 years ago) by ambrisko
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +52 -48 lines
- Fixes for suspend/resume code (MPI-350) - Cache temp. keys so they are preserved across suspend/resume (MPI-350) - Reads and writes are real fast to the MPI-350 causing early timeouts so wait do some DELAYs to slow things down in the spin loops. - Stream line setting RIDs when they are better to be set via another function - Add better support for setting home key via "ifconfig an0 wepkey 9:<key>" Tested by: Peter Radcliffe <pir@pir.net> (in -stable) myself in -current & -stable MFC in: 3 days
Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Feb 5 03:37:42 2003 UTC (9 years ago) by ambrisko
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +20 -0 lines
Support for suspend/resume in laptops. Loosely based on the wi(4) patches but not quite. The memory descriptors and most of the card parameters need to be writen to the card. MFC in: 3 days
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Feb 2 22:49:31 2003 UTC (9 years ago) by ambrisko
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +69 -63 lines
Some small enhancments
- Implement TX power control with hints to code in Linux driver
by Douglas S. J. De Couto <decouto@lcs.mit.edu>
- Update ifmedia support to use ieee80211_rate2media and
ieee80211_media2rate. Note doesn't work with stock ifconfig
since there seems to be an issue with the setmedia code.
"ancontrol -t" works now, before it did nothing.
- Fix spelling error in header.
Revision 1.2.2.12: download - view: text, markup, annotated - select for diffs
Sat Feb 1 03:25:12 2003 UTC (9 years ago) by ambrisko
Branches: RELENG_4
Diff to: previous 1.2.2.11: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.11: +1064 -299 lines
MFC: - Initial MPI-350 support
- Correct signal/quality/noise parsing and RSSI mapping
- Diff reduction to -current
Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Jan 30 15:01:17 2003 UTC (9 years ago) by ambrisko
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +24 -24 lines
Fix some style and incorrect indentation level bugs. Questioned by: phk (for the indentation problem)
Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Jan 21 08:55:25 2003 UTC (9 years ago) by alfred
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +5 -5 lines
Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun Dec 29 19:22:07 2002 UTC (9 years, 1 month ago) by ambrisko
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +1047 -290 lines
Add support for MPI-350 the mini-pci Cisco Aironet card. This needs more work. The interface was gleaned from the Linux driver. Currently only one RX & one TX buffer are used. Firmware support is not tested so for the MPI-350 so it is disabled. Signal cache and monitor mode are not supported yet. Signal cache is not supported since in encapsulation mode ethernet frames are returned by the chip. LAN monitor mode support will be added shortly. Thanks to Warner for the MPI-350 card he sent me. Add support for RSSI map from PR kern/32880 which was incomplete. Enhanced with the ability to select the cache mode of raw, dbm or per-cent. Clean up Signal/Noise/Quality structures and units with help from Marco Molteni. Change flash to use a malloc'ed buffer when needed. PR: kern/32880 Submitted by: Douglas S. J. De Couto decouto@pdos.lcs.mit.edu, Marco Molteni MFC: 3 weeks
Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Dec 24 14:46:01 2002 UTC (9 years, 1 month ago) by rwatson
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -0 lines
Require privilege to flush the signal cache on if_an and if_wi 802.11 cards. Reviewed by: imp (if_wi)
Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Nov 14 23:54:49 2002 UTC (9 years, 2 months ago) by sam
Branches: MAIN
CVS tags: RELENG_5_0_BP, RELENG_5_0_0_RELEASE, RELENG_5_0
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +9 -14 lines
network interface driver changes: o don't strip the Ethernet header from inbound packets; pass packets up the stack intact (required significant changes to some drivers) o reference common definitions in net/ethernet.h (e.g. ETHER_ALIGN) o track ether_ifattach/ether_ifdetach API changes o track bpf changes (use BPF_TAP and BPF_MTAP) o track vlan changes (ifnet capabilities, revised processing scheme, etc.) o use if_input to pass packets "up" o call ether_ioctl for default handling of ioctls Reviewed by: many Approved by: re
Revision 1.38: download - view: text, markup, annotated - select for diffs
Wed Nov 6 18:55:24 2002 UTC (9 years, 3 months ago) by jhb
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +1 -1 lines
Fix warning where sizeof(size_t) != sizeof(int).
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Sep 28 17:14:23 2002 UTC (9 years, 4 months ago) by phk
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +1 -1 lines
Be consistent about "static" functions: if the function is marked static in its prototype, mark it static at the definition too. Inspired by: FlexeLint warning #512
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Jul 27 21:28:40 2002 UTC (9 years, 6 months ago) by fenner
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +1 -1 lines
Fix location and name of if_an_pci.c in comment.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu Apr 4 21:03:14 2002 UTC (9 years, 10 months ago) by jhb
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2 lines
Change callers of mtx_init() to pass in an appropriate lock type name. In most cases NULL is passed, but in some cases such as network driver locks (which use the MTX_NETWORK_LOCK macro) and UMA zone locks, a name is used. Tested on: i386, alpha, sparc64
Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon Apr 1 21:30:30 2002 UTC (9 years, 10 months ago) by jhb
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +5 -5 lines
Change the suser() API to take advantage of td_ucred as well as do a general cleanup of the API. The entire API now consists of two functions similar to the pre-KSE API. The suser() function takes a thread pointer as its only argument. The td_ucred member of this thread must be valid so the only valid thread pointers are curthread and a few kernel threads such as thread0. The suser_cred() function takes a pointer to a struct ucred as its first argument and an integer flag as its second argument. The flag is currently only used for the PRISON_ROOT flag. Discussed on: smp@
Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Mar 20 02:02:34 2002 UTC (9 years, 10 months ago) by alfred
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +37 -39 lines
Remove __P.
Revision 1.2.2.11: download - view: text, markup, annotated - select for diffs
Mon Mar 18 14:56:35 2002 UTC (9 years, 10 months ago) by ambrisko
Branches: RELENG_4
CVS tags: RELENG_4_7_BP, RELENG_4_7_0_RELEASE, RELENG_4_7, RELENG_4_6_BP, RELENG_4_6_2_RELEASE, RELENG_4_6_1_RELEASE, RELENG_4_6_0_RELEASE, RELENG_4_6
Diff to: previous 1.2.2.10: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.10: +4 -0 lines
MFC: suser check for Linux compatible ioctls.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Mar 14 20:56:41 2002 UTC (9 years, 11 months ago) by ambrisko
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -0 lines
Only allow super user to perform the Linux compatible ioctls since some of the things they do, shouldn't be done by normal users. MFC after: 2 days
Revision 1.2.2.10: download - view: text, markup, annotated - select for diffs
Wed Mar 6 02:19:44 2002 UTC (9 years, 11 months ago) by ambrisko
Branches: RELENG_4
Diff to: previous 1.2.2.9: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.9: +1 -3 lines
MFC: In ad-hoc mode update status if really associated.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Feb 26 05:43:05 2002 UTC (9 years, 11 months ago) by ambrisko
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +1 -3 lines
In ad-hoc mode, the "associate" bit is valid to check to see if it is part of an ad-hoc network. This means another station needs to be around so they can both associate. MFC after: 1 week
Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Feb 20 18:23:59 2002 UTC (9 years, 11 months ago) by brooks
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -0 lines
Add missing m_free() so we actually drain the send buffer in monitor mode. Submitted by: Kenjiro Cho <kjc@csl.sony.co.jp>
Revision 1.2.2.9: download - view: text, markup, annotated - select for diffs
Thu Feb 7 15:12:50 2002 UTC (10 years ago) by ambrisko
Branches: RELENG_4
Diff to: previous 1.2.2.8: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.8: +656 -78 lines
MFC: LEAP, support for Linux "acu" private ioctls, fix 802.11 RFMON gap problem, support for Home key, add support for multiple SSIDs via ifmedia and some minor bug fixes, install header files in /usr/include/dev/an and in general sync with -current. Reviewed by: imp, David Wolfskill <david@catwhisker.org>
Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Jan 8 10:25:12 2002 UTC (10 years, 1 month ago) by msmith
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +1 -1 lines
Staticise the flash buffer, since it isn't needed anywhere else.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Dec 31 22:12:42 2001 UTC (10 years, 1 month ago) by ambrisko
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +84 -88 lines
Save stack space by converting areq in sc->areq. Reviewed by: Brooks Davis <brooks@freebsd.org> Warner Losh <imp@freebsd.org> Approved by: Brooks Davis <brooks@freebsd.org> Warner Losh <imp@freebsd.org>
Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Dec 31 22:01:44 2001 UTC (10 years, 1 month ago) by ambrisko
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +602 -15 lines
Fix bugs in the structure for rx_frame by making gap length one byte and a packed array so sizeof work. This broke RFMON mode and passing up 802.11 packets. The Linux emulation code was derived from the open source Linux driver to maintain compatibility. LEAP support is added, hints from Richard Johnson. I've verified this locally with PC350v42510.img firmware. More bug fixing from Marco to fix long passwords. Change DELAYs in flash part of driver to FLASH_DELAY which uses tsleep so it doesn't look like your system died during a flash update. Install header files in /usr/include/dev/an Cleanup some ifmedia bugs add "Home" key mode to ifmedia and ancontrol. This way you can manage 2 keys a little easier. Map the home mode into key 5. Enhance ifconfig to dump the various configured SSIDs. I use a bunch of different ones and roam between them. Use the syntax similar to the WEP keys to deal with setting difference SSIDs. Bump up up the Card capabilities RID since they added 2 bytes to it in the latest firmware. Thankfully we changed it from a terminal failure so the card still worked but the driver whined. Some cleanup patches from Marco Molteni. Submitted by: Richard Johnson <raj@cisco.com> Marco Molteni <molter@tin.it> and myself Various checks: David Wolfskill <david@catwhisker.org> Reviewed by: Brooks Davis <brooks@freebsd.org> Warner Losh <imp@freebsd.org> Approved by: Brooks Davis <brooks@freebsd.org> Warner Losh <imp@freebsd.org> Obtained from: Linux emulation API's from Aironet driver.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Nov 15 06:17:05 2001 UTC (10 years, 2 months ago) by imp
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +1 -4 lines
Fix comments about 'current' state of hardware/software
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Nov 11 11:20:09 2001 UTC (10 years, 3 months ago) by phk
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3 lines
fix typo. PR: 31898 Submitted by: Michael Lyngbøl <lyngbol@bifrost.lyngbol.dk>
Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Oct 11 17:52:19 2001 UTC (10 years, 4 months ago) by jhb
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -2 lines
Add missing includes of sys/lock.h.
Revision 1.2.2.8: download - view: text, markup, annotated - select for diffs
Wed Sep 26 01:02:01 2001 UTC (10 years, 4 months ago) by brooks
Branches: RELENG_4
CVS tags: RELENG_4_5_BP, RELENG_4_5_0_RELEASE, RELENG_4_5
Diff to: previous 1.2.2.7: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.7: +345 -159 lines
MFC: monitor mode and style(9) cleanups.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Sep 12 08:37:01 2001 UTC (10 years, 5 months ago) by julian
Branches: MAIN
CVS tags: KSE_MILESTONE_2
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -2 lines
KSE Milestone 2 Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is functionally equivalent to teh previousl -current except that there is a thread associated with each process. Sorry john! (your next MFC will be a doosie!) Reviewed by: peter@freebsd.org, dillon@freebsd.org X-MFC after: ha ha ha ha
Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Sep 10 02:36:18 2001 UTC (10 years, 5 months ago) by brooks
Branches: MAIN
CVS tags: KSE_PRE_MILESTONE_2
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +122 -98 lines
Lots of style(9) related white space fixes. Mostly missing spaces after if, for, while, switch, '{', and '}' plus a bunch of bogus whitespace at the end of lines.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Sep 10 02:05:09 2001 UTC (10 years, 5 months ago) by brooks
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +259 -97 lines
Add support for monitor mode. This means that after enabling the correct mode via ancontrol, you can use bpf to sniff raw 802.11 frames. Who want's to port AirSnort. ;-) Submitted by: Doug Ambrisko <ambrisko@ambrisko.com> (author) David Wolfskill <david@catwhisker.org> (port to current)
Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Sep 6 02:40:26 2001 UTC (10 years, 5 months ago) by jlemon
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -3 lines
Wrap array accesses in macros, which also happen to be lvalues:
ifnet_addrs[i - 1] -> ifaddr_byindex(i)
ifindex2ifnet[i] -> ifnet_byindex(i)
This is intended to ease the conversion to SMPng.
Revision 1.2.2.7: download - view: text, markup, annotated - select for diffs
Wed Jul 4 00:12:30 2001 UTC (10 years, 7 months ago) by brooks
Branches: RELENG_4
CVS tags: RELENG_4_4_BP, RELENG_4_4_0_RELEASE, RELENG_4_4
Diff to: previous 1.2.2.6: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.6: +623 -41 lines
MFC: ifconfig support for configuration of 802.11 wireless interfaces. This commit contains support for the an and wi drivers.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Jun 22 23:35:24 2001 UTC (10 years, 7 months ago) by brooks
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +156 -67 lines
Fix a number of bugs in the implementation of the WEP related status functions in ifconfig. "ifconfig an0" should output the correct status now. Also, make the read and write functions both more robust and more consistant. This should stop most of the incorrect size complaints and eliminate the possiability of panics from firmware that increases resource sizes. PR: kern/27826 Reviewed by: imp, jlemon Submitted by: Doug Ambrisko <ambrisko@ambrisko.com> David Wolfskill <dhw@whistle.com>
Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Jun 15 00:10:30 2001 UTC (10 years, 7 months ago) by peter
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -3 lines
Fix warnings: 1831: warning: unused variable `noise' 1831: warning: unused variable `sig'
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat May 26 09:26:58 2001 UTC (10 years, 8 months ago) by phk
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +499 -5 lines
Currently, each wireless networking driver has it's own control program despite the fact that most people want to set exactly the same settings regardless of which card they have. It has been repeatidly suggested that this configuration should be done via ifconfig. This patch implements the required functionality in ifconfig and add support to the wi and an drivers. It also provides partial, untested support for the awi driver. PR: 25577 Submitted by: Brooks Davis <brooks@one-eyed-alien.net>
Revision 1.2.2.6: download - view: text, markup, annotated - select for diffs
Sat Apr 21 20:58:09 2001 UTC (10 years, 9 months ago) by archie
Branches: RELENG_4
Diff to: previous 1.2.2.5: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.5: +8 -38 lines
MFC: promiscuous mode, header additions, device config before IFF_UP.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Mar 23 17:46:32 2001 UTC (10 years, 10 months ago) by archie
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +8 -39 lines
A few fixes..
1 Make promiscuous mode work
2 A few header additions
3 Allow device config before IFF_UP
These were (respectively)...
Submitted by: Allan Saddi <asaddi@philosophysw.com>
Submitted by: Dave Cornejo <dave@dogwood.com>
Submitted by: Doug Ambrisko <ambrisko@ambrisko.com>
Tested by: David Wolfskill <dhw@whistle.com>
Revision 1.2.2.5: download - view: text, markup, annotated - select for diffs
Mon Mar 12 11:05:52 2001 UTC (10 years, 11 months ago) by assar
Branches: RELENG_4
CVS tags: RELENG_4_3_BP, RELENG_4_3_0_RELEASE, RELENG_4_3
Diff to: previous 1.2.2.4: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.4: +3 -3 lines
MFC: change default to bss (infrastructure) from adhoc Approved by: jkh
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Mar 12 06:13:39 2001 UTC (10 years, 11 months ago) by assar
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 lines
change the default mode from adhoc to bss (infrastructure) Reviewed by: Brooks Davis <brooks@one-eyed-alien.net>
Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Jan 19 01:58:28 2001 UTC (11 years ago) by bmilekic
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -3 lines
Implement MTX_RECURSE flag for mtx_init(). All calls to mtx_init() for mutexes that recurse must now include the MTX_RECURSE bit in the flag argument variable. This change is in preparation for an upcoming (further) mutex API cleanup. The witness code will call panic() if a lock is found to recurse but the MTX_RECURSE bit was not set during the lock's initialization. The old MTX_RECURSE "state" bit (in mtx_lock) has been renamed to MTX_RECURSED, which is more appropriate given its meaning. The following locks have been made "recursive," thus far: eventhandler, Giant, callout, sched_lock, possibly some others declared in the architecture-specific code, all of the network card driver locks in pci/, as well as some other locks in dev/ stuff that I've found to be recursive. Reviewed by: jhb
Revision 1.2.2.4: download - view: text, markup, annotated - select for diffs
Wed Dec 20 21:25:31 2000 UTC (11 years, 1 month ago) by archie
Branches: RELENG_4
Diff to: previous 1.2.2.3: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.3: +64 -17 lines
MFC: synchronize with -current.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Nov 30 18:52:30 2000 UTC (11 years, 2 months ago) by alfred
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -3 lines
remove unneded sys/ucred.h includes
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Nov 13 23:04:12 2000 UTC (11 years, 2 months ago) by wpaul
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +42 -8 lines
Close PR# 21843 and PR# 21864. This adds support for WEP and updates some of the data structures to include new members that weren't defined in the manual I have. I opted to use Doug Ambrisko's WEP patches since David Cornejo's patches did not include the necessary changes to ancontrol(8) to actually enable and use WEP. NOTE: I don't currently have access to an Aironet card, so I can't test any of this. Everything compiles and close scrutiny doesn't reveal any obvious problems, but Murphy's Law applies. This means I will probably leave these changes in -current for a bit longer than usual until I'm sure they work right.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Oct 29 16:06:21 2000 UTC (11 years, 3 months ago) by phk
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -3 lines
Move suser() and suser_xxx() prototypes and a related #define from <sys/proc.h> to <sys/systm.h>. Correctly document the #includes needed in the manpage. Add one now needed #include of <sys/systm.h>. Remove the consequent 48 unused #includes of <sys/proc.h>.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Oct 20 07:57:56 2000 UTC (11 years, 3 months ago) by jhb
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3 lines
Catch up to moving headers: - machine/ipl.h -> sys/ipl.h - machine/mutex.h -> sys/mutex.h
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Oct 15 14:18:02 2000 UTC (11 years, 3 months ago) by phk
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -3 lines
Remove unneeded #include <machine/clock.h>
Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Oct 13 21:58:36 2000 UTC (11 years, 4 months ago) by wpaul
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +54 -25 lines
Convert the Aironet driver to use mutexes instead of spls.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Aug 8 23:53:11 2000 UTC (11 years, 6 months ago) by peter
Branches: MAIN
CVS tags: PRE_SMPNG
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -5 lines
MF4: fix style(9) whitespace breakage.
Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Mon Jul 17 21:24:24 2000 UTC (11 years, 6 months ago) by archie
Branches: RELENG_4
CVS tags: RELENG_4_2_0_RELEASE, RELENG_4_1_1_RELEASE, RELENG_4_1_0_RELEASE
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.2: +4 -6 lines
MFC: make all Ethernet drivers use ether_ifattach() ether_ifdetach()
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Jul 13 22:54:22 2000 UTC (11 years, 7 months ago) by archie
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -6 lines
Make all Ethernet drivers attach using ether_ifattach() and detach using ether_ifdetach(). The former consolidates the operations of if_attach(), ng_ether_attach(), and bpfattach(). The latter consolidates the corresponding detach operations. Reviewed by: julian, freebsd-net
Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Tue Jun 20 05:29:49 2000 UTC (11 years, 7 months ago) by roberto
Branches: RELENG_4
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +12 -5 lines
MFC: security fixes: suser() check and splimp/splx bug.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Jun 18 23:40:09 2000 UTC (11 years, 7 months ago) by roberto
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +12 -5 lines
- Add suser check before SIOCSAIRONET. - Fix a splimp() w/o splx bug in the ioctl routine while I'm here. Submitted by: Aaron Campbell <aaron@openbsd.org>
Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Wed May 24 01:47:44 2000 UTC (11 years, 8 months ago) by archie
Branches: RELENG_4
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -15 lines
MFC: Move BPF and bridging code into ether_input()
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun May 14 02:18:29 2000 UTC (11 years, 9 months ago) by archie
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -15 lines
Move code to handle BPF and bridging for incoming Ethernet packets out of the individual drivers and into the common routine ether_input(). Also, remove the (incomplete) hack for matching ethernet headers in the ip_fw code. The good news: net result of 1016 lines removed, and this should make bridging now work with *all* Ethernet drivers. The bad news: it's nearly impossible to test every driver, especially for bridging, and I was unable to get much testing help on the mailing lists. Reviewed by: freebsd-net
Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Apr 19 14:57:09 2000 UTC (11 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -3 lines
Remove ~25 unneeded #include <sys/conf.h> Remove ~60 unneeded #include <sys/malloc.h>
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Jan 16 06:41:49 2000 UTC (12 years ago) by wpaul
Branches: MAIN
CVS tags: RELENG_4_BP, RELENG_4_0_0_RELEASE
Branch point for: RELENG_4
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -3 lines
Fix an instance of rman_get_start() than should be rman_get_bushandle().
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Jan 14 20:40:56 2000 UTC (12 years ago) by wpaul
Branches: MAIN
Add driver support for the Aironet 4500/4800 series wireless 802.11 NICs. (Finally!) The PCMCIA, ISA and PCI varieties are all supported, though only the ISA and PCI ones will work on the alpha for now. PCCARD, ISA and PCI attachments are all provided. Also provided an ancontrol(8) utility for configuring the NIC, man pages, and updated pccard.conf.sample. ISA cards are supported in both ISA PnP and hard-wired mode, although you must configure the kernel explicitly to support the hardwired mode since you have to know the I/O address and port ahead of time. Special thanks to Doug Ambrisko for doing the initial newbus hackery and getting it to work in infrastructure mode.
