xemaclite_of_probe(9)
xemaclite_of_probe(9)
okay bestie, welcome to the xemaclite_of_probe(9) page from the Kernel API Manual β today we're getting into the probe method for the Emaclite device, and it's giving kernel main character energy π
πΈ NAME πΈ
xemaclite_of_probe β the probe method for the Emaclite device. short name, big job, iconic.
β¨ SYNOPSIS β¨
int xemaclite_of_probe (struct platform_device *ofdev );
π ARGUMENTS π
ofdevβ pointer to OF device structure. that's the one argument, bestie, and it's literally pointing at the OF device struct π«Ά
π¦ DESCRIPTION π¦
okay so picture this: this function probes for the Emaclite device in the device tree. It initializes the driver data structure and the hardware, sets the MAC address, and registers the network device. the way that it handles all that? obsessed.
It also registers a mii_bus for the Emaclite device, if MDIO is included in the device. no cap, that's the whole vibe check β¨
π₯ RETURN π₯
It returns 0 if the driver is bound to the Emaclite device, or a negative error if there is failure.
so: 0 = bound to the Emaclite device and slay; negative error = failure, and that's your little signal to go look into it π
π SEE ALSO π
- the kernel file at
./drivers/net/ethernet/xilinx/xilinx_emaclite.c struct net_local(9)xemaclite_enable_interrupts(9)xemaclite_disable_interrupts(9)xemaclite_aligned_write(9)xemaclite_aligned_read(9)xemaclite_send_data(9)xemaclite_recv_data(9)xemaclite_update_address(9)xemaclite_set_mac_address(9)xemaclite_tx_timeout(9)xemaclite_tx_handler(9)xemaclite_rx_handler(9)xemaclite_interrupt(9)xemaclite_mdio_wait(9)xemaclite_mdio_read(9)xemaclite_mdio_write(9)xemaclite_mdio_setup(9)xemaclite_adjust_link(9)xemaclite_open(9)xemaclite_close(9)xemaclite_send(9)get_bool(9)xemaclite_ethtools_get_drvinfo(9)xemaclite_of_remove(9)
mwah π this page comes from ./drivers/net/ethernet/xilinx, and it's dated October 2026 β periodt, bestie π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms