]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Locking for etherswitch framework:
authorray <ray@FreeBSD.org>
Mon, 15 Oct 2012 12:20:40 +0000 (12:20 +0000)
committerray <ray@FreeBSD.org>
Mon, 15 Oct 2012 12:20:40 +0000 (12:20 +0000)
commit304e13439b52bec3ac813e787148986209e890f8
treef90f8242e4bcad01cc768a7afb94a17308ac6909
parent5b7ad0edc8102b0195e61417799c4a1be6710dfc
Locking for etherswitch framework:
* add lock/unlock methods;
* add lock/unlock default implementation;
* surround switch IOCTLs with locking;
* add lock/unlock implementation for arswitch;

Submitted by: Luiz Otavio O Souza
Approved by: adrian (mentor)
sys/dev/etherswitch/arswitch/arswitch.c
sys/dev/etherswitch/arswitch/arswitch_phy.c
sys/dev/etherswitch/etherswitch.c
sys/dev/etherswitch/etherswitch_if.m