diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-07-18 13:15:25 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-07-25 13:00:50 +0200 |
commit | ca9dcc2edd72a33bacf11870b8476d5a9e02205e (patch) | |
tree | e4618a6eb6b58dc3caf19bd9bebb03d5ff3e8b42 /src/hw | |
parent | dd9bba5b9c1d5175a2757f3fdc9d554b4c8eea3a (diff) | |
download | seabios-ca9dcc2edd72a33bacf11870b8476d5a9e02205e.tar.gz |
usb: add hub portmap
Allow usb hubs to map (software) ports to physical ports via op
callback. This is needed to make bootorder work in case there
isn't a simple linear mapping.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'src/hw')
-rw-r--r-- | src/hw/usb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hw/usb.h b/src/hw/usb.h index 94e12b20..2cfb5721 100644 --- a/src/hw/usb.h +++ b/src/hw/usb.h @@ -56,6 +56,7 @@ struct usbhub_s { struct usbhub_op_s { int (*detect)(struct usbhub_s *hub, u32 port); int (*reset)(struct usbhub_s *hub, u32 port); + int (*portmap)(struct usbhub_s *hub, u32 port); void (*disconnect)(struct usbhub_s *hub, u32 port); }; |