Changeset af0a2c7 in mainline
- Timestamp:
- 2014-08-29T20:37:26Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f93ba6d
- Parents:
- 75751db6
- Location:
- uspace
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/Makefile.common
r75751db6 raf0a2c7 195 195 196 196 ifeq ($(CONFIG_OPTIMIZE_FOR_SIZE),y) 197 OPTIMIZATION = 0198 else 199 OPTIMIZATION = 0197 OPTIMIZATION = s 198 else 199 OPTIMIZATION = 3 200 200 endif 201 201 -
uspace/drv/char/pl050/pl050.c
r75751db6 raf0a2c7 141 141 size_t nidx; 142 142 143 ddf_msg(LVL_NOTE, "Interrupt");144 145 143 fibril_mutex_lock(&pl050->buf_lock); 146 144 nidx = (pl050->buf_wp + 1) % buffer_size; … … 257 255 int rc; 258 256 259 ddf_msg(LVL_ NOTE, "pl050_dev_add()");257 ddf_msg(LVL_DEBUG, "pl050_dev_add()"); 260 258 261 259 pl050 = ddf_dev_data_alloc(dev, sizeof(pl050_t)); … … 276 274 pl050->dev = dev; 277 275 278 if (1) {279 276 rc = pl050_init(pl050); 280 277 if (rc != EOK) 281 278 goto error; 282 } 279 283 280 rc = ddf_fun_add_match_id(fun_a, "char/xtkbd", 10); 284 281 if (rc != EOK) { … … 288 285 } 289 286 290 ddf_msg(LVL_NOTE, "Init srvs"); 291 if (1) { 287 292 288 chardev_srvs_init(&pl050->cds); 293 289 pl050->cds.ops = &pl050_chardev_ops; … … 295 291 296 292 ddf_fun_set_conn_handler(fun_a, pl050_char_conn); 297 } 293 298 294 rc = ddf_fun_bind(fun_a); 299 295 if (rc != EOK) { … … 303 299 } 304 300 305 ddf_msg(LVL_NOTE, "Device added");306 301 ddf_msg(LVL_DEBUG, "Device added."); 307 302 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.