History log of /src/sys/dev/bluetooth/btms.c |
Revision | | Date | Author | Comments |
1.15 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.14 |
| 24-Apr-2021 |
thorpej | branches: 1.14.8; Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass along, just have a single call that takes a variadic list of tag-value arguments.
Adjust all call sites: - Simplify wherever possible; don't pass along arguments that aren't actually needed. - Don't be explicit about what interface attribute is attaching if the device only has one. (More simplification.) - Add a config_probe() function to be used in indirect configuiration situations, making is visibly easier to see when indirect config is in play, and allowing for future change in semantics. (As of now, this is just a wrapper around config_match(), but that is an implementation detail.)
Remove unnecessary or redundant interface attributes where they're not needed.
There are currently 5 "cfargs" defined: - CFARG_SUBMATCH (submatch function for direct config) - CFARG_SEARCH (search function for indirect config) - CFARG_IATTR (interface attribte) - CFARG_LOCATORS (locators array) - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark ports to associate those device handles with device_t instance. This will trickle trough to more places over time (need back-end for pre-OFW Sun OBP; any others?).
|
1.13 |
| 10-Dec-2017 |
bouyer | branches: 1.13.20; Factor out bus-independant HID code so that it can be shared by USB, bluetooth and i2c. dev/usb/ukbdmap.c is renamed to dev/hid/hidkbdmap.c dev/usb/hid.[ch] moved to dev/hid/ usage pages moved from dev/usb/usbhid.h moved to dev/hid/hid.h, and updated with OpenBSD entries. bus-independant code moved from dev/usb/ums.c to dev/hid/hidms.c (the same should be done for keyboard and touchpad drivers)
Needed for the upcoming HID over I2C support, proposed on tech-kern@ on Dec, 1.
|
1.12 |
| 13-Dec-2014 |
nonaka | Added quirk for ELECOM M-XG2BB.
|
1.11 |
| 27-Oct-2012 |
chs | branches: 1.11.12; 1.11.14; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
1.10 |
| 03-Apr-2012 |
plunky | branches: 1.10.2;
register/deregister pmf(9) NULL handlers for bthub(4) and bluetooth devices which attach there, to fix PR/39006
|
1.9 |
| 12-May-2009 |
cegger | branches: 1.9.12; 1.9.16; 1.9.18; struct cfdata * -> cfdata_t, no functional changes intended.
|
1.8 |
| 09-Sep-2008 |
cube | branches: 1.8.8; Redde Caesari quae sunt Caesaris. Or rather, in this particular case, those that are Lennart's.
Eventually there should only be one set of HID drivers.
|
1.7 |
| 03-Nov-2007 |
plunky | branches: 1.7.16; 1.7.20; 1.7.22; 1.7.26; switch devices to using CFATTACH_DECL_NEW() softc no longer contains 'struct device' by default use 'device_t' instead of 'struct device *' use device_xxx() accessor functions remove casting of 'xxx_softc *' & 'struct device *' use aprint_xxx_dev() routines
|
1.6 |
| 04-Mar-2007 |
christos | branches: 1.6.14; 1.6.16; 1.6.20; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.5 |
| 16-Nov-2006 |
christos | branches: 1.5.4; __unused removal on arguments; approved by core.
|
1.4 |
| 12-Nov-2006 |
plunky | Tidy away wsmouse_input() abstractions and update documentation to include the W direction.
|
1.3 |
| 31-Oct-2006 |
plunky | enable 'Application Control Pan' in Consumer usage group as an equivalent to the Z direction since some mice (Apple Mighty Mouse) provide horizontal scrolling direction with that report.
|
1.2 |
| 12-Oct-2006 |
christos | - sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
1.1 |
| 19-Jun-2006 |
gdamore | branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8; 1.1.12; 1.1.14; 1.1.16; Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@, NetBSD Foundation Membership still pending.) This stack was written by Iain under sponsorship from Itronix Inc.
The stack includes support for rfcomm networking (networking via your bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.
Drivers for both PCMCIA and USB bluetooth controllers are included.
|
1.1.16.2 |
| 10-Dec-2006 |
yamt | sync with head.
|
1.1.16.1 |
| 22-Oct-2006 |
yamt | sync with head
|
1.1.14.2 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.1.14.1 |
| 19-Jun-2006 |
rpaulo | file btms.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:49:44 +0000
|
1.1.12.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.1.8.2 |
| 13-Jul-2006 |
gdamore | Merge from HEAD.
|
1.1.8.1 |
| 19-Jun-2006 |
gdamore | file btms.c was added on branch gdamore-uart on 2006-07-13 17:49:22 +0000
|
1.1.6.2 |
| 26-Jun-2006 |
yamt | sync with head.
|
1.1.6.1 |
| 19-Jun-2006 |
yamt | file btms.c was added on branch yamt-pdpolicy on 2006-06-26 12:50:37 +0000
|
1.1.4.2 |
| 22-Jun-2006 |
chap | Complete a sync sys/ with head.
|
1.1.4.1 |
| 19-Jun-2006 |
chap | file btms.c was added on branch chap-midi on 2006-06-22 03:39:48 +0000
|
1.1.2.5 |
| 15-Nov-2007 |
yamt | sync with head.
|
1.1.2.4 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.1.2.3 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.1.2.2 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.1.2.1 |
| 19-Jun-2006 |
yamt | file btms.c was added on branch yamt-lazymbuf on 2006-06-21 15:02:45 +0000
|
1.5.4.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.6.20.1 |
| 13-Nov-2007 |
bouyer | Sync with HEAD
|
1.6.16.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.6.14.1 |
| 04-Nov-2007 |
jmcneill | Sync with HEAD.
|
1.7.26.1 |
| 19-Oct-2008 |
haad | Sync with HEAD.
|
1.7.22.1 |
| 24-Sep-2008 |
wrstuden | Merge in changes between wrstuden-revivesa-base-2 and wrstuden-revivesa-base-3.
|
1.7.20.2 |
| 16-May-2009 |
yamt | sync with head
|
1.7.20.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.7.16.1 |
| 28-Sep-2008 |
mjf | Sync with HEAD.
|
1.8.8.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.9.18.1 |
| 03-Apr-2012 |
riz | Pull up following revision(s) (requested by plunky in ticket #159): sys/dev/bluetooth/btsco.c: revision 1.28 sys/dev/bluetooth/bthidev.c: revision 1.22 sys/dev/bluetooth/bthub.c: revision 1.18 sys/dev/bluetooth/btkbd.c: revision 1.14 sys/dev/bluetooth/btms.c: revision 1.10 sys/dev/bluetooth/btmagic.c: revision 1.2 register/deregister pmf(9) NULL handlers for bthub(4) and bluetooth devices which attach there, to fix PR/39006
|
1.9.16.1 |
| 05-Apr-2012 |
mrg | sync to latest -current.
|
1.9.12.2 |
| 30-Oct-2012 |
yamt | sync with head
|
1.9.12.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.10.2.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.10.2.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.11.14.1 |
| 06-Apr-2015 |
skrll | Sync with HEAD
|
1.11.12.1 |
| 16-Dec-2014 |
msaitoh | Pull up following revision(s) (requested by nonaka in ticket #330): sys/dev/bluetooth/btms.c: revision 1.12 Added quirk for ELECOM M-XG2BB.
|
1.13.20.1 |
| 21-Mar-2021 |
thorpej | Give config_found() the same variadic arguments treatment as config_search(). This commit only adds the CFARG_EOL sentinel to the existing config_found() calls. Conversion of config_found_sm_loc() and config_found_ia() call sites will be in subsequent commits.
|
1.14.8.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|