drivers/tty/serial/21285.c
Source file repositories/reference/linux-study-clean/drivers/tty/serial/21285.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/tty/serial/21285.c- Extension
.c- Size
- 11927 bytes
- Lines
- 519
- Domain
- Driver Families
- Bucket
- drivers/tty
- Inferred role
- Driver Families: exported/initcall integration point
- Status
- integration 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.
- 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.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/module.hlinux/tty.hlinux/ioport.hlinux/init.hlinux/console.hlinux/device.hlinux/tty_flip.hlinux/serial_core.hlinux/serial.hlinux/io.hasm/irq.hasm/mach-types.hasm/system_info.hasm/hardware/dec21285.hmach/hardware.h
Detected Declarations
function is_enabledfunction enablefunction disablefunction intfunction serial21285_start_txfunction serial21285_stop_rxfunction serial21285_rx_charsfunction serial21285_tx_charsfunction serial21285_tx_emptyfunction serial21285_get_mctrlfunction serial21285_set_mctrlfunction serial21285_startupfunction serial21285_shutdownfunction serial21285_set_termiosfunction serial21285_release_portfunction serial21285_request_portfunction serial21285_config_portfunction serial_structfunction serial21285_setup_portsfunction serial21285_console_putcharfunction serial21285_console_writefunction serial21285_get_optionsfunction serial21285_console_setupfunction rs285_console_initfunction serial21285_initfunction serial21285_exitmodule init serial21285_init
Annotated Snippet
module_init(serial21285_init);
module_exit(serial21285_exit);
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Intel Footbridge (21285) serial driver");
MODULE_ALIAS_CHARDEV(SERIAL_21285_MAJOR, SERIAL_21285_MINOR);
Annotation
- Immediate include surface: `linux/module.h`, `linux/tty.h`, `linux/ioport.h`, `linux/init.h`, `linux/console.h`, `linux/device.h`, `linux/tty_flip.h`, `linux/serial_core.h`.
- Detected declarations: `function is_enabled`, `function enable`, `function disable`, `function int`, `function serial21285_start_tx`, `function serial21285_stop_rx`, `function serial21285_rx_chars`, `function serial21285_tx_chars`, `function serial21285_tx_empty`, `function serial21285_get_mctrl`.
- Atlas domain: Driver Families / drivers/tty.
- Implementation status: integration implementation candidate.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.