instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/chelsio/cxgb4vf/t4vf_defs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * This file is part of the Chelsio T4 PCI-E SR-IOV Virtual Function Ethernet * driver for Linux. * * Copyright (c) 2009-2010 Chelsio Communications, Inc. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of t...
Linux kernel'inin 'drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * This file is part of the Chelsio T4 PCI-E SR-IOV Virtual Function Ethernet * driver for Linux. * * Copyright (c) 2009-2010 Chelsio Communications, Inc. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of t...
Linux kernel'inin 'drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * This file is part of the Chelsio T4 PCI-E SR-IOV Virtual Function Ethernet * driver for Linux. * * Copyright (c) 2009-2010 Chelsio Communications, Inc. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of t...
Linux kernel'inin 'drivers/net/ethernet/chelsio/cxgb/espi' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /***************************************************************************** * * * File: espi.c * * $Revision: 1.14 $ ...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/chelsio/cxgb/elmer0' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /***************************************************************************** * * * File: elmer0.h * * $Revision: 1.6 $ ...
Linux kernel'inin 'drivers/net/ethernet/chelsio/cxgb/mv88x201x' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /***************************************************************************** * * * File: mv88x201x.c * * $Revision: 1.12 $ ...
Linux kernel'inin 'drivers/net/ethernet/chelsio/cxgb/cxgb2' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /***************************************************************************** * * * File: cxgb2.c * * $Revision: 1.25 $ *...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/chelsio/cxgb/suni1x10gexp_regs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /***************************************************************************** * * * File: suni1x10gexp_regs.h * * $Revision: 1.9 $ ...
Linux kernel'inin 'drivers/net/ethernet/chelsio/cxgb/vsc7326' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* $Date: 2006/04/28 19:20:06 $ $RCSfile: vsc7326.c,v $ $Revision: 1.19 $ */ /* Driver for Vitesse VSC7326 (Schaumburg) MAC */ #include "gmac.h" #include "elmer0.h" #include "vsc7326_reg.h" /* Update fast changing statistics every 15 seconds */ #define STATS_TICK_SECS 15 /* 3...
Linux kernel'inin 'drivers/net/ethernet/chelsio/cxgb/pm3393' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /***************************************************************************** * * * File: pm3393.c * * $Revision: 1.16 $ ...
Linux kernel'inin 'drivers/net/ethernet/chelsio/cxgb/sge' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /***************************************************************************** * * * File: sge.c * * $Revision: 1.26 $ ...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/chelsio/cxgb/cpl5_cmd' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /***************************************************************************** * * * File: cpl5_cmd.h * * $Revision: 1.6 $ ...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/chelsio/cxgb/fpga_defs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* $Date: 2005/03/07 23:59:05 $ $RCSfile: fpga_defs.h,v $ $Revision: 1.4 $ */ /* * FPGA specific definitions */ #ifndef __CHELSIO_FPGA_DEFS_H__ #define __CHELSIO_FPGA_DEFS_H__ #define FPGA_PCIX_ADDR_VERSION 0xA08 #define FPGA_PCIX_ADDR_STAT ...
Linux kernel'inin 'drivers/net/ethernet/chelsio/cxgb/my3126' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* $Date: 2005/11/12 02:13:49 $ $RCSfile: my3126.c,v $ $Revision: 1.15 $ */ #include "cphy.h" #include "elmer0.h" #include "suni1x10gexp_regs.h" /* Port Reset */ static int my3126_reset(struct cphy *cphy, int wait) { /* * This can be done through registers. It is not requir...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/chelsio/cxgb/gmac' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /***************************************************************************** * * * File: gmac.h * * $Revision: 1.6 $ ...
Linux kernel'inin 'drivers/net/ethernet/chelsio/cxgb/mv88e1xxx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* $Date: 2005/10/24 23:18:13 $ $RCSfile: mv88e1xxx.c,v $ $Revision: 1.49 $ */ #include "common.h" #include "mv88e1xxx.h" #include "cphy.h" #include "elmer0.h" /* MV88E1XXX MDI crossover register values */ #define CROSSOVER_MDI 0 #define CROSSOVER_MDIX 1 #define CROSSOVER_AU...
Linux kernel'inin 'drivers/net/ethernet/chelsio/cxgb/subr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /***************************************************************************** * * * File: subr.c * * $Revision: 1.27 $ ...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/chelsio/cxgb/mv88e1xxx' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* $Date: 2005/03/07 23:59:05 $ $RCSfile: mv88e1xxx.h,v $ $Revision: 1.13 $ */ #ifndef CHELSIO_MV8E1XXX_H #define CHELSIO_MV8E1XXX_H #ifndef BMCR_SPEED1000 # define BMCR_SPEED1000 0x40 #endif #ifndef ADVERTISE_PAUSE # define ADVERTISE_PAUSE 0x400 #endif #ifndef ADVERTISE_PA...
Linux kernel'inin 'drivers/net/ethernet/chelsio/cxgb/tp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* $Date: 2006/02/07 04:21:54 $ $RCSfile: tp.c,v $ $Revision: 1.73 $ */ #include "common.h" #include "regs.h" #include "tp.h" #ifdef CONFIG_CHELSIO_T1_1G #include "fpga_defs.h" #endif struct petp { adapter_t *adapter; }; /* Pause deadlock avoidance parameters */ #define DROP_...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/chelsio/cxgb/tp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* $Date: 2005/03/07 23:59:05 $ $RCSfile: tp.h,v $ $Revision: 1.20 $ */ #ifndef CHELSIO_TP_H #define CHELSIO_TP_H #include "common.h" #define TP_MAX_RX_COALESCING_SIZE 16224U struct tp_mib_statistics { /* IP */ u32 ipInReceive_hi; u32 ipInReceive_lo; u32 ipInHdrErrors...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/chelsio/cxgb/espi' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /***************************************************************************** * * * File: espi.h * * $Revision: 1.7 $ ...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/chelsio/cxgb/regs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /***************************************************************************** * * * File: regs.h * * $Revision: 1.8 $ ...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/chelsio/cxgb/vsc7326_reg' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* $Date: 2006/04/28 19:20:17 $ $RCSfile: vsc7326_reg.h,v $ $Revision: 1.5 $ */ #ifndef _VSC7321_REG_H_ #define _VSC7321_REG_H_ /* Register definitions for Vitesse VSC7321 (Meigs II) MAC * * Straight off the data sheet, VMDS-10038 Rev 2.0 and * PD0011-01-14-Meigs-II 2002-...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/chelsio/cxgb/cphy' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /***************************************************************************** * * * File: cphy.h * * $Revision: 1.7 $ ...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/chelsio/cxgb/sge' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /***************************************************************************** * * * File: sge.h * * $Revision: 1.11 $ ...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/chelsio/cxgb/common' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /***************************************************************************** * * * File: common.h * * $Revision: 1.21 $ ...
Linux kernel'inin 'drivers/net/ethernet/actions/owl-emac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Actions Semi Owl SoCs Ethernet MAC driver * * Copyright (c) 2012 Actions Semi Inc. * Copyright (c) 2021 Cristian Ciocaltea <cristian.ciocaltea@gmail.com> */ #include <linux/circ_buf.h> #include <linux/clk.h> #include <linux/dma-mapping.h> #include <linux/ethe...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/actions/owl-emac' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Actions Semi Owl SoCs Ethernet MAC driver * * Copyright (c) 2012 Actions Semi Inc. * Copyright (c) 2021 Cristian Ciocaltea <cristian.ciocaltea@gmail.com> */ #ifndef __OWL_EMAC_H__ #define __OWL_EMAC_H__ #define OWL_EMAC_DRVNAME "owl-emac" #define OWL_E...
Linux kernel'inin 'drivers/net/ethernet/calxeda/xgmac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2010-2011 Calxeda, Inc. */ #include <linux/module.h> #include <linux/mod_devicetable.h> #include <linux/kernel.h> #include <linux/circ_buf.h> #include <linux/interrupt.h> #include <linux/etherdevice.h> #include <linux/platform_device.h> #include <linux/skbu...
Linux kernel'inin 'drivers/net/ethernet/renesas/rswitch_l2' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Renesas Ethernet Switch device driver * * Copyright (C) 2025 - 2026 Renesas Electronics Corporation */ #include <linux/err.h> #include <linux/etherdevice.h> #include <linux/if_bridge.h> #include <linux/kernel.h> #include <net/switchdev.h> #include "rswitch.h" #include "r...
Linux kernel'inin 'drivers/net/ethernet/renesas/ravb_main' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Renesas Ethernet AVB device driver * * Copyright (C) 2014-2019 Renesas Electronics Corporation * Copyright (C) 2015 Renesas Solutions Corp. * Copyright (C) 2015-2016 Cogent Embedded, Inc. <source@cogentembedded.com> * * Based on the SuperH Ethernet driver */ #include ...
Linux kernel'inin 'drivers/net/ethernet/renesas/rcar_gen4_ptp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Renesas R-Car Gen4 gPTP device driver * * Copyright (C) 2022 Renesas Electronics Corporation */ #include <linux/err.h> #include <linux/etherdevice.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/platform_device.h> #include <linux/ptp_clock_kernel.h>...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/renesas/ravb' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Renesas Ethernet AVB device driver * * Copyright (C) 2014-2015 Renesas Electronics Corporation * Copyright (C) 2015 Renesas Solutions Corp. * Copyright (C) 2015-2016 Cogent Embedded, Inc. <source@cogentembedded.com> * * Based on the SuperH Ethernet driver */ #ifnde...
Linux kernel'inin 'drivers/net/ethernet/renesas/rtsn' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Renesas Ethernet-TSN device driver * * Copyright (C) 2022 Renesas Electronics Corporation * Copyright (C) 2023 Niklas Söderlund <niklas.soderlund@ragnatech.se> */ #include <linux/clk.h> #include <linux/dma-mapping.h> #include <linux/etherdevice.h> #include <linux/ethtoo...
Linux kernel'inin 'drivers/net/ethernet/renesas/sh_eth' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* SuperH Ethernet device driver * * Copyright (C) 2014 Renesas Electronics Corporation * Copyright (C) 2006-2012 Nobuhiro Iwamatsu * Copyright (C) 2008-2014 Renesas Solutions Corp. * Copyright (C) 2013-2017 Cogent Embedded, Inc. * Copyright (C) 2014 Codethink Limite...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/renesas/sh_eth' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* SuperH Ethernet device driver * * Copyright (C) 2006-2012 Nobuhiro Iwamatsu * Copyright (C) 2008-2012 Renesas Solutions Corp. */ #ifndef __SH_ETH_H__ #define __SH_ETH_H__ #define CARDNAME "sh-eth" #define TX_TIMEOUT (5*HZ) #define TX_RING_SIZE 64 /* Tx ring size *...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/renesas/rswitch_l2' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Renesas Ethernet Switch device driver * * Copyright (C) 2025 Renesas Electronics Corporation */ #ifndef __RSWITCH_L2_H__ #define __RSWITCH_L2_H__ void rswitch_update_l2_offload(struct rswitch_private *priv); int rswitch_register_notifiers(void); void rswitch_unregist...
Linux kernel'inin 'drivers/net/ethernet/renesas/rswitch_main' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Renesas Ethernet Switch device driver * * Copyright (C) 2022-2025 Renesas Electronics Corporation */ #include <linux/clk.h> #include <linux/dma-mapping.h> #include <linux/err.h> #include <linux/etherdevice.h> #include <linux/ethtool.h> #include <linux/ip.h> #include <linu...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/renesas/rswitch' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Renesas Ethernet Switch device driver * * Copyright (C) 2022-2025 Renesas Electronics Corporation */ #ifndef __RSWITCH_H__ #define __RSWITCH_H__ #include <linux/platform_device.h> #include <linux/phy.h> #include "rcar_gen4_ptp.h" #define RSWITCH_MAX_NUM_QUEUES 128 ...
Linux kernel'inin 'drivers/net/ethernet/renesas/ravb_ptp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* PTP 1588 clock using the Renesas Ethernet AVB * * Copyright (C) 2013-2015 Renesas Electronics Corporation * Copyright (C) 2015 Renesas Solutions Corp. * Copyright (C) 2015-2016 Cogent Embedded, Inc. <source@cogentembedded.com> */ #include "ravb.h" static int ravb_ptp_...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/renesas/rtsn' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Renesas Ethernet-TSN device driver * * Copyright (C) 2022 Renesas Electronics Corporation * Copyright (C) 2023 Niklas Söderlund <niklas.soderlund@ragnatech.se> */ #ifndef __RTSN_H__ #define __RTSN_H__ #include <linux/types.h> #define AXIBMI 0x0000 #define TSNMHD 0x...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/renesas/rcar_gen4_ptp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Renesas R-Car Gen4 gPTP device driver * * Copyright (C) 2022 Renesas Electronics Corporation */ #ifndef __RCAR_GEN4_PTP_H__ #define __RCAR_GEN4_PTP_H__ struct rcar_gen4_ptp_private; int rcar_gen4_ptp_register(struct rcar_gen4_ptp_private *ptp_priv, u32 rate); int rca...
Linux kernel'inin 'drivers/net/ethernet/3com/typhoon' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* typhoon.c: A Linux Ethernet device driver for 3Com 3CR990 family of NICs */ /* Written 2002-2004 by David Dillow <dave@thedillows.org> Based on code written 1998-2000 by Donald Becker <becker@scyld.com> and Linux 2.2.x driver by David P. McLean <davidpmclean@yahoo.com>. This software may be used and distri...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/3com/typhoon' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* typhoon.h: chip info for the 3Com 3CR990 family of controllers */ /* Written 2002-2003 by David Dillow <dave@thedillows.org> This software may be used and distributed according to the terms of the GNU General Public License (GPL), incorporated herein by reference. Drivers based on or derived from this code...
Linux kernel'inin 'drivers/net/ethernet/3com/3c509' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* 3c509.c: A 3c509 EtherLink3 ethernet driver for linux. */ /* * Written 1993-2000 by Donald Becker. * * Copyright 1994-2000 by Donald Becker. * Copyright 1993 United States Government as represented by the * Director, National Security Agency. This software may be used a...
Linux kernel'inin 'drivers/net/ethernet/3com/3c59x' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* EtherLinkXL.c: A 3Com EtherLink PCI III/XL ethernet driver for linux. */ /* Written 1996-1999 by Donald Becker. This software may be used and distributed according to the terms of the GNU General Public License, incorporated herein by reference. This driver is for the 3Com "Vortex" and "Boomerang" series ...
Linux kernel'inin 'drivers/net/ethernet/samsung/sxgbe/sxgbe_platform' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* 10G controller driver for Samsung SoCs * * Copyright (C) 2013 Samsung Electronics Co., Ltd. * http://www.samsung.com * * Author: Siva Reddy Kallam <siva.kallam@samsung.com> */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/etherdevice.h> #include <l...
Linux kernel'inin 'drivers/net/ethernet/samsung/sxgbe/sxgbe_main' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* 10G controller driver for Samsung SoCs * * Copyright (C) 2013 Samsung Electronics Co., Ltd. * http://www.samsung.com * * Author: Siva Reddy Kallam <siva.kallam@samsung.com> */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/clk.h> #include <linux/crc...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/samsung/sxgbe/sxgbe_dma' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* 10G controller driver for Samsung SoCs * * Copyright (C) 2013 Samsung Electronics Co., Ltd. * http://www.samsung.com * * Author: Siva Reddy Kallam <siva.kallam@samsung.com> */ #ifndef __SXGBE_DMA_H__ #define __SXGBE_DMA_H__ /* forward declaration */ struct sxg...
Linux kernel'inin 'drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* 10G controller driver for Samsung SoCs * * Copyright (C) 2013 Samsung Electronics Co., Ltd. * http://www.samsung.com * * Author: Siva Reddy Kallam <siva.kallam@samsung.com> */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/io.h> #include <linux/errn...
Linux kernel'inin 'drivers/net/ethernet/samsung/sxgbe/sxgbe_desc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* 10G controller driver for Samsung SoCs * * Copyright (C) 2013 Samsung Electronics Co., Ltd. * http://www.samsung.com * * Author: Siva Reddy Kallam <siva.kallam@samsung.com> */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/bitops.h> #include <linux/...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* 10G controller driver for Samsung SoCs * * Copyright (C) 2013 Samsung Electronics Co., Ltd. * http://www.samsung.com * * Author: Siva Reddy Kallam <siva.kallam@samsung.com> */ #ifndef __SXGBE_MTL_H__ #define __SXGBE_MTL_H__ #define SXGBE_MTL_OPMODE_ESTMASK 0x3...
Linux kernel'inin 'drivers/net/ethernet/samsung/sxgbe/sxgbe_dma' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* 10G controller driver for Samsung SoCs * * Copyright (C) 2013 Samsung Electronics Co., Ltd. * http://www.samsung.com * * Author: Siva Reddy Kallam <siva.kallam@samsung.com> */ #include <linux/delay.h> #include <linux/export.h> #include <linux/io.h> #include <linux...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/samsung/sxgbe/sxgbe_reg' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* 10G controller driver for Samsung SoCs * * Copyright (C) 2013 Samsung Electronics Co., Ltd. * http://www.samsung.com * * Author: Siva Reddy Kallam <siva.kallam@samsung.com> */ #ifndef __SXGBE_REGMAP_H__ #define __SXGBE_REGMAP_H__ /* SXGBE MAC Registers */ #def...
Linux kernel'inin 'drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* 10G controller driver for Samsung SoCs * * Copyright (C) 2013 Samsung Electronics Co., Ltd. * http://www.samsung.com * * Author: Siva Reddy Kallam <siva.kallam@samsung.com> */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/io.h> #include <linux/mii....
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/samsung/sxgbe/sxgbe_desc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* 10G controller driver for Samsung SoCs * * Copyright (C) 2013 Samsung Electronics Co., Ltd. * http://www.samsung.com * * Author: Siva Reddy Kallam <siva.kallam@samsung.com> */ #ifndef __SXGBE_DESC_H__ #define __SXGBE_DESC_H__ #define SXGBE_DESC_SIZE_BYTES 16 ...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/samsung/sxgbe/sxgbe_common' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* 10G controller driver for Samsung SoCs * * Copyright (C) 2013 Samsung Electronics Co., Ltd. * http://www.samsung.com * * Author: Siva Reddy Kallam <siva.kallam@samsung.com> */ #ifndef __SXGBE_COMMON_H__ #define __SXGBE_COMMON_H__ /* forward references */ stru...
Linux kernel'inin 'drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* 10G controller driver for Samsung SoCs * * Copyright (C) 2013 Samsung Electronics Co., Ltd. * http://www.samsung.com * * Author: Siva Reddy Kallam <siva.kallam@samsung.com> */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/clk.h> #include <linux/int...
Linux kernel'inin 'drivers/net/ethernet/samsung/sxgbe/sxgbe_core' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* 10G controller driver for Samsung SoCs * * Copyright (C) 2013 Samsung Electronics Co., Ltd. * http://www.samsung.com * * Author: Siva Reddy Kallam <siva.kallam@samsung.com> */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/export.h> #include <linux/...
Linux kernel'inin 'drivers/net/ethernet/broadcom/bgmac-platform' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Copyright (C) 2016 Broadcom * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation version 2. * * This program is distributed "as is" WITHOUT ANY WARRANTY of any * kind, whether expr...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/broadcom/cnic_if' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* cnic_if.h: QLogic cnic core network driver. * * Copyright (c) 2006-2014 Broadcom Corporation * Copyright (c) 2014-2015 QLogic Corporation * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Fou...
Linux kernel'inin 'drivers/net/ethernet/broadcom/cnic' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* cnic.c: QLogic CNIC core network driver. * * Copyright (c) 2006-2014 Broadcom Corporation * Copyright (c) 2014-2015 QLogic Corporation * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Founda...
Linux kernel'inin 'drivers/net/ethernet/broadcom/bcm4908_enet' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2021 Rafał Miłecki <rafal@milecki.pl> */ #include <linux/delay.h> #include <linux/etherdevice.h> #include <linux/if_vlan.h> #include <linux/interrupt.h> #include <linux/module.h> #include <linux/of.h> #include <linux/of_net.h> #include <linux/platform_...
Linux kernel'inin 'drivers/net/ethernet/broadcom/bgmac-bcma' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Driver for (BCM4706)? GBit MAC core on BCMA bus. * * Copyright (C) 2012 Rafał Miłecki <zajec5@gmail.com> * * Licensed under the GNU/GPL. See COPYING for details. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/bcma/bcma.h> #include <linux/brcmphy.h> #include <linux/etherdevice.h> #incl...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/broadcom/b44' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _B44_H #define _B44_H #include <linux/brcmphy.h> /* Register layout. (These correspond to struct _bcmenettregs in bcm4400.) */ #define B44_DEVCTRL 0x0000UL /* Device Control */ #define DEVCTRL_MPM 0x00000040 /* Magic Packet PME Enable (B0 only) */ #define DEVCTRL...
Linux kernel'inin 'drivers/net/ethernet/broadcom/bgmac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Driver for (BCM4706)? GBit MAC core on BCMA bus. * * Copyright (C) 2012 Rafał Miłecki <zajec5@gmail.com> * * Licensed under the GNU/GPL. See COPYING for details. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/bcma/bcma.h> #include <linux/etherdevice.h> #include <linux/interrupt.h> #i...
Linux kernel'inin 'drivers/net/ethernet/broadcom/bgmac-bcma-mdio' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Driver for (BCM4706)? GBit MAC core on BCMA bus. * * Copyright (C) 2012 Rafał Miłecki <zajec5@gmail.com> * * Licensed under the GNU/GPL. See COPYING for details. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/bcma/bcma.h> #include <linux/brcmphy.h> #include <linux/of_mdio.h> #include ...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/broadcom/bcm63xx_enet' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef BCM63XX_ENET_H_ #define BCM63XX_ENET_H_ #include <linux/types.h> #include <linux/mii.h> #include <linux/mutex.h> #include <linux/phy.h> #include <linux/platform_device.h> #include <bcm63xx_regs.h> #include <bcm63xx_io.h> #include <bcm63xx_iudma.h> /* default number...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/broadcom/bcmsysport' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Broadcom BCM7xxx System Port Ethernet MAC driver * * Copyright (C) 2014 Broadcom Corporation */ #ifndef __BCM_SYSPORT_H #define __BCM_SYSPORT_H #include <linux/bitmap.h> #include <linux/ethtool.h> #include <linux/if_vlan.h> #include <linux/dim.h> #include "un...
Linux kernel'inin 'drivers/net/ethernet/broadcom/bcm63xx_enet' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Driver for BCM963xx builtin Ethernet mac * * Copyright (C) 2008 Maxime Bizon <mbizon@freebox.fr> */ #include <linux/init.h> #include <linux/interrupt.h> #include <linux/module.h> #include <linux/clk.h> #include <linux/etherdevice.h> #include <linux/slab.h> #inc...
Linux kernel'inin 'drivers/net/ethernet/broadcom/sb1250-mac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2001,2002,2003,2004 Broadcom Corporation * Copyright (c) 2006, 2007 Maciej W. Rozycki * * This driver is designed for the Broadcom SiByte SOC built-in * Ethernet controllers. Written by Mitch Lichtenberg at Broadcom Corp. * * Updated to the dr...
Linux kernel'inin 'drivers/net/ethernet/broadcom/tg3' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * tg3.c: Broadcom Tigon3 ethernet driver. * * Copyright (C) 2001, 2002, 2003, 2004 David S. Miller (davem@redhat.com) * Copyright (C) 2001, 2002, 2003 Jeff Garzik (jgarzik@pobox.com) * Copyright (C) 2004 Sun Microsystems Inc. * Copyright (C) 2005-2016 Broadcom Corporation. * Copyright (C) 2016-2017 Broad...
Linux kernel'inin 'drivers/net/ethernet/broadcom/bcmsysport' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Broadcom BCM7xxx System Port Ethernet MAC driver * * Copyright (C) 2014 Broadcom Corporation */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/init.h> #include <linux/interrupt.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/ne...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/broadcom/bnx2' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* bnx2.h: QLogic bnx2 network driver. * * Copyright (c) 2004-2014 Broadcom Corporation * Copyright (c) 2014-2015 QLogic Corporation * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation....
Linux kernel'inin 'drivers/net/ethernet/broadcom/b44' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* b44.c: Broadcom 44xx/47xx Fast Ethernet device driver. * * Copyright (C) 2002 David S. Miller (davem@redhat.com) * Copyright (C) 2004 Pekka Pietikainen (pp@ee.oulu.fi) * Copyright (C) 2004 Florian Schirmer (jolt@tuxbox.org) * Copyright (C) 2006 Felix Fietkau (nbd@openwrt.org) * Copyright (C) 2006 Broadcom...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/broadcom/tg3' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* $Id: tg3.h,v 1.37.2.32 2002/03/11 12:18:18 davem Exp $ * tg3.h: Definitions for Broadcom Tigon3 ethernet driver. * * Copyright (C) 2001, 2002, 2003, 2004 David S. Miller (davem@redhat.com) * Copyright (C) 2001 Jeff Garzik (jgarzik@pobox.com) * Copyright (C) 2004 Sun M...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/broadcom/bnx2_fw' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* bnx2_fw.h: QLogic bnx2 network driver. * * Copyright (c) 2004, 2005, 2006, 2007 Broadcom Corporation * Copyright (c) 2014-2015 QLogic Corporation * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Soft...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/broadcom/cnic' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* cnic.h: QLogic CNIC core network driver. * * Copyright (c) 2006-2014 Broadcom Corporation * Copyright (c) 2014 QLogic Corporation * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation....
Linux kernel'inin 'drivers/net/ethernet/broadcom/bnx2' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* bnx2.c: QLogic bnx2 network driver. * * Copyright (c) 2004-2014 Broadcom Corporation * Copyright (c) 2014-2015 QLogic Corporation * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation....
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/broadcom/bcm4908_enet' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __BCM4908_ENET_H #define __BCM4908_ENET_H #define ENET_CONTROL 0x000 #define ENET_MIB_CTRL 0x004 #define ENET_MIB_CTRL_CLR_MIB 0x00000001 #define ENET_RX_ERR_MASK 0x008 #define ENET_MIB_MAX_PKT_SIZE 0x00C #define ENET_MIB_MAX_PKT_SIZE_VAL 0x...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/broadcom/cnic_defs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* cnic.c: QLogic CNIC core network driver. * * Copyright (c) 2006-2014 Broadcom Corporation * Copyright (c) 2014 QLogic Corporation * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/broadcom/bgmac' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _BGMAC_H #define _BGMAC_H #include <linux/netdevice.h> #include "unimac.h" #define BGMAC_DEV_CTL 0x000 #define BGMAC_DC_TSM 0x00000002 #define BGMAC_DC_CFCO 0x00000004 #define BGMAC_DC_RLSS 0x00000008 #define BGMAC_DC_MROR 0x00000010 #define BGM...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/broadcom/unimac' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __UNIMAC_H #define __UNIMAC_H #define UMAC_HD_BKP_CTRL 0x004 #define HD_FC_EN (1 << 0) #define HD_FC_BKOFF_OK (1 << 1) #define IPG_CONFIG_RX_SHIFT 2 #define IPG_CONFIG_RX_MASK 0x1F #define UMAC_CMD 0x008 #define CMD_TX_EN (1 << 0) #define CMD_RX...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/broadcom/bnge/bnge_rmem' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2025 Broadcom */ #ifndef _BNGE_RMEM_H_ #define _BNGE_RMEM_H_ struct bnge_ctx_mem_type; struct bnge_dev; struct bnge_net; #define PTU_PTE_VALID 0x1UL #define PTU_PTE_LAST 0x2UL #define PTU_PTE_NEXT_TO_LAST 0x4UL struct bnge_ri...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/broadcom/bnge/bnge_ethtool' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2025 Broadcom */ #ifndef _BNGE_ETHTOOL_H_ #define _BNGE_ETHTOOL_H_ void bnge_set_ethtool_ops(struct net_device *dev); #endif /* _BNGE_ETHTOOL_H_ */ ```
Linux kernel'inin 'drivers/net/ethernet/broadcom/bnge/bnge_rmem' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 // Copyright (c) 2025 Broadcom. #include <linux/etherdevice.h> #include <linux/init.h> #include <linux/module.h> #include <linux/pci.h> #include <linux/mm.h> #include <linux/dma-mapping.h> #include <linux/vmalloc.h> #include <linux/crash_dump.h> #include <linux/bnge/hsi.h> #in...
Linux kernel'inin 'drivers/net/ethernet/broadcom/bnge/bnge_txrx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 // Copyright (c) 2025 Broadcom. #include <asm/byteorder.h> #include <linux/dma-mapping.h> #include <linux/dmapool.h> #include <linux/delay.h> #include <linux/errno.h> #include <linux/kernel.h> #include <linux/list.h> #include <linux/pci.h> #include <linux/netdevice.h> #include ...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/broadcom/bnge/bnge_hwrm_lib' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2025 Broadcom */ #ifndef _BNGE_HWRM_LIB_H_ #define _BNGE_HWRM_LIB_H_ #define BNGE_PLC_EN_JUMBO_THRES_VALID \ VNIC_PLCMODES_CFG_REQ_ENABLES_JUMBO_THRESH_VALID #define BNGE_PLC_EN_HDS_THRES_VALID \ VNIC_PLCMODES_CFG_REQ_ENABLES_HDS_THRESHOLD_VALID #define...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/broadcom/bnge/bnge_hwrm' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2025 Broadcom */ #ifndef _BNGE_HWRM_H_ #define _BNGE_HWRM_H_ #include <linux/bnge/hsi.h> enum bnge_hwrm_ctx_flags { BNGE_HWRM_INTERNAL_CTX_OWNED = BIT(0), BNGE_HWRM_INTERNAL_RESP_DIRTY = BIT(1), BNGE_HWRM_CTX_SILENT = BIT(2), BNGE_HWRM_FULL_WAIT = BI...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/broadcom/bnge/bnge_db' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2025 Broadcom */ #ifndef _BNGE_DB_H_ #define _BNGE_DB_H_ /* 64-bit doorbell */ #define DBR_EPOCH_SFT 24 #define DBR_TOGGLE_SFT 25 #define DBR_XID_SFT 32 #define DBR_PATH_L2 (0x1ULL << 56) #define DBR_VALID (0x1ULL << 58) #define DBR_TYPE...
Linux kernel'inin 'drivers/net/ethernet/broadcom/bnge/bnge_core' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 // Copyright (c) 2025 Broadcom. #include <linux/init.h> #include <linux/crash_dump.h> #include <linux/module.h> #include <linux/pci.h> #include "bnge.h" #include "bnge_devlink.h" #include "bnge_hwrm.h" #include "bnge_hwrm_lib.h" #include "bnge_link.h" MODULE_LICENSE("GPL"); M...
Linux kernel'inin 'drivers/net/ethernet/broadcom/bnge/bnge_netdev' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 // Copyright (c) 2025 Broadcom. #include <asm/byteorder.h> #include <linux/dma-mapping.h> #include <linux/dmapool.h> #include <linux/delay.h> #include <linux/errno.h> #include <linux/kernel.h> #include <linux/list.h> #include <linux/pci.h> #include <linux/netdevice.h> #include ...
Linux kernel'inin 'drivers/net/ethernet/broadcom/bnge/bnge_hwrm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 // Copyright (c) 2025 Broadcom. #include <asm/byteorder.h> #include <linux/dma-mapping.h> #include <linux/dmapool.h> #include <linux/delay.h> #include <linux/errno.h> #include <linux/kernel.h> #include <linux/list.h> #include <linux/pci.h> #include "bnge.h" #include "bnge_hwrm...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/broadcom/bnge/bnge_devlink' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2025 Broadcom */ #ifndef _BNGE_DEVLINK_H_ #define _BNGE_DEVLINK_H_ enum bnge_dl_version_type { BNGE_VERSION_FIXED, BNGE_VERSION_RUNNING, BNGE_VERSION_STORED, }; void bnge_devlink_free(struct bnge_dev *bd); struct bnge_dev *bnge_devlink_alloc(struct pci_...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/broadcom/bnge/bnge_netdev' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2025 Broadcom */ #ifndef _BNGE_NETDEV_H_ #define _BNGE_NETDEV_H_ #include <linux/bnge/hsi.h> #include <linux/io-64-nonatomic-lo-hi.h> #include <linux/refcount.h> #include <linux/u64_stats_sync.h> #include <net/netdev_queues.h> #include "bnge_db.h" #include ...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/broadcom/bnge/bnge_hw_def' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2025 Broadcom */ #ifndef _BNGE_HW_DEF_H_ #define _BNGE_HW_DEF_H_ #define TX_BD_FLAGS_TCP_UDP_CHKSUM BIT(0) #define TX_BD_FLAGS_IP_CKSUM BIT(1) #define TX_BD_FLAGS_NO_CRC BIT(2) #define TX_BD_FLAGS_STAMP BIT(3) #define TX_BD_FLAGS_T_IP_CHKSUM BIT(4) #def...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/broadcom/bnge/bnge_auxr' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2025 Broadcom */ #ifndef _BNGE_AUXR_H_ #define _BNGE_AUXR_H_ #include <linux/auxiliary_bus.h> #define BNGE_MIN_ROCE_CP_RINGS 2 #define BNGE_MIN_ROCE_STAT_CTXS 1 #define BNGE_MAX_ROCE_MSIX 64 struct hwrm_async_event_cmpl; struct bnge; struct bnge_msix_in...
Linux kernel'inin 'drivers/net/ethernet/broadcom/bnge/bnge_link' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 // Copyright (c) 2026 Broadcom. #include <linux/linkmode.h> #include "bnge.h" #include "bnge_link.h" #include "bnge_hwrm_lib.h" enum bnge_media_type { BNGE_MEDIA_UNKNOWN = 0, BNGE_MEDIA_CR, BNGE_MEDIA_SR, BNGE_MEDIA_LR_ER_FR, BNGE_MEDIA_KR, __BNGE_MEDIA_END, }; static ...
Linux kernel'inin 'drivers/net/ethernet/broadcom/bnge/bnge_auxr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 // Copyright (c) 2025 Broadcom. #include <linux/module.h> #include <linux/kernel.h> #include <linux/errno.h> #include <linux/interrupt.h> #include <linux/pci.h> #include <linux/netdevice.h> #include <linux/rtnetlink.h> #include <linux/bitops.h> #include <linux/irq.h> #include ...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/broadcom/bnge/bnge_link' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2026 Broadcom */ #ifndef _BNGE_LINK_H_ #define _BNGE_LINK_H_ #include <linux/ethtool.h> #define BNGE_PHY_CFG_ABLE(bd) \ ((bd)->link_info.phy_enabled) #define BNGE_PHY_AUTO_SPEEDS2_MASK \ PORT_PHY_CFG_REQ_ENABLES_AUTO_LINK_SPEEDS2_MASK #define BNGE_PHY_...