drivers/net/ethernet/huawei/hinic3/hinic3_lld.c

Source file repositories/reference/linux-study-clean/drivers/net/ethernet/huawei/hinic3/hinic3_lld.c

File Facts

System
Linux kernel
Corpus path
drivers/net/ethernet/huawei/hinic3/hinic3_lld.c
Extension
.c
Size
10992 bytes
Lines
464
Domain
Driver Families
Bucket
drivers/net
Inferred role
Driver Families: operation-table or driver-model contract
Status
pattern 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.

Dependency Surface

Detected Declarations

Annotated Snippet

static struct pci_driver hinic3_driver = {
	.name            = HINIC3_NIC_DRV_NAME,
	.id_table        = hinic3_pci_table,
	.probe           = hinic3_probe,
	.remove          = hinic3_remove,
	.shutdown        = hinic3_shutdown,
	.sriov_configure = pci_sriov_configure_simple
};

int hinic3_lld_init(void)
{
	return pci_register_driver(&hinic3_driver);
}

void hinic3_lld_exit(void)
{
	pci_unregister_driver(&hinic3_driver);
}

Annotation

Implementation Notes