<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/an, branch release/8.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F8.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F8.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2009-02-04T20:39:45Z</updated>
<entry>
<title>Shutdown routine returns int.</title>
<updated>2009-02-04T20:39:45Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2009-02-04T20:39:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=56e63ed73847c621879ead4d7ee9a4c4c3a0254e'/>
<id>urn:sha1:56e63ed73847c621879ead4d7ee9a4c4c3a0254e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>In case INET is not defined, then ANCACHE is not defined and</title>
<updated>2008-11-06T08:55:46Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2008-11-06T08:55:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=994d867cf7281c903ae9eba3408270d1145d5fc0'/>
<id>urn:sha1:994d867cf7281c903ae9eba3408270d1145d5fc0</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Style changes from avatar.</title>
<updated>2008-01-18T16:34:18Z</updated>
<author>
<name>Doug Ambrisko</name>
<email>ambrisko@FreeBSD.org</email>
</author>
<published>2008-01-18T16:34:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ecefd670f5b908c89e3d4c362105e2aeb2688373'/>
<id>urn:sha1:ecefd670f5b908c89e3d4c362105e2aeb2688373</id>
<content type='text'>
Submitted by:	avatar
</content>
</entry>
<entry>
<title>First real attempt at proper locking.  The locking is a little complicated</title>
<updated>2008-01-18T16:31:24Z</updated>
<author>
<name>Doug Ambrisko</name>
<email>ambrisko@FreeBSD.org</email>
</author>
<published>2008-01-18T16:31:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f0e1e8d9fb38d0167e09e214d6f8a3d819d6b55d'/>
<id>urn:sha1:f0e1e8d9fb38d0167e09e214d6f8a3d819d6b55d</id>
<content type='text'>
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@
</content>
</entry>
<entry>
<title>MFP4(129048): Eliminating an unnecessary check on an_gone inside</title>
<updated>2007-11-27T08:29:24Z</updated>
<author>
<name>Tai-hwa Liang</name>
<email>avatar@FreeBSD.org</email>
</author>
<published>2007-11-27T08:29:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8c81b154da8526a55aeee00a1a77e2ea51da9c93'/>
<id>urn:sha1:8c81b154da8526a55aeee00a1a77e2ea51da9c93</id>
<content type='text'>
an_stats_update() since a properly locked callout_stop(9) does do the
right thing.

Reviewed by:	ambrisko, jhb
MFC after:	3 days
</content>
</entry>
<entry>
<title>MFP4(128855, 129015):</title>
<updated>2007-11-16T11:22:18Z</updated>
<author>
<name>Tai-hwa Liang</name>
<email>avatar@FreeBSD.org</email>
</author>
<published>2007-11-16T11:22:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6404b102387e3cb370ba444552c761eb9cbbaccf'/>
<id>urn:sha1:6404b102387e3cb370ba444552c761eb9cbbaccf</id>
<content type='text'>
- 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
</content>
</entry>
<entry>
<title>Fixing invalid channel display in ifconfig(8) by implementing required</title>
<updated>2007-09-10T12:53:34Z</updated>
<author>
<name>Tai-hwa Liang</name>
<email>avatar@FreeBSD.org</email>
</author>
<published>2007-09-10T12:53:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=73474451b9b7fcbab46cabac50763accbe29ce0c'/>
<id>urn:sha1:73474451b9b7fcbab46cabac50763accbe29ce0c</id>
<content type='text'>
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)
</content>
</entry>
<entry>
<title>MFP4(123687): Closing another LOR by dropping the driver lock around calls</title>
<updated>2007-08-07T12:26:19Z</updated>
<author>
<name>Tai-hwa Liang</name>
<email>avatar@FreeBSD.org</email>
</author>
<published>2007-08-07T12:26:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=07b6a9bed88c1fbc5ba03c7e3410f97f6e0b4647'/>
<id>urn:sha1:07b6a9bed88c1fbc5ba03c7e3410f97f6e0b4647</id>
<content type='text'>
to if_input().

Reviewed by:	ambrisko
Tested by:	dhw
Approved by:	re (kensmith)
</content>
</entry>
<entry>
<title>MFP4(123686): Fixing various ancontrol(8) related panics by dropping locks</title>
<updated>2007-08-02T02:20:19Z</updated>
<author>
<name>Tai-hwa Liang</name>
<email>avatar@FreeBSD.org</email>
</author>
<published>2007-08-02T02:20:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d28ab8736ff4571ee0046cf9d3757e8a21f20556'/>
<id>urn:sha1:d28ab8736ff4571ee0046cf9d3757e8a21f20556</id>
<content type='text'>
around copyin()/copyout().

Reviewed by:	sam, thompsa
Tested by:	dhw
Approved by:	re (kensmith)
</content>
</entry>
<entry>
<title>Remove assignment to uninitialized variable that wasn't then used anyway.</title>
<updated>2007-06-08T01:21:20Z</updated>
<author>
<name>Matt Jacob</name>
<email>mjacob@FreeBSD.org</email>
</author>
<published>2007-06-08T01:21:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2342e96586db5d4de1ea709219d9641b6179d5c1'/>
<id>urn:sha1:2342e96586db5d4de1ea709219d9641b6179d5c1</id>
<content type='text'>
</content>
</entry>
</feed>
