/*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2000,2001,2002,2003,2004,2005,2007,2008,2009,2010 Free Software Foundation, Inc.
*
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* GRUB is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GRUB. If not, see <http://www.gnu.org/licenses/>.
*/
#include <grub/usbserial.h>
GRUB_MOD_LICENSE ("GPLv3+");
void
{
}
void
{
}
static int usbnum = 0;
int
struct grub_serial_driver *driver)
{
int j;
if (!port)
{
grub_print_error ();
return 0;
}
{
grub_print_error ();
return 0;
}
for (j = 0; j < interf->endpointcnt; j++)
{
{
/* Bulk IN endpoint. */
}
{
/* Bulk OUT endpoint. */
}
}
/* Configure device */
{
return 0;
}
= port;
return 1;
}
int
{
&actual);
if (err != GRUB_USB_ERR_NONE)
return -1;
return -1;
}