Print this page
4782 usba shouldn't abuse ddi_get_time(9f)
Reviewed by: Robert Mustacchi <rm@joyent.com>

*** 20,29 **** --- 20,32 ---- */ /* * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ + /* + * Copyright 2014 Nexenta Systems, Inc. All rights reserved. + */ #ifndef _SYS_USB_HUBDVAR_H #define _SYS_USB_HUBDVAR_H
*** 89,101 **** /* wakeup and power transition capabilities of an interface */ uint8_t hubp_pm_capabilities; uint8_t hubp_current_power; /* current power level */ ! time_t hubp_time_at_full_power; /* timestamp 0->3 */ ! uint8_t hubp_min_pm_threshold; /* in seconds */ /* power state of all children are tracked here */ uint8_t *hubp_child_pwrstate; /* pm-components properties are stored here */ --- 92,104 ---- /* wakeup and power transition capabilities of an interface */ uint8_t hubp_pm_capabilities; uint8_t hubp_current_power; /* current power level */ ! hrtime_t hubp_time_at_full_power; /* timestamp 0->3 */ ! hrtime_t hubp_min_pm_threshold; /* in nanoseconds */ /* power state of all children are tracked here */ uint8_t *hubp_child_pwrstate; /* pm-components properties are stored here */