git: bluetooth(4): Fix loading bluetooth without pf.

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Jan 2 09:45:57 PST 2011


commit 5179415a893fd9051325d0ea506eb399fce7edd6
Author: Sascha Wildner <saw at online.de>
Date:   Sun Jan 2 18:43:19 2011 +0100

    bluetooth(4): Fix loading bluetooth without pf.
    
    bluetooth(4) was previously using pf(4)'s pool_* macros. Now that pool_get()
    has been turned into a function in pf(4), this is no longer possible, since
    the bluetooth(4) module would have to depend on the pf(4) module for that.
    
    To unbreak module loading, convert all calls to these macros to the zone(9)
    calls which they really are.

Summary of changes:
 sys/netbt/bt_proto.c       |   36 +++++++++++++++++++-----------------
 sys/netbt/hci_link.c       |    9 ++++-----
 sys/netbt/l2cap_misc.c     |    5 ++---
 sys/netbt/rfcomm_session.c |   13 ++++++-------
 4 files changed, 31 insertions(+), 32 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5179415a893fd9051325d0ea506eb399fce7edd6


-- 
DragonFly BSD source repository





More information about the Commits mailing list