/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2002 Intersil Americas Inc. */ #ifndef _ISLPCI_ETH_H #define _ISLPCI_ETH_H #include "isl_38xx.h" #include "islpci_dev.h" struct rfmon_header { __le16 unk0; /* = 0x0000 */ __le16 length; /* = 0x1400 */ __le32 clock; /* 1MHz clock */ u8 flags; u8 unk1; u8 rate; u8 unk2; __le16 freq; __le16 unk3; u8 rssi; u8 padding[3]; } __packed; struct rx_annex_header { u8 addr1[ETH_ALEN]; u8 addr2[ETH_ALEN]; struct rfmon_header rfmon; } __packed; /* wlan-ng (and hopefully others) AVS header, version one. Fields in * network byte order. */ #define P80211CAPTURE_VERSION 0x80211001 struct avs_80211_1_header { __be32 version; __be32 length; __be64 mactime; __be64 hosttime; __be32 phytype; __be32 channel; __be32 datarate; __be32 antenna; __be32 priority; __be32 ssi_type; __be32 ssi_signal; __be32 ssi_noise; __be32 preamble; __be32 encoding; }; void islpci_eth_cleanup_transmit(islpci_private *, isl38xx_control_block *); netdev_tx_t islpci_eth_transmit(struct sk_buff *, struct net_device *); int islpci_eth_receive(islpci_private *); void islpci_eth_tx_timeout(struct net_device *, unsigned int txqueue); void islpci_do_reset_and_wake(struct work_struct *); #endif /* _ISL_GEN_H */ summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2020-02-14 16:32:29 -0800
committerDavid S. Miller <davem@davemloft.net>2020-02-16 19:27:51 -0800
commit7458bd540fa0a90220b9e8c349d910d9dde9caf8 (patch)
treea6ac7a6281ab2234ca33f34655f9b1dd91cc59b0 /drivers/net/wireless/intel
parent33946518d493cdf10aedb4a483f1aa41948a3dab (diff)
net: dsa: bcm_sf2: Also configure Port 5 for 2Gb/sec on 7278
Either port 5 or port 8 can be used on a 7278 device, make sure that port 5 also gets configured properly for 2Gb/sec in that case. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/intel')