Coding style fixes and white space clean up. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34473 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
* All Rights Reserved. Distributed under the terms of the MIT License.
|
* All Rights Reserved. Distributed under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <sys/bus.h>
|
#include <sys/bus.h>
|
||||||
#include <sys/kernel.h>
|
#include <sys/kernel.h>
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
* All Rights Reserved. Distributed under the terms of the MIT License.
|
* All Rights Reserved. Distributed under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <sys/bus.h>
|
#include <sys/bus.h>
|
||||||
#include <sys/kernel.h>
|
#include <sys/kernel.h>
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
* All Rights Reserved. Distributed under the terms of the MIT License.
|
* All Rights Reserved. Distributed under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <sys/bus.h>
|
#include <sys/bus.h>
|
||||||
#include <sys/kernel.h>
|
#include <sys/kernel.h>
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
* All Rights Reserved. Distributed under the terms of the MIT License.
|
* All Rights Reserved. Distributed under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <sys/bus.h>
|
#include <sys/bus.h>
|
||||||
#include <sys/kernel.h>
|
#include <sys/kernel.h>
|
||||||
|
|
||||||
@@ -36,14 +37,14 @@ HAIKU_CHECK_DISABLE_INTERRUPTS(device_t dev)
|
|||||||
r2 = IWN_READ(sc, IWN_INTR_STATUS);
|
r2 = IWN_READ(sc, IWN_INTR_STATUS);
|
||||||
|
|
||||||
if (r1 == 0 && r2 == 0) {
|
if (r1 == 0 && r2 == 0) {
|
||||||
/* not for us */
|
/* not for us */
|
||||||
IWN_WRITE(sc, IWN_MASK, IWN_INTR_MASK);
|
IWN_WRITE(sc, IWN_MASK, IWN_INTR_MASK);
|
||||||
HAIKU_INTR_REGISTER_LEAVE();
|
HAIKU_INTR_REGISTER_LEAVE();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (r1 == 0xffffffff) {
|
if (r1 == 0xffffffff) {
|
||||||
/* hardware gone */
|
/* hardware gone */
|
||||||
HAIKU_INTR_REGISTER_LEAVE();
|
HAIKU_INTR_REGISTER_LEAVE();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user