cti_get_port_type_xr17v35x(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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_NONE on failure

So if it ate, you get the port type. If it didn't, you get CTI_PORT_TYPE_NONE. 😭

🌈 SEE ALSO 🌈


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