diff options
author | vkashyap <vkashyap@FreeBSD.org> | 2005-02-10 18:07:33 +0000 |
---|---|---|
committer | vkashyap <vkashyap@FreeBSD.org> | 2005-02-10 18:07:33 +0000 |
commit | 53986fb12f8c25cc567186f155318de8be9d04b0 (patch) | |
tree | 6c7615c8c36f825fa38e0b95dd378ae1b778737d /sys/dev/twa/twa_globals.c | |
parent | 5ac91dfb2b3ecaf85d364f9dd2c55a9685268c07 (diff) | |
download | FreeBSD-src-53986fb12f8c25cc567186f155318de8be9d04b0.zip FreeBSD-src-53986fb12f8c25cc567186f155318de8be9d04b0.tar.gz |
1. Revert back to the way the older driver handled XPT_PATH_INQ. This seems to
fix the problem with device discovery seen by some people.
2. Change to make 3ware CLI/3DM work on amd64.
3. Fix a potential problem that could cause the driver to do strlen(NULL) when
using older firmware.
Reviewed by:scottl
Diffstat (limited to 'sys/dev/twa/twa_globals.c')
-rw-r--r-- | sys/dev/twa/twa_globals.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/twa/twa_globals.c b/sys/dev/twa/twa_globals.c index 71a0437..9fb0a44 100644 --- a/sys/dev/twa/twa_globals.c +++ b/sys/dev/twa/twa_globals.c @@ -137,7 +137,7 @@ struct twa_message twa_aen_table[] = { {0x00FD, "Handler lockup"}, {0x00FE, "Retrying PCI transfer"}, {0x00FF, "AEN queue is full"}, - {0xFFFFFFFF, (char *)NULL} + {0xFFFFFFFF, ""} }; /* AEN severity table. */ @@ -147,7 +147,7 @@ char *twa_aen_severity_table[] = { "WARNING", "INFO", "DEBUG", - (char *)NULL + "" }; /* Error messages. */ @@ -307,7 +307,7 @@ struct twa_message twa_error_table[] = { {0x0330, "Log updates not allowed"}, {0x0331, "Logs are invalid"}, {0x0332, "Logs not found"}, - {0xFFFFFFFF, (char *)NULL} + {0xFFFFFFFF, ""} }; #ifdef TWA_DEBUG |