Just for porter's comfort: Original FreeBSD code snippet restored and moved under #ifndef __HAIKU__ section. That should make a hint during updating this file to upcoming releases of FreeBSD.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42406 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -2244,6 +2244,8 @@ xl_intr(void *arg)
|
||||
#ifndef __HAIKU__
|
||||
while ((status = CSR_READ_2(sc, XL_STATUS)) & XL_INTRS &&
|
||||
status != 0xFFFF) {
|
||||
CSR_WRITE_2(sc, XL_COMMAND,
|
||||
XL_CMD_INTR_ACK|(status & XL_INTRS));
|
||||
#else
|
||||
status = atomic_get((int32 *)&sc->xl_intr_status);
|
||||
while (true) {
|
||||
|
||||
Reference in New Issue
Block a user