Up to [local] / src / sys / dev / usb
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.82 / (download) - annotate - [select for diffs], Thu Oct 26 15:00:28 2017 UTC (2 months, 1 week ago) by mpi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.81: +1 -14 lines
Diff to previous 1.81 (colored)
Move common code to add/remove multicast filters to ieee80211_ioctl(9). ok jsg@, stsp@
Revision 1.81 / (download) - annotate - [select for diffs], Fri Jul 28 10:50:56 2017 UTC (5 months, 1 week ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE,
OPENBSD_6_2
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored)
The read buffer size reported by the hardware can be up to 4095 bytes. This would exceed the mbuf cluster size. Use larger clusters in this case. bug report Ilja Van Sprundel; OK deraadt@ stsp@
Revision 1.80 / (download) - annotate - [select for diffs], Sun Mar 26 15:31:15 2017 UTC (9 months, 1 week ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.79: +2 -2 lines
Diff to previous 1.79 (colored)
Add sizes to various free(9) calls. Fixing the simpler ones first. ok natano visa
Revision 1.79 / (download) - annotate - [select for diffs], Sun Jan 22 10:17:39 2017 UTC (11 months, 2 weeks ago) by dlg
Branch: MAIN
Changes since 1.78: +1 -2 lines
Diff to previous 1.78 (colored)
move counting if_opackets next to counting if_obytes in if_enqueue. this means packets are consistently counted in one place, unlike the many and various ways that drivers thought they should do it. ok mpi@ deraadt@
Revision 1.78 / (download) - annotate - [select for diffs], Sun Nov 6 12:58:01 2016 UTC (14 months ago) by mpi
Branch: MAIN
Changes since 1.77: +2 -8 lines
Diff to previous 1.77 (colored)
Avoid calling usbd_set_config_no() in *_attach() and let the stack do it instead. If anything bad happen due to a malformed descriptor it makes no sense to try to attach a driver, and bail before probing. This is similar to the change to avoid calling usbd_set_config_index().
Revision 1.77 / (download) - annotate - [select for diffs], Wed Apr 13 11:03:37 2016 UTC (20 months, 3 weeks ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0
Changes since 1.76: +1 -2 lines
Diff to previous 1.76 (colored)
G/C IFQ_SET_READY().
Revision 1.76 / (download) - annotate - [select for diffs], Fri Dec 11 16:07:02 2015 UTC (2 years ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.75: +5 -8 lines
Diff to previous 1.75 (colored)
Replace mountroothook_establish(9) by config_mountroot(9) a narrower API similar to config_defer(9). ok mikeb@, deraadt@
Revision 1.75 / (download) - annotate - [select for diffs], Wed Nov 25 03:10:00 2015 UTC (2 years, 1 month ago) by dlg
Branch: MAIN
Changes since 1.74: +7 -6 lines
Diff to previous 1.74 (colored)
replace IFF_OACTIVE manipulation with mpsafe operations.
there are two things shared between the network stack and drivers
in the send path: the send queue and the IFF_OACTIVE flag. the send
queue is now protected by a mutex. this diff makes the oactive
functionality mpsafe too.
IFF_OACTIVE is part of if_flags. there are two problems with that.
firstly, if_flags is a short and we dont have any MI atomic operations
to manipulate a short. secondly, while we could make the IFF_OACTIVE
operates mpsafe, all changes to other flags would have to be made
safe at the same time, otherwise a read-modify-write cycle on their
updates could clobber the oactive change.
instead, this moves the oactive mark into struct ifqueue and provides
an API for changing it. there's ifq_set_oactive, ifq_clr_oactive,
and ifq_is_oactive. these are modelled on ifsq_set_oactive,
ifsq_clr_oactive, and ifsq_is_oactive in dragonflybsd.
this diff includes changes to all the drivers manipulating IFF_OACTIVE
to now use the ifsq_{set,clr_is}_oactive API too.
ok kettenis@ mpi@ jmatthew@ deraadt@
Revision 1.74 / (download) - annotate - [select for diffs], Tue Nov 24 13:45:07 2015 UTC (2 years, 1 month ago) by mpi
Branch: MAIN
Changes since 1.73: +1 -2 lines
Diff to previous 1.73 (colored)
No need to include <net/if_arp.h> This header is only needed because <netinet/if_ether.h> declares a structure that needs it. But it turns out that <net/if.h> already includes it as workaround. A proper solution would be to stop declarting "struct ether_arp" there. But no driver should need this header.
Revision 1.73 / (download) - annotate - [select for diffs], Tue Nov 24 13:33:18 2015 UTC (2 years, 1 month ago) by mpi
Branch: MAIN
Changes since 1.72: +1 -2 lines
Diff to previous 1.72 (colored)
The only network driver needing <net/if_types.h> is upl(4) for IFT_OTHER.
Revision 1.72 / (download) - annotate - [select for diffs], Fri Nov 13 10:36:29 2015 UTC (2 years, 1 month ago) by mpi
Branch: MAIN
Changes since 1.71: +8 -13 lines
Diff to previous 1.71 (colored)
Check for space on the ring before dequeuing packets. Allows us to get rid of mq_requeue(9) and IFQ_POLL(9) because wireless drivers use a special queue for management frames. Tested by stsp@, ok dlg@, stsp@
Revision 1.71 / (download) - annotate - [select for diffs], Wed Nov 4 12:12:00 2015 UTC (2 years, 2 months ago) by dlg
Branch: MAIN
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored)
replace the ifqueues in net80211 with mbuf_queues. the specific queues are ic_mgtq, ic_pwrsaveq, and ni_savedq. rtw had its own queue for beacons. tested by mpi@ and jmc@ ok mpi@
Revision 1.70 / (download) - annotate - [select for diffs], Sun Oct 25 12:11:56 2015 UTC (2 years, 2 months ago) by mpi
Branch: MAIN
Changes since 1.69: +1 -5 lines
Diff to previous 1.69 (colored)
arp_ifinit() is no longer needed.
Revision 1.69 / (download) - annotate - [select for diffs], Wed Jul 15 13:27:41 2015 UTC (2 years, 5 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE,
OPENBSD_5_8
Changes since 1.68: +5 -2 lines
Diff to previous 1.68 (colored)
Match another Netgear WG111T. This one shares the Non-Firmware ID of a another device. ok stsp@
Revision 1.68 / (download) - annotate - [select for diffs], Wed Jul 15 04:01:26 2015 UTC (2 years, 5 months ago) by stsp
Branch: MAIN
Changes since 1.67: +43 -39 lines
Diff to previous 1.67 (colored)
Fix a crash caused by uath(4) if device init fails. usbd_close_pipes() now implies xfer cancellation and this driver was relying on assumptions from times when it didn't. With and ok mpi@
Revision 1.67 / (download) - annotate - [select for diffs], Sat Mar 14 03:38:49 2015 UTC (2 years, 9 months ago) by jsg
Branch: MAIN
Changes since 1.66: +1 -3 lines
Diff to previous 1.66 (colored)
Remove some includes include-what-you-use claims don't have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@
Revision 1.66 / (download) - annotate - [select for diffs], Tue Feb 10 23:25:46 2015 UTC (2 years, 10 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE,
OPENBSD_5_7
Changes since 1.65: +1 -2 lines
Diff to previous 1.65 (colored)
Wireless drivers call if_input() via ieee80211_input() which set `rcvif' on every received mbuf, so there's no need to initialize this pointer in the drivers. Tested by and ok phessler@
Revision 1.65 / (download) - annotate - [select for diffs], Mon Dec 22 02:28:52 2014 UTC (3 years ago) by tedu
Branch: MAIN
Changes since 1.64: +1 -3 lines
Diff to previous 1.64 (colored)
unifdef INET
Revision 1.64 / (download) - annotate - [select for diffs], Fri Dec 19 22:44:59 2014 UTC (3 years ago) by guenther
Branch: MAIN
Changes since 1.63: +2 -2 lines
Diff to previous 1.63 (colored)
Use <sys/endian.h> instead of <machine/endian.h> ok dlg@ mpi@ bcook@ millert@ miod@
Revision 1.63 / (download) - annotate - [select for diffs], Tue Nov 18 02:37:30 2014 UTC (3 years, 1 month ago) by tedu
Branch: MAIN
Changes since 1.62: +1 -2 lines
Diff to previous 1.62 (colored)
move arc4random prototype to systm.h. more appropriate for most code to include that than rdnvar.h. ok deraadt dlg
Revision 1.62 / (download) - annotate - [select for diffs], Sat Nov 1 14:44:08 2014 UTC (3 years, 2 months ago) by mpi
Branch: MAIN
Changes since 1.61: +2 -4 lines
Diff to previous 1.61 (colored)
Remove the port status argument from usbd_reset_port(). We don't do anything with it and it simplifies this mess in order to implement warm reset.
Revision 1.61 / (download) - annotate - [select for diffs], Sun Jul 13 15:52:49 2014 UTC (3 years, 5 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE,
OPENBSD_5_6
Changes since 1.60: +1 -3 lines
Diff to previous 1.60 (colored)
No need for <netinet/in_systm.h> here.
Revision 1.60 / (download) - annotate - [select for diffs], Sat Jul 12 18:48:52 2014 UTC (3 years, 5 months ago) by tedu
Branch: MAIN
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored)
add a size argument to free. will be used soon, but for now default to 0. after discussions with beck deraadt kettenis.
Revision 1.59 / (download) - annotate - [select for diffs], Sat Jul 12 07:59:23 2014 UTC (3 years, 5 months ago) by mpi
Branch: MAIN
Changes since 1.58: +8 -27 lines
Diff to previous 1.58 (colored)
Kill a bunch of DVACT_DEACTIVATE handlers whose only purpose were to set the 'dying' flag of a device. Such handlers are useless now that usbd_detach() already set this flag. Even if the purpose of this flag is questionnable on OpenBSD because DVACT_DEACTIVATE acts as a pre-detach event, this is just a first small step towards the simplification of the autoconf(9) device states. This cleaning is now possible thanks to the work of pirofti@ to convert all the USB drivers to properly use usbd_is_dying(). Discussed many times with deraadt@
Revision 1.58 / (download) - annotate - [select for diffs], Wed Mar 19 10:09:19 2014 UTC (3 years, 9 months ago) by mpi
Branch: MAIN
Changes since 1.57: +2 -3 lines
Diff to previous 1.57 (colored)
Stop abusing the rcvif pointer to pass wireless nodes down to the driver start routines. Instead add & use a pointer in the pkthdr since we don't want the overhead of using a mbuf_tags(9). claudio@ pointed out that other subsystems might want to use this pointer too, so here's a new cookie! ok claudio@, mikeb@, deraadt@
Revision 1.57 / (download) - annotate - [select for diffs], Fri Mar 7 18:39:02 2014 UTC (3 years, 10 months ago) by mpi
Branch: MAIN
Changes since 1.56: +1 -5 lines
Diff to previous 1.56 (colored)
Do not define per-driver DEBUG variable when USB_DEBUG is defined. It's really impossible to debug the USB stack when any single device you plug in your machine starts to vomit its own poetry,
Revision 1.56 / (download) - annotate - [select for diffs], Wed Aug 7 01:06:42 2013 UTC (4 years, 5 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE,
OPENBSD_5_5
Changes since 1.55: +1 -2 lines
Diff to previous 1.55 (colored)
Most network drivers include netinet/in_var.h, but apparently they don't have to. Just remove these include lines. Compiled on amd64 i386 sparc64; OK henning@ mikeb@
Revision 1.55 / (download) - annotate - [select for diffs], Tue Jun 11 18:45:25 2013 UTC (4 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE,
OPENBSD_5_4
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)
Replace more ovbcopy with memmove; swap the src and dst arguments too
Revision 1.54 / (download) - annotate - [select for diffs], Mon Apr 15 09:23:01 2013 UTC (4 years, 8 months ago) by mglocker
Branch: MAIN
Changes since 1.53: +8 -8 lines
Diff to previous 1.53 (colored)
Get rid of various 'typedef struct' definitions and use plain structure definitions instead. We don't change usb.h for now to stay compatible with userland. Tested by mpi@ on macppc and myself on i386. ok mpi@
Revision 1.53 / (download) - annotate - [select for diffs], Fri Apr 12 12:58:39 2013 UTC (4 years, 8 months ago) by mpi
Branch: MAIN
Changes since 1.52: +10 -9 lines
Diff to previous 1.52 (colored)
Instead of using a wrapper around usbd_transfer() when submitting a transfer synchronously just pass the USBD_SYNCHRONOUS flag like any other flags when creating a transfer. ok sthen@, mglocker@
Revision 1.52 / (download) - annotate - [select for diffs], Wed Oct 3 08:05:26 2012 UTC (5 years, 3 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE,
OPENBSD_5_3
Changes since 1.51: +2 -1 lines
Diff to previous 1.51 (colored)
attach to D-Link WUA-2340, from Aaron Wirtz on misc@
Revision 1.51 / (download) - annotate - [select for diffs], Sun Jul 3 15:47:17 2011 UTC (6 years, 6 months ago) by matthew
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1,
OPENBSD_5_0_BASE,
OPENBSD_5_0
Changes since 1.50: +1 -4 lines
Diff to previous 1.50 (colored)
Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thing
that's ever used it, and it's long since been changed to use
DVACT_{QUIESCE,SUSPEND,RESUME} instead.
ok deraadt@, dlg@; miod@ also agreed with this idea when I brought it
up a few weeks ago
Revision 1.50 / (download) - annotate - [select for diffs], Thu Apr 7 15:30:16 2011 UTC (6 years, 9 months ago) by miod
Branch: MAIN
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)
Do not use NULL in integer comparisons. No functional change. ok matthew@ tedu@, also eyeballed by at least krw@ oga@ kettenis@ jsg@
Revision 1.49 / (download) - annotate - [select for diffs], Tue Jan 25 20:03:35 2011 UTC (6 years, 11 months ago) by jakemsr
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE,
OPENBSD_4_9
Changes since 1.48: +1 -7 lines
Diff to previous 1.48 (colored)
garbage collect "usb events". without /dev/usb there is no way to access them from userland, and nothing in the kernel uses them. ok krw@, miod@
Revision 1.48 / (download) - annotate - [select for diffs], Thu Jan 6 19:49:58 2011 UTC (7 years ago) by damien
Branch: MAIN
Changes since 1.47: +1 -3 lines
Diff to previous 1.47 (colored)
Remove dead links. Atheros have reworked their website.
Revision 1.47 / (download) - annotate - [select for diffs], Mon Dec 6 04:41:39 2010 UTC (7 years, 1 month ago) by jakemsr
Branch: MAIN
Changes since 1.46: +5 -1 lines
Diff to previous 1.46 (colored)
* replace per-driver dying and/or other state variables with use of usbd_deactivete() and usbd_is_dying() * use usbd_deactivate() in activate()/DEACTIVATE * convert a few more direct checks of the associated bus' dying flag with usbd_is_dying()
Revision 1.46 / (download) - annotate - [select for diffs], Wed Oct 27 17:51:11 2010 UTC (7 years, 2 months ago) by jakemsr
Branch: MAIN
Changes since 1.45: +5 -3 lines
Diff to previous 1.45 (colored)
don't free network related resources if they were not allocated
Revision 1.45 / (download) - annotate - [select for diffs], Sat Oct 23 16:14:07 2010 UTC (7 years, 2 months ago) by jakemsr
Branch: MAIN
Changes since 1.44: +5 -3 lines
Diff to previous 1.44 (colored)
check that a timeout(9) has been initialized before deleting it ok phessler
Revision 1.44 / (download) - annotate - [select for diffs], Sat Oct 23 15:42:09 2010 UTC (7 years, 2 months ago) by jakemsr
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)
create another kthread to run xfer abort tasks. xfer abort tasks cannot be run from the generic task kthread, because xfers that need to be aborted block newly queued tasks from running (i.e. the xfer to be aborted blocks the abort of that task). as there are now three types of usb tasks, add an argument to usb_init_task() and another member to struct usb_task to specify the task type. fixes boot hangs that are showing up because we now use usb tasks to attach/detach usb devices.
Revision 1.43 / (download) - annotate - [select for diffs], Fri Aug 27 17:08:01 2010 UTC (7 years, 4 months ago) by jsg
Branch: MAIN
Changes since 1.42: +1 -2 lines
Diff to previous 1.42 (colored)
remove the unused if_init callback in struct ifnet ok deraadt@ henning@ claudio@
Revision 1.42 / (download) - annotate - [select for diffs], Tue Jun 29 07:12:31 2010 UTC (7 years, 6 months ago) by matthew
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE,
OPENBSD_4_8
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)
Interface drivers should use DV_IFNET, not DV_DULL. ok deraadt@
Revision 1.41 / (download) - annotate - [select for diffs], Tue Apr 20 22:05:43 2010 UTC (7 years, 8 months ago) by tedu
Branch: MAIN
Changes since 1.40: +1 -2 lines
Diff to previous 1.40 (colored)
remove proc.h include from uvm_map.h. This has far reaching effects, as sysctl.h was reliant on this particular include, and many drivers included sysctl.h unnecessarily. remove sysctl.h or add proc.h as needed. ok deraadt
Revision 1.40 / (download) - annotate - [select for diffs], Tue Oct 13 19:33:17 2009 UTC (8 years, 2 months ago) by pirofti
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE,
OPENBSD_4_7
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored)
Get rid of devact enum, substitute it with an int and coresponding defines. This is needed for the addition of further suspend/resume actions. Okay deraadt@, marco@.
Revision 1.39 / (download) - annotate - [select for diffs], Mon Aug 3 09:33:10 2009 UTC (8 years, 5 months ago) by blambert
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)
timeout_add -> timeout_add_msec ok jsg@
Revision 1.38 / (download) - annotate - [select for diffs], Mon Dec 15 17:01:54 2008 UTC (9 years ago) by damien
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE,
OPENBSD_4_6,
OPENBSD_4_5_BASE,
OPENBSD_4_5
Changes since 1.37: +1 -2 lines
Diff to previous 1.37 (colored)
remove duplicated usb id
Revision 1.37 / (download) - annotate - [select for diffs], Wed Oct 15 19:12:18 2008 UTC (9 years, 2 months ago) by blambert
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)
Second pass of simple timeout_add -> timeout_add_sec conversions This should take care of the simpler ones (i.e., timeout values of integer multiples of hz). ok krw@, art@
Revision 1.36 / (download) - annotate - [select for diffs], Tue Sep 23 10:47:14 2008 UTC (9 years, 3 months ago) by canacar
Branch: MAIN
Changes since 1.35: +2 -1 lines
Diff to previous 1.35 (colored)
Add IDs for Philips SNU6500 to uath(4) ok damien@
Revision 1.35 / (download) - annotate - [select for diffs], Mon Jul 21 18:43:19 2008 UTC (9 years, 5 months ago) by damien
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE,
OPENBSD_4_4
Changes since 1.34: +8 -2 lines
Diff to previous 1.34 (colored)
instead of passing rx tstamp and rssi to the ieee80211_input function, pass a pointer to an ieee80211_rxinfo structure containing those two fields plus an extra flags field that indicates whether the frame was decrypted by hardware or not. required for a future fix.
Revision 1.34 / (download) - annotate - [select for diffs], Sun Jun 8 20:43:31 2008 UTC (9 years, 7 months ago) by yuo
Branch: MAIN
Changes since 1.33: +3 -1 lines
Diff to previous 1.33 (colored)
add following devices - IODATA WN-G54/US (11bg) - MELCO WLI-U2-KAMG54 (11abg)
Revision 1.33 / (download) - annotate - [select for diffs], Thu Apr 17 21:09:36 2008 UTC (9 years, 8 months ago) by brad
Branch: MAIN
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored)
Add missing monitor mode capabilities flag. ok damien@
Revision 1.32 / (download) - annotate - [select for diffs], Mon Jan 21 12:57:31 2008 UTC (9 years, 11 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE,
OPENBSD_4_3
Changes since 1.31: +2 -1 lines
Diff to previous 1.31 (colored)
Add support for SMC SMCWUSBT-G2. Tested by Kaspo Lo <kaxpolox@yahoo.com>
Revision 1.31 / (download) - annotate - [select for diffs], Thu Oct 11 18:33:14 2007 UTC (10 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.30: +1 -6 lines
Diff to previous 1.30 (colored)
treat usb vendor/product names as a locator, and have usbd_print handle it, so that it shows up before the :. as a result, all the usb devices do not need to have name printing code anymore. all this now works and prints nicely because usbd_probe_and_attach() is serialized. ok kettenis
Revision 1.30 / (download) - annotate - [select for diffs], Tue Sep 11 19:53:58 2007 UTC (10 years, 3 months ago) by damien
Branch: MAIN
Changes since 1.29: +47 -52 lines
Diff to previous 1.29 (colored)
undo rev 1.10 "implement a zero-copy RX data path". working with a fixed number of Rx buffers doesn't work well. fixes problems with blocked incoming traffic.
Revision 1.29 / (download) - annotate - [select for diffs], Fri Sep 7 19:05:05 2007 UTC (10 years, 4 months ago) by damien
Branch: MAIN
Changes since 1.28: +1 -2 lines
Diff to previous 1.28 (colored)
use new malloc M_ZERO flag to shrink kernel. remove <malloc.h> from files where malloc is not used.
Revision 1.28 / (download) - annotate - [select for diffs], Tue Aug 28 18:34:38 2007 UTC (10 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)
unify firmware load failure messages; ok mglocker
Revision 1.27 / (download) - annotate - [select for diffs], Wed Jul 18 18:10:31 2007 UTC (10 years, 5 months ago) by damien
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE,
OPENBSD_4_2
Changes since 1.26: +8 -11 lines
Diff to previous 1.26 (colored)
replace the ieee80211_wepkey structure with a more generic ieee80211_key one that can be used with other ciphers than WEP.
Revision 1.26 / (download) - annotate - [select for diffs], Thu Jun 14 10:11:15 2007 UTC (10 years, 6 months ago) by mbalmer
Branch: MAIN
Changes since 1.25: +17 -2 lines
Diff to previous 1.25 (colored)
Remove the definition and usage of the USB_DECLARE_DRIVER_CLASS and USB_DECLARE_DRIVER macros. No binary change. ok dlg.
Revision 1.25 / (download) - annotate - [select for diffs], Tue Jun 12 16:26:36 2007 UTC (10 years, 6 months ago) by mbalmer
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)
Remove the definition and use of the device_ptr_t which was a struct device *. No binary change. ok mk.
Revision 1.24 / (download) - annotate - [select for diffs], Sun Jun 10 14:49:00 2007 UTC (10 years, 7 months ago) by mbalmer
Branch: MAIN
Changes since 1.23: +61 -61 lines
Diff to previous 1.23 (colored)
Remove the definition and use of the USBDEVNAME macro. (This might look easy, but it was a big diff. Thanks to dlg and especially jsg for looking over it; we found at least four mistakes in the initial diff.) ok jsg.
Revision 1.23 / (download) - annotate - [select for diffs], Sun Jun 10 10:53:48 2007 UTC (10 years, 7 months ago) by mbalmer
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)
Remove the definition and use of the USBDEV macro. It only created confusion and the address of it's argument: USBDEV(sc->sc_dev) yields &sc->sc_dev. No binary changes. ok jsg.
Revision 1.22 / (download) - annotate - [select for diffs], Sat Jun 9 12:22:53 2007 UTC (10 years, 7 months ago) by mbalmer
Branch: MAIN
Changes since 1.21: +1 -2 lines
Diff to previous 1.21 (colored)
Remove the definition and use of if_deactivate(). It was defined empty and thus produced no code at all. No binary change. ok jsg.
Revision 1.21 / (download) - annotate - [select for diffs], Sat Jun 9 08:52:10 2007 UTC (10 years, 7 months ago) by damien
Branch: MAIN
Changes since 1.20: +16 -24 lines
Diff to previous 1.20 (colored)
re-indent prototypes after "Static" removal. no binary change.
Revision 1.20 / (download) - annotate - [select for diffs], Tue Jun 5 08:43:55 2007 UTC (10 years, 7 months ago) by mbalmer
Branch: MAIN
Changes since 1.19: +97 -97 lines
Diff to previous 1.19 (colored)
Remove the "Static" declaration of many functions. It was defined to be empty and it was not consistently used. It was confusing as it suggested these functions were static, which they were not. discussed with dlg and jsg, ok jsg.
Revision 1.19 / (download) - annotate - [select for diffs], Sun May 27 04:00:24 2007 UTC (10 years, 7 months ago) by jsg
Branch: MAIN
Changes since 1.18: +17 -16 lines
Diff to previous 1.18 (colored)
Farewell USB_{ATTACH,MATCH,DETACH}* you will not be missed.
ok deraadt@ krw@ mbalmer@
Revision 1.18 / (download) - annotate - [select for diffs], Mon May 21 05:40:27 2007 UTC (10 years, 7 months ago) by jsg
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)
Remove logprintf macro
Revision 1.17 / (download) - annotate - [select for diffs], Mon Feb 19 17:22:02 2007 UTC (10 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE,
OPENBSD_4_1
Changes since 1.16: +3 -7 lines
Diff to previous 1.16 (colored)
do not do a curproc test for interrupt context, because it is plainly wrong. this lets these work on macppc, for instance diagnosed by kettenis, but damien is not around, so ok jsg and others
Revision 1.16 / (download) - annotate - [select for diffs], Tue Jan 2 14:43:50 2007 UTC (11 years ago) by claudio
Branch: MAIN
Changes since 1.15: +7 -5 lines
Diff to previous 1.15 (colored)
Don't use M_DUP_PKTHDR() in the driver bpf hook. Using M_DUP_PKTHDR() on a static mbuf results in a mbuf tag memory leak. Same change as in rum(4). OK mglocker@
Revision 1.15 / (download) - annotate - [select for diffs], Sat Dec 16 15:32:05 2006 UTC (11 years ago) by damien
Branch: MAIN
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)
trim 802.11 FCS from received frames. noticed by jsg@
Revision 1.14 / (download) - annotate - [select for diffs], Sun Dec 3 17:51:41 2006 UTC (11 years, 1 month ago) by damien
Branch: MAIN
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored)
don't include <net80211/ieee80211_amrr.h> rate control is handled by firmware.
Revision 1.13 / (download) - annotate - [select for diffs], Sun Dec 3 16:09:21 2006 UTC (11 years, 1 month ago) by damien
Branch: MAIN
Changes since 1.12: +28 -11 lines
Diff to previous 1.12 (colored)
The device doesn't always detach gracefully from the bus after a firmware upload. We thus force a port reset and a re-exploration on the parent hub after firmware upload. In uath_newstate(), if we're called from a process context, we don't need to schedule a USB task. This fixes a problem in uath_stop(): when moving to the S_INIT state, the task was scheduled after the device was reset. Don't abort the RX firmware command pipe in uath_stop(), otherwise we will never receive commands ACKs from the firmware anymore. We now survive to an ifconfig down up.
Revision 1.12 / (download) - annotate - [select for diffs], Sun Nov 26 11:14:22 2006 UTC (11 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.11: +3 -12 lines
Diff to previous 1.11 (colored)
do not have each net80211 driver define its own rates structures. if they use the standard rates, use some defined by net80211 itself. kernel shrinks a bit ok jsg mglocker
Revision 1.11 / (download) - annotate - [select for diffs], Tue Oct 3 19:48:21 2006 UTC (11 years, 3 months ago) by damien
Branch: MAIN
Changes since 1.10: +11 -5 lines
Diff to previous 1.10 (colored)
make sure to call SLIST_INIT on sc->rx_freelist. sanity check length field in RX descriptors.
Revision 1.10 / (download) - annotate - [select for diffs], Wed Sep 20 19:47:17 2006 UTC (11 years, 3 months ago) by damien
Branch: MAIN
Changes since 1.9: +57 -52 lines
Diff to previous 1.9 (colored)
implement a zero-copy RX data path. instead of copying the xfer buffer's content into a mbuf cluster, attach the xfer buffer as a mbuf external storage and pass it to the net80211 layer as is. maintain a reference count on the softc structure and wait in detach() until all references have been released by the network layer.
Revision 1.9 / (download) - annotate - [select for diffs], Mon Sep 18 18:08:32 2006 UTC (11 years, 3 months ago) by damien
Branch: MAIN
Changes since 1.8: +5 -2 lines
Diff to previous 1.8 (colored)
fix my 1.7 commit. in uath_reset(), return on error if tsleep() fails.
Revision 1.8 / (download) - annotate - [select for diffs], Mon Sep 18 16:34:23 2006 UTC (11 years, 3 months ago) by damien
Branch: MAIN
Changes since 1.7: +5 -8 lines
Diff to previous 1.7 (colored)
better uath_set_rates().
Revision 1.7 / (download) - annotate - [select for diffs], Mon Sep 18 16:30:17 2006 UTC (11 years, 3 months ago) by damien
Branch: MAIN
Changes since 1.6: +29 -47 lines
Diff to previous 1.6 (colored)
cleanup the list of supported devices.
Revision 1.6 / (download) - annotate - [select for diffs], Mon Sep 18 16:20:20 2006 UTC (11 years, 3 months ago) by damien
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)
don't use IF_PREPEND() on altq's. use IFQ_POLL()/IFQ_DEQUEUE() logic instead as described in altq(4).
Revision 1.5 / (download) - annotate - [select for diffs], Mon Sep 18 01:42:30 2006 UTC (11 years, 3 months ago) by jsg
Branch: MAIN
Changes since 1.4: +16 -5 lines
Diff to previous 1.4 (colored)
More uath devices, also properly mark some of the UB52/AR5005UX devices with the dual band flag.
Revision 1.4 / (download) - annotate - [select for diffs], Sat Sep 16 19:54:13 2006 UTC (11 years, 3 months ago) by damien
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE,
OPENBSD_4_0
Changes since 1.3: +35 -38 lines
Diff to previous 1.3 (colored)
add new uath(4) ids and fix existing ones. ok deraadt@
Revision 1.3 / (download) - annotate - [select for diffs], Sat Sep 16 14:23:42 2006 UTC (11 years, 3 months ago) by damien
Branch: MAIN
Changes since 1.2: +15 -1 lines
Diff to previous 1.2 (colored)
more uath(4) usb ids. from jsg@
Revision 1.2 / (download) - annotate - [select for diffs], Sat Sep 16 13:37:41 2006 UTC (11 years, 3 months ago) by damien
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)
indent
Revision 1.1 / (download) - annotate - [select for diffs], Sat Sep 16 13:21:23 2006 UTC (11 years, 3 months ago) by damien
Branch: MAIN
Initial import of uath(4), a driver for Atheros USB2.0 AR5005UG/AR5005UX chipsets. Based on a black-box analysis of the Windows binary driver. Requires a firmware that is not freely redistributable (see man uath). The driver handles both pre- and post-firmware devices. Still a bit experimental but Tx/Rx works great in BSS mode (on i386). No 802.11a, IBSS, or HostAP modes yet but there's more to come. Great thanks to jsg@ for digging the USB IDs out of the Windows driver. Committed over a D-Link DWL-G132.