summaryrefslogtreecommitdiffstats
path: root/sys/dev/aac/aac_debug.c
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2001-12-02 03:47:33 +0000
committerscottl <scottl@FreeBSD.org>2001-12-02 03:47:33 +0000
commit7bf566164162b76eaf304b44aae5645eab5f9779 (patch)
tree72bd5c3b28f04165ad0d790debfdcc97fb4357f5 /sys/dev/aac/aac_debug.c
parent686c6d137f35735b4d160e2c7dce11fdb60729c8 (diff)
downloadFreeBSD-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_debug.c')
-rw-r--r--sys/dev/aac/aac_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/aac/aac_debug.c b/sys/dev/aac/aac_debug.c
index 71c5bdc..0d54223 100644
--- a/sys/dev/aac/aac_debug.c
+++ b/sys/dev/aac/aac_debug.c
@@ -213,7 +213,7 @@ aac_print_fib(struct aac_softc *sc, struct aac_fib *fib, char *caller)
fib->Header.StructType);
device_printf(sc->aac_dev, " Flags 0x%x\n", fib->Header.Flags);
device_printf(sc->aac_dev, " Size %d\n", fib->Header.Size);
- device_printf(sc->aac_dev, " SenderSize %d\n",xi
+ device_printf(sc->aac_dev, " SenderSize %d\n",
fib->Header.SenderSize);
device_printf(sc->aac_dev, " SenderAddress 0x%x\n",
fib->Header.SenderFibAddress);
@@ -225,7 +225,7 @@ aac_print_fib(struct aac_softc *sc, struct aac_fib *fib, char *caller)
case ContainerCommand:
{
struct aac_blockread *br;
- struct aac_blockwrite *br;
+ struct aac_blockwrite *bw;
struct aac_sg_table *sg;
int i;
OpenPOWER on IntegriCloud