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

johntwillis notifications at github.com
Thu Sep 25 03:53:06 UTC 2014


Attempting to merge branch created to add PCI USB Host controller support into a Fork of the iPXE project. This is not intended to merge back into the parent project at this time. Still learning GitHub branching and merging.
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/27

-- 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

-- File Changes --

    A README.usb (22)
    M src/Makefile (1)
    M src/config/console.h (2)
    A src/drivers/bus/usb/hcd.h (21)
    A src/drivers/bus/usb/message.c (133)
    A src/drivers/bus/usb/ohci.h (342)
    A src/drivers/bus/usb/ohci_hcd.c (766)
    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)
    M src/include/ipxe/errfile.h (5)
    M src/include/ipxe/pci_ids.h (2)
    A src/include/ipxe/usb.h (215)
    A src/include/ipxe/usb/ch9.h (315)

-- Patch Links --

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

---
Reply to this email directly or view it on GitHub:
https://github.com/ipxe/ipxe/pull/27
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20140924/6ace8811/attachment.htm>


More information about the ipxe-devel mailing list