diff options
author | Peter Jones <pjones@redhat.com> | 2005-08-26 01:33:34 -0400 |
---|---|---|
committer | James Ketrenos <jketreno@linux.intel.com> | 2005-11-07 18:51:19 -0500 |
commit | a4f6bbb305123c2c42322a10a770be64089a17ca (patch) | |
tree | 6f43bf7bb84b7ef2459e2b1023fb1db34ffb8cbc /drivers/net/wireless | |
parent | 054b08d48464bfa8e5be69829b59bd599c5dcd72 (diff) |
Make all the places the firmware fails to load showerrors (in decimal,
so you can cross-reference errno.h easily).
Signed-off-by: Peter Jones <pjones@redhat.com>
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/ipw2200.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index bda292f7f82c..79697e8e8d96 100644 --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c | |||
@@ -3304,7 +3304,7 @@ static int ipw_load(struct ipw_priv *priv) | |||
3304 | rc = ipw_load_firmware(priv, bootfw->data + sizeof(struct fw_header), | 3304 | rc = ipw_load_firmware(priv, bootfw->data + sizeof(struct fw_header), |
3305 | bootfw->size - sizeof(struct fw_header)); | 3305 | bootfw->size - sizeof(struct fw_header)); |
3306 | if (rc < 0) { | 3306 | if (rc < 0) { |
3307 | IPW_ERROR("Unable to load boot firmware\n"); | 3307 | IPW_ERROR("Unable to load boot firmware: %d\n", rc); |
3308 | goto error; | 3308 | goto error; |
3309 | } | 3309 | } |
3310 | 3310 | ||
@@ -3327,7 +3327,7 @@ static int ipw_load(struct ipw_priv *priv) | |||
3327 | rc = ipw_load_ucode(priv, ucode->data + sizeof(struct fw_header), | 3327 | rc = ipw_load_ucode(priv, ucode->data + sizeof(struct fw_header), |
3328 | ucode->size - sizeof(struct fw_header)); | 3328 | ucode->size - sizeof(struct fw_header)); |
3329 | if (rc < 0) { | 3329 | if (rc < 0) { |
3330 | IPW_ERROR("Unable to load ucode\n"); | 3330 | IPW_ERROR("Unable to load ucode: %d\n", rc); |
3331 | goto error; | 3331 | goto error; |
3332 | } | 3332 | } |
3333 | 3333 | ||
@@ -3339,7 +3339,7 @@ static int ipw_load(struct ipw_priv *priv) | |||
3339 | sizeof(struct fw_header), | 3339 | sizeof(struct fw_header), |
3340 | firmware->size - sizeof(struct fw_header)); | 3340 | firmware->size - sizeof(struct fw_header)); |
3341 | if (rc < 0) { | 3341 | if (rc < 0) { |
3342 | IPW_ERROR("Unable to load firmware\n"); | 3342 | IPW_ERROR("Unable to load firmware: %d\n", rc); |
3343 | goto error; | 3343 | goto error; |
3344 | } | 3344 | } |
3345 | 3345 | ||
@@ -10958,7 +10958,7 @@ static int ipw_up(struct ipw_priv *priv) | |||
10958 | * Also start the clocks. */ | 10958 | * Also start the clocks. */ |
10959 | rc = ipw_load(priv); | 10959 | rc = ipw_load(priv); |
10960 | if (rc) { | 10960 | if (rc) { |
10961 | IPW_ERROR("Unable to load firmware: 0x%08X\n", rc); | 10961 | IPW_ERROR("Unable to load firmware: %d\n", rc); |
10962 | return rc; | 10962 | return rc; |
10963 | } | 10963 | } |
10964 | 10964 | ||