|
|
| version 1.7, 2004/03/12 03:23:19 | version 1.8, 2004/03/15 02:27:56 |
|---|---|
| Line 378 chregister(struct cam_periph *periph, vo | Line 378 chregister(struct cam_periph *periph, vo |
| return(CAM_REQ_CMP_ERR); | return(CAM_REQ_CMP_ERR); |
| } | } |
| softc = malloc(sizeof(*softc), M_DEVBUF, M_WAITOK | M_ZERO); | softc = malloc(sizeof(*softc), M_DEVBUF, M_INTWAIT | M_ZERO); |
| softc->state = CH_STATE_PROBE; | softc->state = CH_STATE_PROBE; |
| periph->softc = softc; | periph->softc = softc; |
| cam_extend_set(chperiphs, periph->unit_number, periph); | cam_extend_set(chperiphs, periph->unit_number, periph); |