'\" t .\" Title: usb_add_hcd .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Host Controller APIs .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "USB_ADD_HCD" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Host Controller APIs" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" usb_add_hcd \- finish generic HCD structure initialization and register .SH "SYNOPSIS" .HP \w'int\ usb_add_hcd('u .BI "int usb_add_hcd(struct\ usb_hcd\ *\ " "hcd" ", unsigned\ int\ " "irqnum" ", unsigned\ long\ " "irqflags" ");" .SH "ARGUMENTS" .PP \fIhcd\fR .RS 4 the usb_hcd structure to initialize .RE .PP \fIirqnum\fR .RS 4 Interrupt line to allocate .RE .PP \fIirqflags\fR .RS 4 Interrupt type flags .RE .SH "FINISH THE REMAINING PARTS OF GENERIC HCD INITIALIZATION" .PP allocate the buffers of consistent memory, register the bus, request the IRQ line, and call the driver\*(Aqs \fBreset\fR and \fBstart\fR routines\&. .SH "COPYRIGHT" .br