Changeset c1694b6b in mainline for uspace/drv
- Timestamp:
- 2017-12-08T21:03:35Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f77c1c9
- Parents:
- 9eb1ff5
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-07 18:20:13)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-08 21:03:35)
- Location:
- uspace/drv
- Files:
-
- 8 edited
-
audio/hdaudio/hdaudio.c (modified) (1 diff)
-
bus/usb/ehci/ehci_batch.c (modified) (1 diff)
-
char/pl050/pl050.c (modified) (3 diffs)
-
intctl/apic/apic.c (modified) (2 diffs)
-
intctl/i8259/i8259.c (modified) (2 diffs)
-
intctl/icp-ic/icp-ic.c (modified) (2 diffs)
-
intctl/obio/obio.c (modified) (2 diffs)
-
platform/sun4v/sun4v.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/hdaudio/hdaudio.c
r9eb1ff5 rc1694b6b 259 259 rc = hw_res_enable_interrupt(hda->parent_sess, res.irqs.irqs[0]); 260 260 if (rc != EOK) { 261 ddf_msg(LVL_ERROR, "Failed enabling interrupt. (%d)", rc);261 ddf_msg(LVL_ERROR, "Failed enabling interrupt.: %s", str_error(rc)); 262 262 goto error; 263 263 } -
uspace/drv/bus/usb/ehci/ehci_batch.c
r9eb1ff5 rc1694b6b 234 234 -= td_remain_size(ehci_batch->tds[i]); 235 235 } else { 236 usb_log_debug("Batch %p found error TD(%zu):%08x (%d).",236 usb_log_debug("Batch %p found error TD(%zu):%08x: %s.", 237 237 ehci_batch->usb_batch, i, 238 238 ehci_batch->tds[i]->status, 239 ehci_batch->usb_batch->error);239 str_error_name(ehci_batch->usb_batch->error)); 240 240 /* Clear possible ED HALT */ 241 241 qh_clear_halt(ehci_batch->qh); -
uspace/drv/char/pl050/pl050.c
r9eb1ff5 rc1694b6b 35 35 #include <stdio.h> 36 36 #include <errno.h> 37 #include <str_error.h> 37 38 #include <ddf/driver.h> 38 39 #include <ddf/interrupt.h> … … 223 224 rc = hw_res_enable_interrupt(pl050->parent_sess, res.irqs.irqs[0]); 224 225 if (rc != EOK) { 225 ddf_msg(LVL_ERROR, "Failed enabling interrupt . (%d)", rc);226 ddf_msg(LVL_ERROR, "Failed enabling interrupt: %s", str_error(rc)); 226 227 goto error; 227 228 } … … 349 350 rc = ddf_fun_bind(fun_a); 350 351 if (rc != EOK) { 351 ddf_msg(LVL_ERROR, "Failed binding function 'a' . (%d)", rc);352 ddf_msg(LVL_ERROR, "Failed binding function 'a': %s", str_error(rc)); 352 353 ddf_fun_destroy(fun_a); 353 354 goto error; -
uspace/drv/intctl/apic/apic.c
r9eb1ff5 rc1694b6b 45 45 #include <stdbool.h> 46 46 #include <errno.h> 47 #include <str_error.h> 47 48 #include <async.h> 48 49 #include <stdio.h> … … 237 238 rc = ddf_fun_bind(fun_a); 238 239 if (rc != EOK) { 239 ddf_msg(LVL_ERROR, "Failed binding function 'a' . (%d)", rc);240 ddf_msg(LVL_ERROR, "Failed binding function 'a': %s", str_error(rc)); 240 241 goto error; 241 242 } -
uspace/drv/intctl/i8259/i8259.c
r9eb1ff5 rc1694b6b 45 45 #include <stdbool.h> 46 46 #include <errno.h> 47 #include <str_error.h> 47 48 #include <async.h> 48 49 #include <stdio.h> … … 170 171 rc = ddf_fun_bind(fun_a); 171 172 if (rc != EOK) { 172 ddf_msg(LVL_ERROR, "Failed binding function 'a' . (%d)", rc);173 ddf_msg(LVL_ERROR, "Failed binding function 'a': %s", str_error(rc)); 173 174 goto error; 174 175 } -
uspace/drv/intctl/icp-ic/icp-ic.c
r9eb1ff5 rc1694b6b 41 41 #include <ddf/log.h> 42 42 #include <errno.h> 43 #include <str_error.h> 43 44 #include <ipc/irc.h> 44 45 #include <stdint.h> … … 136 137 rc = ddf_fun_bind(fun_a); 137 138 if (rc != EOK) { 138 ddf_msg(LVL_ERROR, "Failed binding function 'a' . (%d)", rc);139 ddf_msg(LVL_ERROR, "Failed binding function 'a': %s", str_error(rc)); 139 140 goto error; 140 141 } -
uspace/drv/intctl/obio/obio.c
r9eb1ff5 rc1694b6b 47 47 #include <ddi.h> 48 48 #include <errno.h> 49 #include <str_error.h> 49 50 #include <inttypes.h> 50 51 #include <ipc/irc.h> … … 138 139 rc = ddf_fun_bind(fun_a); 139 140 if (rc != EOK) { 140 ddf_msg(LVL_ERROR, "Failed binding function 'a' . (%d)", rc);141 ddf_msg(LVL_ERROR, "Failed binding function 'a': %s", str_error(rc)); 141 142 goto error; 142 143 } -
uspace/drv/platform/sun4v/sun4v.c
r9eb1ff5 rc1694b6b 41 41 #include <ddf/log.h> 42 42 #include <errno.h> 43 #include <str_error.h> 43 44 #include <ops/hw_res.h> 44 45 #include <ops/pio_window.h> … … 228 229 rc = sysinfo_get_value("niagara.inbuf.address", &paddr); 229 230 if (rc != EOK) { 230 ddf_msg(LVL_ERROR, "niagara.inbuf.address not set (%d)", rc);231 ddf_msg(LVL_ERROR, "niagara.inbuf.address not set: %s", str_error(rc)); 231 232 return rc; 232 233 } … … 236 237 rc = sysinfo_get_value("niagara.outbuf.address", &paddr); 237 238 if (rc != EOK) { 238 ddf_msg(LVL_ERROR, "niagara.outbuf.address not set (%d)", rc);239 ddf_msg(LVL_ERROR, "niagara.outbuf.address not set: %s", str_error(rc)); 239 240 return rc; 240 241 }
Note:
See TracChangeset
for help on using the changeset viewer.
