Commit Graph

239423 Commits

Author SHA1 Message Date
plunky
d82c710316 update several profiles, bringing up to date decoding of all the
Bluetooth 1.1->4.2 Service Discovery specifications I could find,
namely:

    Wireless Access Protocol
    Multi-Profile Specification
    Calendar, Tasks & Notes
    Message Access Profile
    Message Notification Service
    Global Navigation Satellite System
    Health Device Profile
    File Transfer Protocol
    3D Display
    General Access Profile
    Generic Attribute Server

all documentation is on bluetooth.org, under

    https://www.bluetooth.org/en-us/specification
2015-12-11 21:05:18 +00:00
macallan
67f9b9131c || -> &&
From PR50534
2015-12-11 19:47:52 +00:00
skrll
ed17c7296b Use gcc 4.4 and later operation for nand, i.e.
*ptr = ~(tmp & value) instead of *ptr = ~tmp & value

There was also another bug in sync_fetch_and_nand_8 which I've also fixed.

PR port-arm32/50513: Incorrect logic for atomic_nand_xx.S
2015-12-11 12:41:10 +00:00
wiz
bd254c9278 Whitespace nit. 2015-12-11 10:05:17 +00:00
tron
0d7f9f570d Use the proper format "[IPv6 address]:port" when reporting connection
attempts to IPv6 endpoints.
2015-12-11 08:37:31 +00:00
mlelstv
8470efeba1 d_secpercyl is gone and we use the value from disklabel anyway. 2015-12-11 08:19:07 +00:00
mlelstv
2632be1caa PR 50519 missing breaks in switch 2015-12-11 08:12:18 +00:00
mlelstv
9e54402661 PR 50517 bad switch 2015-12-11 08:10:43 +00:00
mlelstv
05c35a4ea2 PR 50518 bad switch 2015-12-11 08:10:28 +00:00
mlelstv
ad7d3c2070 PR 50516 bad switch case 2015-12-11 08:08:01 +00:00
mlelstv
75a9f56358 PR 50516 bad switch statement.
Adding some comments.
2015-12-11 08:04:20 +00:00
knakahara
a00e94f4ff PR kern/50522: gif(4) ioctl causes panic while someone is using the gif(4) interface.
It is required to wait other CPU's softint completion before disestablishing
the softint handler.
2015-12-11 07:59:14 +00:00
skrll
27b2cc68e5 Don't need to nest #ifdef EHCI_DEBUG 2015-12-11 07:21:09 +00:00
knakahara
ef0c59f955 revert KASSERT. It should use 'if' instead of KASSERT.
see updated(later than r1.18) kmem(9) man.
2015-12-11 04:29:24 +00:00
marty
ae8b8d2f78 EXYNOS rewrite step 3 of N: Add aliases for gpio pins
This adds the GPIO aliases that will be used for board-independent driver
lookup until we have FDT.

The idea here is that each pin used by any driver is given a name that
the driver knows that is independent of the gpio bank name.  The mapping
from the alias to the actual gpio bank + pin number is done in this file
and a lookup function is added to exynos_gpio.c that allows a driver to
ask for a gpio pin by the alias name, blisssfully unaware that there is
an underlying GPIO bank name.

Once set up with all the drivers, it should then be possible to move to a
different vendor's board simply by modifying exynos_machdep.c
2015-12-11 04:12:21 +00:00
christos
e549b41801 Spell out that KM_SLEEP allocations can fail. 2015-12-11 04:11:23 +00:00
marty
757c3ba73a add a dma file to the EXYNOS rewrite 2015-12-11 04:05:54 +00:00
marty
7f537c15f8 EXYNOS Rewrite step 2 of N: New exynos_gpio.c
I can't bring  myself to fully nuke from orbit, so there are really two
things in this checkin:

1) A major rewrite of exynos_gpio.c, based mostly on the Nvidia
   tegra_gpio.c file.  This is missing a major function that will be
   added the first time a customer for it is integrated, which is meant to
   select pins based on aliases, rather than pin bank names.

2) A small number of changes to other files that keep the tree compiling
   and progressing as far as ever; except it is now 5422 specific and
   will not boot on the other exynos socs, which I don't have hardware to
   test.

