octeon_conso...ebug_enabled(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… octeon_console_debug_enabled(9) πŸ’…

okay so real talk β€” this is a page from the Kernel API Manual, and the function it's hyping up is octeon_console_debug_enabled. she's a little cutie from the kernel, and honestly? she does exactly one thing and she does it slayfully. πŸ’–


✨ NAME ✨

octeon_console_debug_enabled β€” literally just tells you if a given console has debug enabled. that's it. that's the whole gig. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int octeon_console_debug_enabled (u32 console );

like... look at her. no cap, one argument, one job. main character energy fr fr. ✨


🌸 ARGUMENTS 🌸

  • console β€” the console you want to check 🫢 (that's the one, bestie, that's the whole parameter)

πŸŽ€ RETURN πŸŽ€

  • 1 β€” enabled πŸ’– slay, debug is on
  • 0 β€” otherwise πŸ™ˆ debug is not on

ngl this is the easiest return value you will ever read. 1 = enabled, 0 = otherwise. periodt. πŸ‘‘


πŸ”₯ SEE ALSO πŸ”₯

okay this is the part where the page goes absolutely feral with cross-references, and i need you to stay with me because there are like... a LOT of them. but they're all iconic, so:

Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_main.c

then, in no particular order (well, in this particular order actually):

force_io_queues_off(9), pcierror_quiesce_device(9), cleanup_aer_uncorrect_error_status(9), stop_pci_io(9), liquidio_pcie_error_detected(9), liquidio_pcie_mmio_enabled(9), liquidio_pcie_slot_reset(9), liquidio_pcie_resume(9), liquidio_init_pci(9), liquidio_deinit_pci(9), check_txq_status(9), print_link_info(9), octnet_link_status_change(9), setup_link_status_change_wq(9), update_link_status(9), lio_sync_octeon_time(9), setup_sync_octeon_time_wq(9), cleanup_sync_octeon_time_wq(9), liquidio_probe(9), octeon_pci_flr(9), octeon_destroy_resources(9), send_rx_ctrl_cmd(9), liquidio_destroy_nic_device(9), liquidio_stop_nic_module(9), liquidio_remove(9), octeon_chip_specific_setup(9), octeon_pci_os_setup(9), free_netbuf(9), free_netsgbuf(9), free_netsgbuf_with_resp(9), liquidio_ptp_adjfine(9), liquidio_ptp_adjtime(9), liquidio_ptp_gettime(9), liquidio_ptp_settime(9), liquidio_ptp_enable(9), oct_ptp_open(9), liquidio_ptp_init(9), load_firmware(9), octnet_poll_check_txq_status(9), setup_tx_poll_fn(9), liquidio_open(9), liquidio_stop(9), get_new_flags(9), liquidio_set_mcast_list(9), liquidio_set_mac(9), handle_timestamp(9), send_nic_timestamp_pkt(9), liquidio_xmit(9), liquidio_tx_timeout(9), liquidio_set_rxcsum_command(9), liquidio_vxlan_port_command(9), liquidio_fix_features(9), liquidio_set_features(9), liquidio_init(9), setup_nic_devices(9), liquidio_init_nic_module(9), nic_starter(9), octeon_device_init(9), octeon_dbg_console_print(9), liquidio_exit(9)

yes bestie, all of them. every single one. i counted, and then i recounted, and then i gave up and just copied them very very carefully. no skips, no shortcuts, that's the rule. πŸ’…

✨ mwah ✨ and that's the page!! this came from ./drivers/net/ethernet/cavium/... and the version/date stamp on it is October 2026 β€” so mark your calendar, she's from the future, she's thriving, and she's still just returning 1 or 0. πŸ¦‹πŸ’œπŸ“

πŸ“¦ where this page comes from