cti_get_port_type_xr17v35x(9)
π cti_get_port_type_xr17v35x(9) π
okay so this is the Kernel API Manual page for cti_get_port_type_xr17v35x(9) β yes, the title is a whole mouthful, but she's iconic and we're gonna get through it together. π«Ά
πΈ NAME πΈ
cti_get_port_type_xr17v35x β read port type from the EEPROM. That's the function's whole little mission: it reads the port type. From the EEPROM. Slay. β¨
β¨ SYNOPSIS β¨
enum cti_port_type cti_get_port_type_xr17v35x (struct exar8250 *priv ,
struct pci_dev *pcidev , unsigned int port_num );
π ARGUMENTS π
privβ the device's private structure. Her little private stash of info. πpcidevβ pointer to the PCI device for this port. Like a little name tag for the port's PCI device. πport_numβ port offset. Which port we're looking at, basically. π
π¦ DESCRIPTION π¦
CTI XR17V35X based cards have the port types stored in the EEPROM. This function reads the port type for a single port. That's it, that's the vibe: one port, one read, port type acquired. No cap. π
π RETURN π
- port type on success
CTI_PORT_TYPE_NONEon failure
So if it ate, you get the port type. If it didn't, you get CTI_PORT_TYPE_NONE. π
π SEE ALSO π
- Kernel file:
./drivers/tty/serial/8250/8250_exar.c struct exar8250_board(9)exar_mpio_config_output(9)_exar_mpio_set(9)cti_tristate_disable(9)cti_plx_int_enable(9)cti_read_osc_freq(9)cti_get_port_type_xr17c15x_xr17v25x(9)cti_get_port_type_fpga(9)
Signing off from the ./drivers/tty/serial/8250 source spot, dated October 2026, with the page title cti_get_port_type_xr17v35x(9) β bye bestie, go read those EEPROM port types! ππβ¨
π¦ 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