Deleted Added
full compact
usb_hub.c (223489) usb_hub.c (226803)
1/* $FreeBSD: head/sys/dev/usb/usb_hub.c 223489 2011-06-24 04:16:06Z hselasky $ */
1/* $FreeBSD: head/sys/dev/usb/usb_hub.c 226803 2011-10-26 17:43:27Z hselasky $ */
2/*-
3 * Copyright (c) 1998 The NetBSD Foundation, Inc. All rights reserved.
4 * Copyright (c) 1998 Lennart Augustsson. All rights reserved.
5 * Copyright (c) 2008-2010 Hans Petter Selasky. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:

--- 596 unchanged lines hidden (view full) ---

606 is_suspend = 1;
607 } else {
608 is_suspend = 0;
609 }
610 } else {
611 switch (UPS_PORT_LINK_STATE_GET(sc->sc_st.port_status)) {
612 case UPS_PORT_LS_U0:
613 case UPS_PORT_LS_U1:
2/*-
3 * Copyright (c) 1998 The NetBSD Foundation, Inc. All rights reserved.
4 * Copyright (c) 1998 Lennart Augustsson. All rights reserved.
5 * Copyright (c) 2008-2010 Hans Petter Selasky. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:

--- 596 unchanged lines hidden (view full) ---

606 is_suspend = 1;
607 } else {
608 is_suspend = 0;
609 }
610 } else {
611 switch (UPS_PORT_LINK_STATE_GET(sc->sc_st.port_status)) {
612 case UPS_PORT_LS_U0:
613 case UPS_PORT_LS_U1:
614 case UPS_PORT_LS_RESUME:
614 is_suspend = 0;
615 break;
616 default:
617 is_suspend = 1;
618 break;
619 }
620 }
621

--- 1877 unchanged lines hidden ---
615 is_suspend = 0;
616 break;
617 default:
618 is_suspend = 1;
619 break;
620 }
621 }
622

--- 1877 unchanged lines hidden ---