[ipxe-devel] [ipxe] Usb host support (#28)

John Willis notifications at github.com
Fri Sep 26 02:32:30 BST 2014


You can merge this Pull Request by running:

  git pull https://github.com/johntwillis/ipxe usb-host-support

Or you can view, comment on it, or merge it online at:

  https://github.com/ipxe/ipxe/pull/28

-- Commit Summary --

  * Adding usb host support module files
  * Alterating makefile to include host driver support
  * Updating struct initializer for pci_device_id using PCI_ROM macro
  * Adding usb host support header file
  * Adjust message component to use include/ipxe/usb.h file
  * Adjust usb.h file to reference headers in include/ipxe directory, remove legacy ifdefines
  * Adding a header with conventional standard usb macros ch.9
  * Missed a #endif when removing legacy #ifdefine, removing it now
  * Alterating include/ipxe/errfile to include macros for host controller driver, hub messages and usbcore modules
  * Alterating ohci_hcd host controller driver to use include/ipxe headers
  * Alterating ohci_hcd host controller driver to use use zx instead of lx format specifier for unint32_t in DBG messages
  * Alterating pci_ids.h to include a macro for identifying ohci and uhci host controller device hardware on the pci bus
  * Alterating ohci_hcd driver a single DBG msg, back from using zx to lx for a size_t, got a bit over eager
  * Alterating uhci_hcd driver to use include/ipxe headers
  * Alterating uhci_hcd header to use include/ipxe headers, remove legacy #ifndef
  * Alterating uhci_hcd.c to fix DBG format specifier lx to zx, fixed probe call to match callback
  * Alterating uhci_hcd.c to fix DBG format specifier lx to zxi, missed one
  * Alterating urb.c to use include/ipxe headers
  * Alterating usbcore.c to use include/ipxe headers
  * Alterating usbcore.c to remove legacy structs for tables
  * Alterating usbcore.c to use new method for iterating over driver table entries using tables.h, this was recommended by Mareo on the #ipxe Freenode IRC channel
  * Alterating usb.h define USB_DRIVERS table in the new way, and define what a table entry will look like
  * Alterating config/console.h so that when invoked with qemu for testing -serial file:logfile.log will capture DBG messages for later study, using # make DEBUG=uhci_hcd,usbcore, to compile with DBG messages [on] for testing host controller driver and usbcore support modules
  * Alterating uhci_hcd.c so it provides a cleaner 'Trying' msg when debugging
  * Alterating hcd.h to remove more legacy #ifndef
  * Adding an extra README.usb file for general information
  * Adding a usb net drivers directory
  * Adjusting make file to include drivers/net/usb modules in build
  * Adjusting asix driver to use include/ipxe headers and removing legacy #ifndef
  * Adjusting dm9601 driver to use include/ipxe headers and removing legacy #ifndef
  * Adjusting pegasus driver to use include/ipxe headers
  * Adjusting include/ipxe/errfile.h to assign defines for asix, dm9601, pegasus drivers
  * Adjusting asix driver DBG format specifiers lx to zx
  * Adjusting dm9601.h header file to use include/ipxe headers
  * Adjusting dm9601.h includes, so that it doesn't include include/ipxe/usb.h a second time and try to redefine struct dm9601 a second time and cause a warning/error
  * Adjusting config/config.c file to pull in USB host stack, ifdefines in the src code does not appear to work, default Make target iPXE does not pull in USB device drivers, so only targeted builds like bin/asix.iso will produce valid images
  * Adjusting config/console.h to turn off inclusion of a serial console for debugging purposes
  * Adjusting parserom.pl, config.c, asix, dm9601, pegasus files to support build system USB_ROM macros, Removed ohci_hcd bus driver files because they compete with the uhci_hcd bus driver during linking - one way to override is to include the DEBUG=ohci_hcd parameter after make, but this is not a good work around, so will find a way to resolve ambiguity before adding the ohci_hcd back
  * README.usb file updated with current information
  * Fixed asix.c and dm9601.c so they would compile without warnings on 64bit Ubuntu 14.04 LTS Desktop
  * Fixed asix.c forgot to remove unused gpio0 variable and code that used it
  * Added new USB_ROM id for a Lenovo U2L 100-Y1 USB Ethernet adapter
  * Adding Apple USB->Ethernet adapter.
  * Merge pull request #1 from mithro/patch-1

-- File Changes --

    A README.usb (56)
    M src/Makefile (2)
    M src/config/config.c (7)
    A src/drivers/bus/usb/hcd.h (21)
    A src/drivers/bus/usb/message.c (133)
    A src/drivers/bus/usb/uhci_hcd.c (827)
    A src/drivers/bus/usb/uhci_hcd.h (208)
    A src/drivers/bus/usb/urb.c (32)
    A src/drivers/bus/usb/usbcore.c (160)
    A src/drivers/net/usb/asix.c (708)
    A src/drivers/net/usb/asix.h (144)
    A src/drivers/net/usb/dm9601.c (481)
    A src/drivers/net/usb/dm9601.h (18)
    A src/drivers/net/usb/pegasus.c (615)
    A src/drivers/net/usb/pegasus.h (298)
    M src/include/ipxe/errfile.h (8)
    M src/include/ipxe/pci_ids.h (2)
    A src/include/ipxe/usb.h (219)
    A src/include/ipxe/usb/ch9.h (315)
    M src/util/parserom.pl (14)

-- Patch Links --

https://github.com/ipxe/ipxe/pull/28.patch
https://github.com/ipxe/ipxe/pull/28.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/ipxe/ipxe/pull/28
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20140925/db6db151/attachment.html>


More information about the ipxe-devel mailing list