The choice to remove functionality is always controversial, but since
we are doing a significant rewrite and I don't have either
documentation or hardware *and* none of the code really works now
anyway, I'm taking the stance that only tested functionality should be
added, and that we'll layer the other exynos socs on this once it
fully boots.
2015-12-11 04:03:44 +00:00
marty
d5a1486a46 Move everything back into files.exynos 2015-12-11 03:55:18 +00:00
ozaki-r
871888c540 Introduce arp_settimer
No functional change.
2015-12-11 01:15:00 +00:00
skrll
f5d2541133 PR port-arm/50512: Source code condition impossible
Fix condition which broke ARM1136 function selection when ARM1176 support
was added
2015-12-10 22:04:54 +00:00
marty
666117ed73 Fix a typo 2015-12-10 21:56:04 +00:00
jakllsch
266cbc7beb Make the us.dvorak.swapctrlcaps keyboard layout work for ukbd(4) too. 2015-12-10 21:38:59 +00:00
wiz
f36df50d9f Markup improvements. 2015-12-10 21:32:35 +00:00
skrll
0ad246e585 Unwrap lines 2015-12-10 17:07:07 +00:00
skrll
ef4fef6834 Fix indentation 2015-12-10 16:35:45 +00:00
skrll
bc04c498c9 Remove "empty" FreeBSD RCSId 2015-12-10 15:51:11 +00:00
skrll
c44f366768 Trailing whitespace 2015-12-10 15:50:17 +00:00
leot
ed2237c746 regen (sorted the RTL8188CU_3 devid) 2015-12-10 14:31:46 +00:00
leot
86e5aef28a whoops, sort the RTL8188CU_3. 2015-12-10 14:30:56 +00:00
leot
5e4b22043b Add support for Realtek RTL8188CU_3. 2015-12-10 14:28:04 +00:00
leot
2c058583e3 regen (+REALTEK RTL8188CU_3) 2015-12-10 14:26:40 +00:00
leot
dcdb41852a + REALTEK RTL8188CU_3 2015-12-10 14:24:25 +00:00
skrll
cdccd72cf0 Make this actually compile with USB_DEBUG. oops. 2015-12-10 09:19:42 +00:00
skrll
d64f74d72a Pull across the conversion to usbhist from nick-nhusb. 2015-12-10 09:04:08 +00:00
knakahara
5b880df5ec kmem_zalloc(, KM_SLEEP) must not return NULL. 2015-12-10 08:11:03 +00:00
pgoyette
cb2f2b6a2b When loaded as a non-built-in module, make sure we attach the cdevsw.
Without this, the i2c bus works but userland programs (such as
i2cscan(8)) cannot open /dev/iic*.

While we're here, add a ref-count to make sure that the device doesn't
get detached while it is open.
2015-12-10 05:33:28 +00:00
pgoyette
15d8e3db1c Initialize the mutex before calling xxx_rescan(). Otherwise if we
load/attach an i2cbus at a later time (ie, load the iic module),
we'll end-up re-initializing the mutex.

(Caught with a LOCKDEBUG kernel)
2015-12-10 05:29:41 +00:00
knakahara
eaf1fb5902 add NULL check 2015-12-10 01:20:12 +00:00
maxv
a1153902a9 Rename verified_exec.c -> veriexec.c.
The old log is now in Attic/.
2015-12-09 18:25:32 +00:00
maxv
5e224a552d KNF, and use C-style comments. Also, remove fusword/susword. 2015-12-09 16:55:18 +00:00
maxv
10c6ba270a KNF 2015-12-09 16:26:16 +00:00
wiz
d7f847e7d4 Fix date. 2015-12-09 08:30:03 +00:00
knakahara
0072297ac8 ip_encap uses kmem_alloc APIs instead of malloc. 2015-12-09 06:00:51 +00:00
knakahara
849e83fa25 gif(4) uses kmem_alloc APIs instead of malloc. 2015-12-09 05:56:24 +00:00
knakahara
5e4601c62c Refactor gif_set_tunnel(). No functional change. 2015-12-09 03:33:32 +00:00
knakahara
118f179f3d Improve gif_set_tunnel() rollback code. 2015-12-09 03:31:28 +00:00
kamil
8ad8b0676c Correct mistakes in the sqlite.lua example
Changes:
- The open flag: sqlite.OPEN_CREATE will open the DB for reading and
  writing, adding sqlite.OPEN_READWRITE to sqlite.OPEN_CREATE will cause
  the DB to not be created and prevent the script from continuing
- When using stmt:bind_parameter_index() the parameter needs to be
  prefixed with ':' if that was used in the prepared statement,
  otherwise the incorrect index of 0 is returned.
- The drop table statement has an "x" appended to the table name, looks
  like a typo.

Patch by Travis Paul

Closes PR misc/50493
2015-12-08 23:04:40 +00:00
christos
7cbc092f17 fix struct name 2015-12-08 22:16:01 +00:00
christos
9a41cce439 Fix DIOCGPARTINFO 2015-12-08 21:27:50 +00:00