diff options
author | scottl <scottl@FreeBSD.org> | 2001-12-02 03:47:33 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2001-12-02 03:47:33 +0000 |
commit | 7bf566164162b76eaf304b44aae5645eab5f9779 (patch) | |
tree | 72bd5c3b28f04165ad0d790debfdcc97fb4357f5 /sys/dev/aac/aac_pci.c | |
parent | 686c6d137f35735b4d160e2c7dce11fdb60729c8 (diff) | |
download | FreeBSD-src-7bf566164162b76eaf304b44aae5645eab5f9779.zip FreeBSD-src-7bf566164162b76eaf304b44aae5645eab5f9779.tar.gz |
Add functionality and fix bugs so the driver will work with soon-to-be
released management apps.
1. Implement poll(). This will check for queued aif's so that a
subsequent ioctl call to retrieve the next aif will not block.
2. Don't catch signals when sleeping on a fib sent from userland. This
causes a race and panic due to the pthread context switcher waking
up the tsleep at inopportune times.
3. Fix some whitespace nits.
MFC after: 3 days
Diffstat (limited to 'sys/dev/aac/aac_pci.c')
-rw-r--r-- | sys/dev/aac/aac_pci.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/aac/aac_pci.c b/sys/dev/aac/aac_pci.c index 1115a12..acaf6a4 100644 --- a/sys/dev/aac/aac_pci.c +++ b/sys/dev/aac/aac_pci.c @@ -279,6 +279,10 @@ aac_pci_attach(device_t dev) debug(2, "set hardware up for StrongARM"); sc->aac_if = aac_sa_interface; break; + case AAC_HWIF_FALCON: + debug(2, "set hardware up for Falcon/PPC"); + sc->aac_if = aac_fa_interface; + break; } break; } |