diff options
author | Dmitry Bezrukov <dmitry.bezrukov@aquantia.com> | 2018-11-26 10:33:04 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-28 00:46:06 +0100 |
commit | 619fcb4487959ad5238af1adb13c331dc6945072 (patch) | |
tree | a47bac672a53c7b359458a057d659c057212aa3d /drivers/net/usb/aqc111.h | |
parent | net: usb: aqc111: Add bind and empty unbind callbacks (diff) | |
download | linux-619fcb4487959ad5238af1adb13c331dc6945072.tar.xz linux-619fcb4487959ad5238af1adb13c331dc6945072.zip |
net: usb: aqc111: Add implementation of read and write commands
Read/write command register defines and functions
Signed-off-by: Dmitry Bezrukov <dmitry.bezrukov@aquantia.com>
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/aqc111.h')
-rw-r--r-- | drivers/net/usb/aqc111.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/net/usb/aqc111.h b/drivers/net/usb/aqc111.h new file mode 100644 index 000000000000..f4302f7f0cc3 --- /dev/null +++ b/drivers/net/usb/aqc111.h @@ -0,0 +1,18 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later + * Aquantia Corp. Aquantia AQtion USB to 5GbE Controller + * Copyright (C) 2003-2005 David Hollis <dhollis@davehollis.com> + * Copyright (C) 2005 Phil Chang <pchang23@sbcglobal.net> + * Copyright (C) 2002-2003 TiVo Inc. + * Copyright (C) 2017-2018 ASIX + * Copyright (C) 2018 Aquantia Corp. + */ + +#ifndef __LINUX_USBNET_AQC111_H +#define __LINUX_USBNET_AQC111_H + +#define AQ_PHY_POWER 0x31 + +#define AQ_USB_PHY_SET_TIMEOUT 10000 +#define AQ_USB_SET_TIMEOUT 4000 + +#endif /* __LINUX_USBNET_AQC111_H */ |