instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux kernel'inin 'drivers/net/ethernet/freescale/fman/fman_sp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later /* * Copyright 2008 - 2015 Freescale Semiconductor Inc. */ #include "fman_sp.h" #include "fman.h" void fman_sp_set_buf_pools_in_asc_order_of_buf_sizes(struct fman_ext_pools *fm_ext_pools, u8 *ordered_array, u16 *sizes...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/freescale/fman/fman' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later */ /* * Copyright 2008 - 2015 Freescale Semiconductor Inc. * Copyright 2020 NXP */ #ifndef __FM_H #define __FM_H #include <linux/io.h> #include <linux/interrupt.h> #include <linux/of_irq.h> /* FM Frame descriptor macros */ /* Frame queue Context O...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/freescale/fman/fman_sp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later */ /* * Copyright 2008 - 2015 Freescale Semiconductor Inc. */ #ifndef __FM_SP_H #define __FM_SP_H #include "fman.h" #include <linux/types.h> #define ILLEGAL_BASE (~0) /* defaults */ #define DFLT_FM_SP_BUFFER_PREFIX_CONTEXT_DATA_ALIGN 64 /* Regi...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/freescale/fman/fman_keygen' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later */ /* * Copyright 2017 NXP */ #ifndef __KEYGEN_H #define __KEYGEN_H #include <linux/io.h> struct fman_keygen; struct fman_kg_regs; struct fman_keygen *keygen_init(struct fman_kg_regs __iomem *keygen_regs); int keygen_port_hashing_init(struct fman_...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/freescale/fman/fman_dtsec' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later */ /* * Copyright 2008 - 2015 Freescale Semiconductor Inc. */ #ifndef __DTSEC_H #define __DTSEC_H #include "fman_mac.h" struct mac_device; int dtsec_initialization(struct mac_device *mac_dev, struct device_node *mac_node, struct fman_mac_pa...
Linux kernel'inin 'drivers/net/ethernet/freescale/fman/fman_dtsec' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later /* * Copyright 2008 - 2015 Freescale Semiconductor Inc. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include "fman_dtsec.h" #include "fman.h" #include "mac.h" #include <linux/slab.h> #include <linux/bitrev.h> #include <linux/io.h> #include <linux...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/freescale/fman/fman_port' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later */ /* * Copyright 2008 - 2015 Freescale Semiconductor Inc. */ #ifndef __FMAN_PORT_H #define __FMAN_PORT_H #include "fman.h" /* FM Port API * The FM uses a general module called "port" to represent a Tx port (MAC), * an Rx port (MAC). * The number...
Linux kernel'inin 'drivers/net/ethernet/freescale/fman/fman_memac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later /* * Copyright 2008 - 2015 Freescale Semiconductor Inc. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include "fman_memac.h" #include "fman.h" #include "mac.h" #include <linux/slab.h> #include <linux/io.h> #include <linux/pcs-lynx.h> #include <lin...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/freescale/fman/fman_mac' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * Copyright 2008-2015 Freescale Semiconductor Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of condit...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/freescale/fman/fman_memac' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later */ /* * Copyright 2008 - 2015 Freescale Semiconductor Inc. */ #ifndef __MEMAC_H #define __MEMAC_H #include "fman_mac.h" #include <linux/netdevice.h> #include <linux/phy_fixed.h> struct mac_device; int memac_initialization(struct mac_device *mac_de...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/freescale/fman/fman_muram' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later */ /* * Copyright 2008 - 2015 Freescale Semiconductor Inc. */ #ifndef __FM_MURAM_EXT #define __FM_MURAM_EXT #include <linux/types.h> #define FM_MURAM_INVALID_ALLOCATION -1 /* Structure for FM MURAM information */ struct muram_info; struct muram_in...
Linux kernel'inin 'drivers/net/ethernet/freescale/fman/mac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later /* * Copyright 2008 - 2015 Freescale Semiconductor Inc. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/init.h> #include <linux/module.h> #include <linux/of_address.h> #include <linux/of_platform.h> #include <linux/of_net.h> #include <...
Linux kernel'inin 'drivers/net/ethernet/freescale/fman/fman_muram' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later /* * Copyright 2008 - 2015 Freescale Semiconductor Inc. */ #include "fman_muram.h" #include <linux/io.h> #include <linux/slab.h> #include <linux/genalloc.h> struct muram_info { struct gen_pool *pool; void __iomem *vbase; phys_addr_t pbase; }; st...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/freescale/fman/fman_tgec' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later */ /* * Copyright 2008 - 2015 Freescale Semiconductor Inc. */ #ifndef __TGEC_H #define __TGEC_H #include "fman_mac.h" struct mac_device; int tgec_initialization(struct mac_device *mac_dev, struct device_node *mac_node, struct fman_mac_params ...
Linux kernel'inin 'drivers/net/ethernet/freescale/enetc/enetc_pf' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* Copyright 2017-2019 NXP */ #include <linux/unaligned.h> #include <linux/module.h> #include <linux/of.h> #include <linux/of_platform.h> #include <linux/of_net.h> #include <linux/pcs-lynx.h> #include "enetc_ierb.h" #include "enetc_pf_common.h" #define ENETC...
Linux kernel'inin 'drivers/net/ethernet/freescale/enetc/enetc4_debugfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* Copyright 2025 NXP */ #include <linux/device.h> #include <linux/debugfs.h> #include <linux/seq_file.h> #include <linux/string_choices.h> #include "enetc_pf.h" #include "enetc4_debugfs.h" static void enetc_show_si_mac_hash_filter(struct seq_file *s, int i) { struct enetc_...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/freescale/enetc/enetc_pf' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ /* Copyright 2017-2019 NXP */ #include "enetc.h" #include <linux/phylink.h> #define ENETC_PF_NUM_RINGS 8 #define ENETC_MAX_NUM_MAC_FLT ((ENETC_MAX_NUM_VFS + 1) * MADDR_TYPE) #define ENETC_VLAN_HT_SIZE 64 enum enetc_vf_flags { ENETC_VF_FLAG_PF_SET_MAC =...
Linux kernel'inin 'drivers/net/ethernet/freescale/enetc/ntmp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* * NETC NTMP (NETC Table Management Protocol) 2.0 Library * Copyright 2025 NXP */ #include <linux/dma-mapping.h> #include <linux/fsl/netc_global.h> #include <linux/iopoll.h> #include <linux/vmalloc.h> #include "ntmp_private.h" #define NETC_CBDR_TIMEOUT...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/freescale/enetc/enetc_hw' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ /* Copyright 2017-2019 NXP */ #include <linux/bitops.h> #define ENETC_MM_VERIFY_SLEEP_US USEC_PER_MSEC #define ENETC_MM_VERIFY_RETRIES 3 #define ENETC_NUM_TC 8 /* ENETC device IDs */ #define ENETC_DEV_ID_PF 0xe100 #define ENETC_DEV_ID_VF 0xef00 #de...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/freescale/enetc/enetc_pf_common' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ /* Copyright 2024 NXP */ #include "enetc_pf.h" int enetc_pf_set_mac_addr(struct net_device *ndev, void *addr); int enetc_setup_mac_addresses(struct device_node *np, struct enetc_pf *pf); void enetc_pf_netdev_setup(struct enetc_si *si, struct net_device *n...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/freescale/enetc/enetc4_debugfs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ /* Copyright 2025 NXP */ #ifndef __ENETC4_DEBUGFS_H #define __ENETC4_DEBUGFS_H #if IS_ENABLED(CONFIG_DEBUG_FS) void enetc_create_debugfs(struct enetc_si *si); void enetc_remove_debugfs(struct enetc_si *si); #else static inline void enetc_create_debugfs(st...
Linux kernel'inin 'drivers/net/ethernet/freescale/enetc/enetc_ierb' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* Copyright 2021 NXP * * The Integrated Endpoint Register Block (IERB) is configured by pre-boot * software and is supposed to be to ENETC what a NVRAM is to a 'real' PCIe * card. Upon FLR, values from the IERB are transferred to the ENETC PFs, and * are...
Linux kernel'inin 'drivers/net/ethernet/freescale/enetc/enetc_ethtool' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* Copyright 2017-2019 NXP */ #include <linux/ethtool_netlink.h> #include <linux/net_tstamp.h> #include <linux/module.h> #include <linux/of.h> #include <linux/ptp_clock_kernel.h> #include "enetc.h" static const u32 enetc_si_regs[] = { ENETC_SIMR, ENETC_SIP...
Linux kernel'inin 'drivers/net/ethernet/freescale/enetc/enetc_mdio' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* Copyright 2019 NXP */ #include <linux/fsl/enetc_mdio.h> #include <linux/mdio.h> #include <linux/of_mdio.h> #include <linux/iopoll.h> #include <linux/of.h> #include "enetc_pf.h" #define ENETC_MDIO_CFG 0x0 /* MDIO configuration and status */ #define ENETC_...
Linux kernel'inin 'drivers/net/ethernet/freescale/enetc/enetc_pci_mdio' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* Copyright 2019 NXP */ #include <linux/fsl/enetc_mdio.h> #include <linux/of_mdio.h> #include "enetc_pf.h" #define NETC_EMDIO_VEN_ID 0x1131 #define NETC_EMDIO_DEV_ID 0xee00 #define ENETC_MDIO_DEV_ID 0xee01 #define ENETC_MDIO_DEV_NAME "FSL PCIe IE Central MDI...
Linux kernel'inin 'drivers/net/ethernet/freescale/enetc/enetc_msg' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* Copyright 2017-2019 NXP */ #include "enetc_pf.h" static void enetc_msg_disable_mr_int(struct enetc_pf *pf) { struct enetc_hw *hw = &pf->si->hw; u32 psiier; psiier = enetc_rd(hw, ENETC_PSIIER) & ~ENETC_PSIMR_MASK(pf->num_vfs); /* disable MR int sourc...
Linux kernel'inin 'drivers/net/ethernet/freescale/enetc/netc_blk_ctrl' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* * NXP NETC Blocks Control Driver * * Copyright 2024 NXP * * This driver is used for pre-initialization of NETC, such as PCS and MII * protocols, LDID, warm reset, etc. Therefore, all NETC device drivers can * only be probed after the netc-blk-crtl dr...
Linux kernel'inin 'drivers/net/ethernet/freescale/enetc/enetc_pf_common' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* Copyright 2024 NXP */ #include <linux/fsl/enetc_mdio.h> #include <linux/of_mdio.h> #include <linux/of_net.h> #include "enetc_pf_common.h" static void enetc_set_si_hw_addr(struct enetc_pf *pf, int si, const u8 *mac_addr) { struct enetc_hw *hw = &pf-...
Linux kernel'inin 'drivers/net/ethernet/freescale/enetc/enetc_qos' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* Copyright 2019 NXP */ #include "enetc.h" #include <net/pkt_sched.h> #include <linux/math64.h> #include <linux/refcount.h> #include <net/pkt_cls.h> #include <net/tc_act/tc_gate.h> static u16 enetc_get_max_gcl_len(struct enetc_hw *hw) { return enetc_rd(hw...
Linux kernel'inin 'drivers/net/ethernet/freescale/enetc/enetc_cbdr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* Copyright 2017-2019 NXP */ #include "enetc.h" int enetc_setup_cbdr(struct device *dev, struct enetc_hw *hw, int bd_count, struct enetc_cbdr *cbdr) { int size = bd_count * sizeof(struct enetc_cbd); cbdr->bd_base = dma_alloc_coherent(dev, size, &c...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/freescale/enetc/enetc_ierb' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ /* Copyright 2021 NXP */ #include <linux/pci.h> #include <linux/platform_device.h> #if IS_ENABLED(CONFIG_FSL_ENETC_IERB) int enetc_ierb_register_pf(struct platform_device *pdev, struct pci_dev *pf_pdev); #else static inline int enetc_ierb_registe...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/freescale/enetc/enetc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ /* Copyright 2017-2019 NXP */ #include <linux/timer.h> #include <linux/pci.h> #include <linux/netdevice.h> #include <linux/etherdevice.h> #include <linux/dma-mapping.h> #include <linux/skbuff.h> #include <linux/ethtool.h> #include <linux/fsl/ntmp.h> #inclu...
Linux kernel'inin 'drivers/net/ethernet/freescale/enetc/enetc4_pf' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* Copyright 2024 NXP */ #include <linux/clk.h> #include <linux/module.h> #include <linux/of_net.h> #include <linux/of_platform.h> #include <linux/unaligned.h> #include "enetc_pf_common.h" #include "enetc4_debugfs.h" #define ENETC_SI_MAX_RING_NUM 8 #define...
Linux kernel'inin 'drivers/net/ethernet/freescale/enetc/enetc_vf' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* Copyright 2017-2019 NXP */ #include <linux/module.h> #include "enetc.h" #define ENETC_DRV_NAME_STR "ENETC VF driver" /* Messaging */ static void enetc_msg_vsi_write_msg(struct enetc_hw *hw, struct enetc_msg_swbd *msg) { u32 val; val = enetc_vs...
Linux kernel'inin 'drivers/net/ethernet/freescale/enetc/enetc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* Copyright 2017-2019 NXP */ #include "enetc.h" #include <linux/bpf_trace.h> #include <linux/clk.h> #include <linux/tcp.h> #include <linux/udp.h> #include <linux/vmalloc.h> #include <linux/ptp_classify.h> #include <net/ip6_checksum.h> #include <net/pkt_sched...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/freescale/enetc/enetc4_hw' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ /* * This header file defines the register offsets and bit fields * of ENETC4 PF and VFs. Note that the same registers as ENETC * version 1.0 are defined in the enetc_hw.h file. * * Copyright 2024 NXP */ #ifndef __ENETC4_HW_H_ #define __ENETC4_HW_H_ ...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/freescale/enetc/ntmp_private' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ /* * NTMP table request and response data buffer formats * Copyright 2025 NXP */ #ifndef __NTMP_PRIVATE_H #define __NTMP_PRIVATE_H #include <linux/bitfield.h> #include <linux/fsl/ntmp.h> #define NTMP_EID_REQ_LEN 8 #define NETC_CBDR_BD_NUM 256 #define ...
Linux kernel'inin 'drivers/net/ethernet/freescale/enetc/enetc_ptp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* Copyright 2019 NXP */ #include <linux/module.h> #include <linux/of.h> #include <linux/fsl/ptp_qoriq.h> #include "enetc.h" static struct ptp_clock_info enetc_ptp_caps = { .owner = THIS_MODULE, .name = "ENETC PTP clock", .max_adj = 512000, .n_alarm =...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/freescale/fs_enet/fs_enet' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef FS_ENET_H #define FS_ENET_H #include <linux/clk.h> #include <linux/netdevice.h> #include <linux/types.h> #include <linux/list.h> #include <linux/phy.h> #include <linux/phylink.h> #include <linux/dma-mapping.h> #ifdef CONFIG_CPM1 #include <asm/cpm1.h> #endif #if def...
Linux kernel'inin 'drivers/net/ethernet/freescale/fs_enet/mii-bitbang' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Combined Ethernet driver for Motorola MPC8xx and MPC82xx. * * Copyright (c) 2003 Intracom S.A. * by Pantelis Antoniou <panto@intracom.gr> * * 2005 (c) MontaVista Software, Inc. * Vitaly Bordug <vbordug@ru.mvista.com> */ #include <linux/module.h> #include <lin...
Linux kernel'inin 'drivers/net/ethernet/freescale/fs_enet/mac-fec' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Freescale Ethernet controllers * * Copyright (c) 2005 Intracom S.A. * by Pantelis Antoniou <panto@intracom.gr> * * 2005 (c) MontaVista Software, Inc. * Vitaly Bordug <vbordug@ru.mvista.com> */ #include <linux/module.h> #include <linux/kernel.h> #include <linu...
Linux kernel'inin 'drivers/net/ethernet/freescale/fs_enet/fs_enet-main' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Combined Ethernet driver for Motorola MPC8xx and MPC82xx. * * Copyright (c) 2003 Intracom S.A. * by Pantelis Antoniou <panto@intracom.gr> * * 2005 (c) MontaVista Software, Inc. * Vitaly Bordug <vbordug@ru.mvista.com> * * Heavily based on original FEC driver b...
Linux kernel'inin 'drivers/net/ethernet/freescale/fs_enet/mii-fec' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Combined Ethernet driver for Motorola MPC8xx and MPC82xx. * * Copyright (c) 2003 Intracom S.A. * by Pantelis Antoniou <panto@intracom.gr> * * 2005 (c) MontaVista Software, Inc. * Vitaly Bordug <vbordug@ru.mvista.com> */ #include <linux/module.h> #include <lin...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/freescale/fs_enet/fec' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef FS_ENET_FEC_H #define FS_ENET_FEC_H #define FEC_MAX_MULTICAST_ADDRS 64 /* Interrupt events/masks. */ #define FEC_ENET_HBERR 0x80000000U /* Heartbeat error */ #define FEC_ENET_BABR 0x40000000U /* Babbling receiver */ #define FEC_ENET_BABT 0x20000000U ...
Linux kernel'inin 'drivers/net/ethernet/freescale/fs_enet/mac-scc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Ethernet on Serial Communications Controller (SCC) driver for Motorola MPC8xx and MPC82xx. * * Copyright (c) 2003 Intracom S.A. * by Pantelis Antoniou <panto@intracom.gr> * * 2005 (c) MontaVista Software, Inc. * Vitaly Bordug <vbordug@ru.mvista.com> */ #inclu...
Linux kernel'inin 'drivers/net/ethernet/freescale/fs_enet/mac-fcc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * FCC driver for Motorola MPC82xx (PQ2). * * Copyright (c) 2003 Intracom S.A. * by Pantelis Antoniou <panto@intracom.gr> * * 2005 (c) MontaVista Software, Inc. * Vitaly Bordug <vbordug@ru.mvista.com> */ #include <linux/module.h> #include <linux/kernel.h> #inclu...
Linux kernel'inin 'drivers/net/ethernet/qualcomm/qca_uart' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause /* * Copyright (c) 2011, 2012, Qualcomm Atheros Communications Inc. * Copyright (c) 2017, I2SE GmbH */ /* This module implements the Qualcomm Atheros UART protocol for * kernel-based UART device; it is essentially an Ethernet-to-UART * serial conv...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/qualcomm/qca_7k_common' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */ /* * Copyright (c) 2011, 2012, Atheros Communications Inc. * Copyright (c) 2014, I2SE GmbH */ /* Atheros Ethernet framing. Every Ethernet frame is surrounded by an atheros * frame while transmitted over a serial channel. */ #ifndef _QCA_FRAMING_...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/qualcomm/qca_debug' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */ /* * Copyright (c) 2011, 2012, Qualcomm Atheros Communications Inc. * Copyright (c) 2014, I2SE GmbH */ /* This file contains debugging routines for use in the QCA7K driver. */ #ifndef _QCA_DEBUG_H #define _QCA_DEBUG_H #include "qca_spi.h" void qc...
Linux kernel'inin 'drivers/net/ethernet/qualcomm/qca_7k_common' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause /* * Copyright (c) 2011, 2012, Atheros Communications Inc. * Copyright (c) 2014, I2SE GmbH */ /* Atheros ethernet framing. Every Ethernet frame is surrounded * by an atheros frame while transmitted over a serial channel; */ #include <linux/init.h> ...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/qualcomm/qca_spi' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */ /* * Copyright (c) 2011, 2012, Qualcomm Atheros Communications Inc. * Copyright (c) 2014, I2SE GmbH */ /* Qualcomm Atheros SPI register definition. * * This module is designed to define the Qualcomm Atheros SPI register * placeholders; */ #i...
Linux kernel'inin 'drivers/net/ethernet/qualcomm/qca_7k' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause /* * Copyright (c) 2011, 2012, Qualcomm Atheros Communications Inc. * Copyright (c) 2014, I2SE GmbH */ /* This module implements the Qualcomm Atheros SPI protocol for * kernel-based SPI device. */ #include <linux/kernel.h> #include <linux/netdevice...
Linux kernel'inin 'drivers/net/ethernet/qualcomm/qca_debug' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause /* * Copyright (c) 2011, 2012, Qualcomm Atheros Communications Inc. * Copyright (c) 2014, I2SE GmbH */ /* This file contains debugging routines for use in the QCA7K driver. */ #include <linux/debugfs.h> #include <linux/ethtool.h> #include <linux/seq_f...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/qualcomm/qca_7k' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */ /* * Copyright (c) 2011, 2012, Qualcomm Atheros Communications Inc. * Copyright (c) 2014, I2SE GmbH */ /* Qualcomm Atheros SPI register definition. * * This module is designed to define the Qualcomm Atheros SPI * register placeholders. */ #i...
Linux kernel'inin 'drivers/net/ethernet/qualcomm/qca_spi' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause /* * Copyright (c) 2011, 2012, Qualcomm Atheros Communications Inc. * Copyright (c) 2014, I2SE GmbH */ /* This module implements the Qualcomm Atheros SPI protocol for * kernel-based SPI device; it is essentially an Ethernet-to-SPI * serial convert...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/qualcomm/ppe/ppe_regs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only * * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. */ /* PPE hardware register and table declarations. */ #ifndef __PPE_REGS_H__ #define __PPE_REGS_H__ #include <linux/bitfield.h> /* PPE scheduler configurations for buffer manager block. */ #define...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/qualcomm/ppe/ppe_config' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only * * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. */ #ifndef __PPE_CONFIG_H__ #define __PPE_CONFIG_H__ #include <linux/types.h> #include "ppe.h" /* There are different table index ranges for configuring queue base ID of * the destination port, C...
Linux kernel'inin 'drivers/net/ethernet/qualcomm/ppe/ppe' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. */ /* PPE platform device probe, DTSI parser and PPE clock initializations. */ #include <linux/clk.h> #include <linux/interconnect.h> #include <linux/kernel.h> #include <linux/module.h> #include <li...
Linux kernel'inin 'drivers/net/ethernet/qualcomm/ppe/ppe_config' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. */ /* PPE HW initialization configs such as BM(buffer management), * QM(queue management) and scheduler configs. */ #include <linux/bitfield.h> #include <linux/bitmap.h> #include <linux/bits.h> #i...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/qualcomm/ppe/ppe_debugfs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only * * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. */ /* PPE debugfs counters setup. */ #ifndef __PPE_DEBUGFS_H__ #define __PPE_DEBUGFS_H__ #include "ppe.h" void ppe_debugfs_setup(struct ppe_device *ppe_dev); void ppe_debugfs_teardown(struct ppe_d...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/qualcomm/ppe/ppe' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only * * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. */ #ifndef __PPE_H__ #define __PPE_H__ #include <linux/compiler.h> #include <linux/interconnect.h> struct device; struct regmap; struct dentry; /** * struct ppe_device - PPE device private data. ...
Linux kernel'inin 'drivers/net/ethernet/qualcomm/ppe/ppe_debugfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. */ /* PPE debugfs routines for display of PPE counters useful for debug. */ #include <linux/bitfield.h> #include <linux/debugfs.h> #include <linux/dev_printk.h> #include <linux/device.h> #include <l...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/qualcomm/rmnet/rmnet_config' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright (c) 2013-2014, 2016-2018, 2021 The Linux Foundation. * All rights reserved. * * RMNET Data configuration engine */ #include <linux/skbuff.h> #include <linux/time.h> #include <net/gro_cells.h> #ifndef _RMNET_CONFIG_H_ #define _RMNET_CONFIG_H_ #define R...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright (c) 2013-2017, The Linux Foundation. All rights reserved. * * RMNET Data Virtual Network Device APIs */ #ifndef _RMNET_VND_H_ #define _RMNET_VND_H_ int rmnet_vnd_do_flow_control(struct net_device *dev, int enable); int rmnet_vnd_newlink(u8 id, struct ne...
Linux kernel'inin 'drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2013-2018, 2021, The Linux Foundation. All rights reserved. * * RMNET Data ingress/egress handler */ #include <linux/netdevice.h> #include <linux/netdev_features.h> #include <linux/if_arp.h> #include <net/sock.h> #include "rmnet_private.h" #include "rmn...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/qualcomm/rmnet/rmnet_private' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright (c) 2013-2014, 2016-2018 The Linux Foundation. All rights reserved. */ #ifndef _RMNET_PRIVATE_H_ #define _RMNET_PRIVATE_H_ #define RMNET_MAX_PACKET_SIZE 16384 #define RMNET_DFLT_PACKET_SIZE 1500 #define RMNET_NEEDED_HEADROOM 16 #define RMNET...
Linux kernel'inin 'drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2013-2018, The Linux Foundation. All rights reserved. */ #include <linux/netdevice.h> #include "rmnet_config.h" #include "rmnet_map.h" #include "rmnet_private.h" #include "rmnet_vnd.h" static u8 rmnet_map_do_flow_control(struct sk_buff *skb, stru...
Linux kernel'inin 'drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2013-2018, 2021, The Linux Foundation. All rights reserved. * * RMNET Data MAP protocol */ #include <linux/netdevice.h> #include <linux/ip.h> #include <linux/ipv6.h> #include <net/ip6_checksum.h> #include <linux/bitfield.h> #include "rmnet_config.h" #in...
Linux kernel'inin 'drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2013-2018, The Linux Foundation. All rights reserved. * * RMNET Data virtual network driver */ #include <linux/etherdevice.h> #include <linux/ethtool.h> #include <linux/if_arp.h> #include <net/pkt_sched.h> #include "rmnet_config.h" #include "rmnet_handl...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright (c) 2013, 2016-2017 The Linux Foundation. All rights reserved. * * RMNET Data ingress/egress handler */ #ifndef _RMNET_HANDLERS_H_ #define _RMNET_HANDLERS_H_ #include "rmnet_config.h" void rmnet_egress_handler(struct sk_buff *skb); rx_handler_result_t...
Linux kernel'inin 'drivers/net/ethernet/qualcomm/rmnet/rmnet_config' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2013-2018, The Linux Foundation. All rights reserved. * * RMNET configuration engine */ #include <net/sock.h> #include <linux/module.h> #include <linux/netlink.h> #include <linux/netdevice.h> #include "rmnet_config.h" #include "rmnet_handlers.h" #includ...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/qualcomm/rmnet/rmnet_map' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright (c) 2013-2018, 2021, The Linux Foundation. All rights reserved. */ #ifndef _RMNET_MAP_H_ #define _RMNET_MAP_H_ #include <linux/if_rmnet.h> struct rmnet_map_control_command { u8 command_name; u8 cmd_type:2; u8 reserved:6; u16 reserved2; u32 transac...
Linux kernel'inin 'drivers/net/ethernet/qualcomm/emac/emac-ethtool' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2016, The Linux Foundation. All rights reserved. */ #include <linux/ethtool.h> #include <linux/phy.h> #include "emac.h" static const char * const emac_ethtool_stat_strings[] = { "rx_ok", "rx_bcast", "rx_mcast", "rx_pause", "rx_ctrl", "rx_fcs_err",...
Linux kernel'inin 'drivers/net/ethernet/qualcomm/emac/emac-sgmii' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. */ /* Qualcomm Technologies, Inc. EMAC SGMII Controller driver. */ #include <linux/interrupt.h> #include <linux/iopoll.h> #include <linux/acpi.h> #include <linux/of.h> #include <linux/of_device.h> #i...
Linux kernel'inin 'drivers/net/ethernet/qualcomm/emac/emac-sgmii-fsm9900' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. */ /* Qualcomm Technologies, Inc. FSM9900 EMAC SGMII Controller driver. */ #include <linux/iopoll.h> #include "emac.h" /* EMAC_QSERDES register offsets */ #define EMAC_QSERDES_COM_SYS_CLK_CTRL 0x00...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/qualcomm/emac/emac-mac' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. */ /* EMAC DMA HW engine uses three rings: * Tx: * TPD: Transmit Packet Descriptor ring. * Rx: * RFD: Receive Free Descriptor ring. * Ring of descriptors with empty buffers to be filled...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/qualcomm/emac/emac-phy' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. */ #ifndef _EMAC_PHY_H_ #define _EMAC_PHY_H_ struct emac_adapter; int emac_phy_config(struct platform_device *pdev, struct emac_adapter *adpt); #endif /* _EMAC_PHY_H_ */ ```
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/qualcomm/emac/emac-sgmii' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. */ #ifndef _EMAC_SGMII_H_ #define _EMAC_SGMII_H_ struct emac_adapter; struct platform_device; /** emac_sgmii - internal emac phy * @init initialization function * @open called when the driver is...
Linux kernel'inin 'drivers/net/ethernet/qualcomm/emac/emac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. */ /* Qualcomm Technologies, Inc. EMAC Gigabit Ethernet Driver */ #include <linux/if_ether.h> #include <linux/if_vlan.h> #include <linux/interrupt.h> #include <linux/io.h> #include <linux/module.h> #i...
Linux kernel'inin 'drivers/net/ethernet/qualcomm/emac/emac-phy' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. */ /* Qualcomm Technologies, Inc. EMAC PHY Controller driver. */ #include <linux/of_mdio.h> #include <linux/phy.h> #include <linux/iopoll.h> #include <linux/acpi.h> #include "emac.h" /* EMAC base re...
Linux kernel'inin 'drivers/net/ethernet/qualcomm/emac/emac-mac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. */ /* Qualcomm Technologies, Inc. EMAC Ethernet Controller MAC layer support */ #include <linux/tcp.h> #include <linux/ip.h> #include <linux/ipv6.h> #include <linux/crc32.h> #include <linux/if_vlan.h...
Linux kernel'inin 'drivers/net/ethernet/qualcomm/emac/emac-sgmii-qdf2400' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. */ /* Qualcomm Technologies, Inc. QDF2400 EMAC SGMII Controller driver. */ #include <linux/iopoll.h> #include "emac.h" /* EMAC_SGMII register offsets */ #define EMAC_SGMII_PHY_TX_PWR_CTRL 0x000C #d...
Linux kernel'inin 'drivers/net/ethernet/qualcomm/emac/emac-sgmii-qdf2432' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. */ /* Qualcomm Technologies, Inc. QDF2432 EMAC SGMII Controller driver. */ #include <linux/iopoll.h> #include "emac.h" /* EMAC_SGMII register offsets */ #define EMAC_SGMII_PHY_TX_PWR_CTRL 0x000C #d...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/qualcomm/emac/emac' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. */ #ifndef _EMAC_H_ #define _EMAC_H_ #include <linux/irqreturn.h> #include <linux/netdevice.h> #include <linux/clk.h> #include <linux/platform_device.h> #include "emac-mac.h" #include "emac-phy.h" ...
Linux kernel'inin 'drivers/net/ethernet/sun/cassini' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* cassini.c: Sun Microsystems Cassini(+) ethernet driver. * * Copyright (C) 2004 Sun Microsystems Inc. * Copyright (C) 2003 Adrian Sun (asun@darksunrising.com) * * This driver uses the sungem driver (c) David Miller * (davem@redhat.com) as its basis. * * The cassini ch...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/sun/sunqe' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* $Id: sunqe.h,v 1.13 2000/02/09 11:15:42 davem Exp $ * sunqe.h: Definitions for the Sun QuadEthernet driver. * * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu) */ #ifndef _SUNQE_H #define _SUNQE_H /* QEC global registers. */ #define GLOB_CTRL 0x00UL /* C...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/sun/cassini' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ */ /* $Id: cassini.h,v 1.16 2004/08/17 21:15:16 zaumen Exp $ * cassini.h: Definitions for Sun Microsystems Cassini(+) ethernet driver. * * Copyright (C) 2004 Sun Microsystems Inc. * Copyright (c) 2003 Adrian Sun (asun@darksunrising.com) * * vendor id: 0x108E (Sun Microsys...
Linux kernel'inin 'drivers/net/ethernet/sun/sunbmac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* sunbmac.c: Driver for Sparc BigMAC 100baseT ethernet adapters. * * Copyright (C) 1997, 1998, 1999, 2003, 2008 David S. Miller (davem@davemloft.net) */ #include <linux/module.h> #include <linux/pgtable.h> #include <linux/kernel.h> #include <linux/types.h> #include <linux/...
Linux kernel'inin 'drivers/net/ethernet/sun/niu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* niu.c: Neptune ethernet driver. * * Copyright (C) 2007, 2008 David S. Miller (davem@davemloft.net) */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/module.h> #include <linux/init.h> #include <linux/interrupt.h> #include <linux/pci.h> #include <linux/dma-map...
Linux kernel'inin 'drivers/net/ethernet/sun/sunvnet_common' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* sunvnet.c: Sun LDOM Virtual Network Driver. * * Copyright (C) 2007, 2008 David S. Miller <davem@davemloft.net> * Copyright (C) 2016-2017 Oracle. All rights reserved. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/types.h> #include <linux/slab.h> #...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/sun/sunhme' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* $Id: sunhme.h,v 1.33 2001/08/03 06:23:04 davem Exp $ * sunhme.h: Definitions for Sparc HME/BigMac 10/100baseT ethernet driver. * Also known as the "Happy Meal". * * Copyright (C) 1996, 1999 David S. Miller (davem@redhat.com) */ #ifndef _SUNHME_H #define _SU...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/sun/sungem' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* $Id: sungem.h,v 1.10.2.4 2002/03/11 08:54:48 davem Exp $ * sungem.h: Definitions for Sun GEM ethernet driver. * * Copyright (C) 2000 David S. Miller (davem@redhat.com) */ #ifndef _SUNGEM_H #define _SUNGEM_H /* Global Registers */ #define GREG_SEBSTATE 0x0000UL /* SEB...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/sun/niu' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* niu.h: Definitions for Neptune ethernet driver. * * Copyright (C) 2007 David S. Miller (davem@davemloft.net) */ #ifndef _NIU_H #define _NIU_H #define PIO 0x000000UL #define FZC_PIO 0x080000UL #define FZC_MAC 0x180000UL #define FZC_IPP 0x280000UL #define FFLP ...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/sun/sunvnet_common' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SUNVNETCOMMON_H #define _SUNVNETCOMMON_H #include <linux/interrupt.h> /* length of time (or less) we expect pending descriptors to be marked * as VIO_DESC_DONE and skbs ready to be freed */ #define VNET_CLEAN_TIMEOUT ((HZ / 100) + 1) #define VNET_MAXPACKET (6...
Linux kernel'inin 'drivers/net/ethernet/sun/sungem' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* $Id: sungem.c,v 1.44.2.22 2002/03/13 01:18:12 davem Exp $ * sungem.c: Sun GEM ethernet driver. * * Copyright (C) 2000, 2001, 2002, 2003 David S. Miller (davem@redhat.com) * * Support for Apple GMAC and assorted PHYs, WOL, Power Management * (C) 2001,2002,2003 Benjamin H...
Linux kernel'inin 'drivers/net/ethernet/sun/sunhme' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* sunhme.c: Sparc HME/BigMac 10/100baseT half/full duplex auto switching, * auto carrier detecting ethernet driver. Also known as the * "Happy Meal Ethernet" found on SunSwift SBUS cards. * * Copyright (C) 1996, 1998, 1999, 2002, 2003, * 2006, 2008 Da...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/sun/sunbmac' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* $Id: sunbmac.h,v 1.7 2000/07/11 22:35:22 davem Exp $ * sunbmac.h: Defines for the Sun "Big MAC" 100baseT ethernet cards. * * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu) */ #ifndef _SUNBMAC_H #define _SUNBMAC_H /* QEC global registers. */ #define GLOB_...
Linux kernel'inin 'drivers/net/ethernet/sun/ldmvsw' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* ldmvsw.c: Sun4v LDOM Virtual Switch Driver. * * Copyright (C) 2016-2017 Oracle. All rights reserved. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/delay.h> #include <linux/etherdevice.h> #include <linux/ethtool.h> #include <linux/highmem.h> #include <lin...
Linux kernel'inin 'drivers/net/ethernet/sun/sunqe' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* sunqe.c: Sparc QuadEthernet 10baseT SBUS card driver. * Once again I am out to prove that every ethernet * controller out there can be most efficiently programmed * if you make it look like a LANCE. * * Copyright (C) 1996, 1999, 2003, 2006, 200...
Linux kernel'inin 'drivers/net/ethernet/sun/sunvnet' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* sunvnet.c: Sun LDOM Virtual Network Driver. * * Copyright (C) 2007, 2008 David S. Miller <davem@davemloft.net> * Copyright (C) 2016-2017 Oracle. All rights reserved. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/module.h> #include <linux/kernel.h> #incl...