📄 changelog
字号:
* serial.c: Use standard forwards/backwards compatibility helper functions for accessing PCI resource structures. * serial.c: Add support for the Megawolf Romulus PCI serial card, as well as the VS SPCOM800 card. We now clear EFR[4] before testing for the 16950, which is apparently needed on some buggy 16952's. 2000-04-25 <tytso@snap.thunk.org> * install-in-kernel: Update to properly install the new header files needed by Linux 2.2. Also add logic so that only files which have changed get overwritten in the kernel. This script now requires bash. * serialP.h: Add a conditional #include for serial.h, which is needed since Linux 2.2 assumes that struct async_icount is defined in serialP.h, and some busybodies moved it.2000-04-25 Theodore Ts'o <tytso@valinux.com> * serial.c: Synchronize with 2.3.99pre6-5. Fixed bug in proc handling. Removed prototypes for tty_register_devfs (now in tty.h, where it belongs). Added some new PNP devices.2000-03-25 Theodore Ts'o <tytso@valinux.com> * serial.c (pci_inteli960ni_fn): Add support for EKF Intel i960 serial boards. * serial.c, serial_compat.h: Use new CPU_M* defines for checking for 386 and 486 platforms. * serial.c (line_info): Fix long vs. int in sprintf format string2000-03-21 Theodore Ts'o <tytso@valinux.com> * serial.c: Added additional ISA PNP device entries, including syncing up with 2.3.99pre3-3.2000-03-20 Theodore Ts'o <tytso@valinux.com> * Release of serial driver 4.93 * serial.c, serial.h, serialP.h: Fold in changes from Alan Modra (to make serial driver more SMP safe, and to fix some free buffer races. Now requires circ_buf.h and uses the abstractions defined there.) * serial.c (pci_plx9050_fn): Fix Panacom initialization sequence. (Requires fixed Panacom boards, but now it works right.) * serial.c: Sync up with serial driver changes. * serial.c, serial_compat.h: Use module_init to automatically run rs_init. Add compatibility macros for 2.2 kernels. * serial.h, serialP.h: Move kruft back into serialP.h, since people keep submitting patches to Linus, and he accepts it. I'll fix this later when I completely redo the tty layer, and move struct async_icount into a tty header file.2000-03-18 Theodore Ts'o <tytso@valinux.com> * serial.c (avoid_irq_share, probe_serial_pnp), serialP.h: Applied Andrew Panin's patch to implement a new flag, SPCI_FL_NO_SHIRQ, which avoids IRQ sharing with other serial ports. This flag is set for Rockwell 56K ACF II since apparently it is needed to avoid an IRQ flood.2000-03-17 Theodore Ts'o <tytso@valinux.com> * serial.c: Add entry for Supra Express 28.8 PnP modem. Also enable PNP support if CONFIG_ISAPNP_MODULE is defined and we're compiling as a module.2000-03-16 Theodore Ts'o <tytso@valinux.com> * serial.c: Update PNP table to include new PNP modems. * serial.c, serial_compat.h: Add support for the Titan Microelectronics PCI serial boards. * serial.c,serial.h, serialP.h: Make *->port be an unsigned long instead of an int, for 64-bit platforms. (Fix complaint from davem). * serial.c (serial_in, serial_out, pci_plx9050_fn, pci_siig10x_fn): Fold in patch from David Mosberger to clean up compiles of 64-bit platforms. * serial.c: Fix workaround for the 16C950 (the revision ID is zero based, not one base). Get Lucent Venus 167x workaround from the 2.3.51 driver. * serial.c, serial_compat.h: Remove CONFIG_DEVFS_FS #ifdef and define null procedures for tty_register_devfs() and tty_unregister_devfs(). * Makefile: Add serial_compat.h to the dependency list for serial.o2000-03-02 Theodore Ts'o <tytso@valinux.com> * serial.c: Sync up with linux 2.3.48 serial driver.2000-01-27 Theodore Ts'o <tytso@valinux.com> * Release of serial driver 4.92 * serial.c (change_speed): Work around a bug in the Oxford Semiconductor 952 rev B chip which causes it to seriously miscalculate baud rates when DLL is 0. * serial.c (register_serial): Fix bug noted by David Hinds where if a non-existent port is opened, a struct async_struct is created, and if register_serial doesn't set the port values in the async_struct, the two are out of sync, and this causes the port to malfunction. * install-in-kernel: Remove comment about needing to install new PCI definitions from serial_local.h, as it's (in general) no longer true. * serial.c: Change IS_PCI_REGION_IOMEM to be IS_PCI_REGION_IOPORT, and clarify the code to make things less confusing about when we're using I/O mapped memory, and when we're using I/O ports. * serial.c (rs_interrupt_multi): Make the explanatory message (and comment) about "rs multi loop break" more understandable. * serial.c: Update LavaPort definitions in PCI table. * serialP.h (SPCI_FL_PNPDEFAULT): Remove SPCI_FL_NOMASK since it's not used/needed any more.2000-01-26 Theodore Ts'o <tytso@valinux.com> * serial.c, serialP.h, serial_compat.h: Update Lava entries to use Lava's common names and to support additional Lava boards. Add support for generic Oxford Semiconductor boards. For the Oxsemi device id 9511, add support to determine the size of the base region to determine how many ports are available. Add new SPCI_FL flag, SPCI_FL_REGION_SZ_CAP to support this board. Note: this doesn't work for Linux 2.2 kernels, since it was too hard to determine the size of the region. So on 2.2 kernels an Oxsemi #9511 will only find one port.2000-01-25 Theodore Ts'o <tytso@valinux.com> * serial_compat.h (IS_PCI_REGION_IOMEM): Fix compat macros IS_PCI_REGION_IOMEM and PCI_BASE_ADDRESS so that they work correctly. (IO_MEM and PORT masking was switched in the two macros). * serial.c (start_pci_pnp_board): Add debugging printk under SERIAL_DEBUG_PCI. * serial.c: Always include serial_compat.h if compiling with local headers.2000-01-21 Theodore Ts'o <tytso@valinux.com> * serial.c: Use the PCI bus provided indication to determine whether a region is I/O mapped or not. Always compile in the I/O mapped support, since it isn't that much code. Add support for trying to guess the PCI serial board information from the PCI resources. Hopefully this won't cause any system hangs. Clean up some entries in the table that are now known to correspond to winmodems.2000-01-19 Theodore Ts'o <tytso@valinux.com> * serial_compat.h, serial_local.h: Move PCI definitions to serial_compat.h, since they are needed for downlevel kernels. * serial.c: Add support for ISA PNP serial devices. Code based loosely on patches from Andrey Panin (pazke@orbita.don.sitek.net), but made more tightly integrated with the PCI code. The common PNP/PCI code is factored out into an enabler function called start_pci_pnp_board(). * serial.c (set_modem_info): Add support for TIOCM_LOOP so that the UART can be put into loopback mode. (So that it might be possible to write a user-mode base baud detection program). Add appropriate __init and __initdata to save memory when the serial driver is linked directly into the kernel. MODULE has to be set in the makefile, since serial_local.h defines it too late. (It has to be defined before module.h is #included.)2000-01-16 <tytso@valinux.com> * serial.c (detect_uart_irq): Initialize new fields in scr_info which are needed by serial_in so that it doesn't crash.2000-01-15 <tytso@valinux.com> * serial.c (rs_hangup): If the ASYNC_CLOSING flag is set, don't do any hangup processing, since rs_close() will take are of it for us. (rs_close): Move the restore_flags(flags) statement so that irq's are restored after ASYNC_CLOSING is set. It doesn't do any good to call schedule() with interrupts disabled, and it's not needed.2000-01-14 <tytso@valinux.com> * serial.c (probe_serial_pci), serial_compat.h: Sync with changes in linux 2.3.39. Use the generic pci iterator function, and provide backwards compatibility in serial_compat.h. Use a backwards compatible way to get the subsystem vendor and device ID.2000-01-14 Theodore Ts'o <tytso@valinux.com> * Makefile: Add support for RedHat style stock kernels; they use a different way of handling versions which fake out our SMP detection. * setup.sh: Add support for RedHat-style kernel modifications. This doesn't support modversions.h yet, though. 1999-12-10 Theodore Ts'o <tytso@valinux.com> * serial.c: Cleaned up NEW_MODULES #ifdef (removed Linux 1.2 modules support). Add #include for Magic SysRq Move the DBG_CNT macro to later, so that local builds set DBG_CNT() macro if SERIAL_DEBUG_MCOUNT. * serial.c Merged in changes from 2.3.31 1999-11-17 Theodore Ts'o <tytso@valinux.com> * serial.c: Use get_zeroed_page instead of get_free_page for 2.3.28 compatibility. * Release of serial 4.91 release.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -