Modify place where INTR_REQ_USB is defined.
This commit is contained in:
@@ -339,7 +339,8 @@ void usb_lld_init (struct usb_dev *dev, uint8_t feature)
|
||||
|
||||
/* Clear Interrupt Status Register, and enable interrupt for USB */
|
||||
st103_set_istr (0);
|
||||
st103_set_cntr (CNTR_CTRM | CNTR_RESETM);
|
||||
st103_set_cntr (CNTR_CTRM | CNTR_OVRM | CNTR_ERRM
|
||||
| CNTR_RESETM);
|
||||
}
|
||||
|
||||
void usb_lld_prepare_shutdown (void)
|
||||
|
||||
@@ -1458,9 +1458,8 @@ read_data_transaction (struct usb_control *usbc_p,
|
||||
return count;
|
||||
}
|
||||
|
||||
void chx_handle_intr (uint32_t irq_num);
|
||||
extern void chx_handle_intr (uint32_t irq_num);
|
||||
|
||||
#define INTR_REQ_USB SIGUSR1
|
||||
|
||||
static void
|
||||
usb_intr (int signum, siginfo_t *siginfo, void *arg)
|
||||
|
||||
Reference in New Issue
Block a user