drivers/net/ethernet/8390/ne.c
Source file repositories/reference/linux-study-clean/drivers/net/ethernet/8390/ne.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/net/ethernet/8390/ne.c- Extension
.c- Size
- 33910 bytes
- Lines
- 1186
- Domain
- Driver Families
- Bucket
- drivers/net
- Inferred role
- Driver Families: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/module.hlinux/kernel.hlinux/errno.hlinux/isapnp.hlinux/init.hlinux/interrupt.hlinux/delay.hlinux/netdevice.hlinux/etherdevice.hlinux/jiffies.hlinux/platform_device.hasm/io.h8390.h
Detected Declarations
struct netdev_boot_setupstruct devprobe2function do_ne_probefunction ne_probe_isapnpfunction ne_probe1function ne_reset_8390function ne_get_8390_hdrfunction ne_block_inputfunction ne_block_outputfunction ne_drv_probefunction ne_drv_removefunction ne_loop_rm_unregfunction ne_drv_suspendfunction ne_drv_resumefunction ne_add_devicesfunction netdev_boot_setup_checkfunction ne_probefunction netdev_boot_basefunction netdev_boot_setup_addfunction netdev_boot_setupfunction ether_boot_setupfunction probe_list2function ethif_probe2function net_olddevs_initfunction ne_initfunction ne_exitmodule init ne_init
Annotated Snippet
module_init(ne_init);
static void __exit ne_exit(void)
{
platform_driver_unregister(&ne_driver);
ne_loop_rm_unreg(1);
}
module_exit(ne_exit);
Annotation
- Immediate include surface: `linux/module.h`, `linux/kernel.h`, `linux/errno.h`, `linux/isapnp.h`, `linux/init.h`, `linux/interrupt.h`, `linux/delay.h`, `linux/netdevice.h`.
- Detected declarations: `struct netdev_boot_setup`, `struct devprobe2`, `function do_ne_probe`, `function ne_probe_isapnp`, `function ne_probe1`, `function ne_reset_8390`, `function ne_get_8390_hdr`, `function ne_block_input`, `function ne_block_output`, `function ne_drv_probe`.
- Atlas domain: Driver Families / drivers/net.
- Implementation status: integration implementation candidate.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.