History log of /haiku/src/add-ons/kernel/drivers/ports/pc_serial/Driver.h
Revision Date Author Comments
# d028516b 14-Apr-2022 Fredrik Holmqvist <fredrik.holmqvist@gmail.com>

Remove use of config_manager

bus_type has been added to MediaRoster.h and the serial driver.
It is not used enough to be in any shared header.
media_roster only uses it for buffer size estimation.

Change-Id: If4f372d44e871230da4744d99ec7cde0c79c8344
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5209
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 57bc6503 09-Nov-2014 Alexander von Gluck IV <kallisti5@unixzen.com>

Everything: Update lots of code to use B_COUNT_OF macro

* Likely not everything, but the obvious uses of B_COUNT_OF


# ab325d98 16-Aug-2014 François Revol <revol@free.fr>

pc_serial: Drop BeOS stuff

Even I don't use it anymore...


# 5f5d09f9 09-Dec-2010 François Revol <revol@free.fr>

Port pc_serial to the new tty module.
Builds but won't work because the tty module lacks essential calls to read and write data :^)
Lots of ifdef since I need the R5 code around for now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39791 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 79bda6fd 28-Apr-2010 François Revol <revol@free.fr>

Fix #5754 so at least the driver builds. It is not yet usable since we do not have a tty manager. For now it should be possible to get the BeOS one to work in Haiku though, but it's not tested.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36515 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9d1aa9c9 26-Mar-2010 François Revol <revol@free.fr>

Restore DEVICE_COUNT which was set to 2 for testing. We can do better :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35966 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1d62878c 26-Mar-2010 François Revol <revol@free.fr>

Update copyrights. Mention TuneTracker Systems as a sponsor.
Add several ways to restrict UART probing when matching devices:
- max port count,
- PCI subsystem ID mask (some cards encode the port count there),
- Base Address Register mask (some cards only have UART in the first 2 ranges).
Use those to match 2 specific NetMos chips, and avoid screwing up when input_server tries to access UARTs at boggus ranges.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35965 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f878f096 23-Mar-2010 François Revol <revol@free.fr>

Less tracing by default...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35936 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 94a6d7ad 08-Dec-2009 François Revol <revol@free.fr>

Work-in-progress BeOS hack allow loading with either the R5 or BONE tty manager, due to using the same version and incompatible module hooks we must detect it at runtime to avoid crashing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34576 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b7ae7914 31-Oct-2009 François Revol <revol@free.fr>

- cleanup, remove fake device descriptions,
- add generic device descriptions for the various incarnations of the PC UART,
- just use pc_serial as devfs basename regardless.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33858 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bbc84914 26-Feb-2009 François Revol <revol@free.fr>

Working version of the driver. At least it does seem to work with my onboard com port, but not the OxfordSemi PCI card I have here. Still requires tty_manager, and config_manager too, so won't work in Haiku yet. Needs cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29328 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3cdf783e 21-Aug-2008 François Revol <revol@free.fr>

Start of a PC-style serial port driver. For now it's mostly just copied parts of usb_serial, not yet usable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27111 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 57bc65034a7781d7bb53a48f94d692346b641da1 09-Nov-2014 Alexander von Gluck IV <kallisti5@unixzen.com>

Everything: Update lots of code to use B_COUNT_OF macro

* Likely not everything, but the obvious uses of B_COUNT_OF


# ab325d984f46398102dc5de8f1c2ccf494a41b27 16-Aug-2014 François Revol <revol@free.fr>

pc_serial: Drop BeOS stuff

Even I don't use it anymore...


# 5f5d09f948eaf77cace673812b5824d2c12bd6ef 09-Dec-2010 François Revol <revol@free.fr>

Port pc_serial to the new tty module.
Builds but won't work because the tty module lacks essential calls to read and write data :^)
Lots of ifdef since I need the R5 code around for now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39791 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 79bda6fd6efa7f31e3bdf3f195e03ddd164321da 28-Apr-2010 François Revol <revol@free.fr>

Fix #5754 so at least the driver builds. It is not yet usable since we do not have a tty manager. For now it should be possible to get the BeOS one to work in Haiku though, but it's not tested.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36515 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9d1aa9c9ac6e2dea905585ab81ea9e1db6526dc6 26-Mar-2010 François Revol <revol@free.fr>

Restore DEVICE_COUNT which was set to 2 for testing. We can do better :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35966 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1d62878c784211efa8979652a4ecd12b0ab4f9fb 26-Mar-2010 François Revol <revol@free.fr>

Update copyrights. Mention TuneTracker Systems as a sponsor.
Add several ways to restrict UART probing when matching devices:
- max port count,
- PCI subsystem ID mask (some cards encode the port count there),
- Base Address Register mask (some cards only have UART in the first 2 ranges).
Use those to match 2 specific NetMos chips, and avoid screwing up when input_server tries to access UARTs at boggus ranges.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35965 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f878f09673e30965da0d7932b28ee3afd799f8c4 23-Mar-2010 François Revol <revol@free.fr>

Less tracing by default...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35936 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 94a6d7ada8946b69d2952047378d38850c7a78f4 08-Dec-2009 François Revol <revol@free.fr>

Work-in-progress BeOS hack allow loading with either the R5 or BONE tty manager, due to using the same version and incompatible module hooks we must detect it at runtime to avoid crashing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34576 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b7ae7914b8c600671ba239f4a674b308c873ad8e 31-Oct-2009 François Revol <revol@free.fr>

- cleanup, remove fake device descriptions,
- add generic device descriptions for the various incarnations of the PC UART,
- just use pc_serial as devfs basename regardless.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33858 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bbc84914d4e340a18214a1a92b17deb03254169b 26-Feb-2009 François Revol <revol@free.fr>

Working version of the driver. At least it does seem to work with my onboard com port, but not the OxfordSemi PCI card I have here. Still requires tty_manager, and config_manager too, so won't work in Haiku yet. Needs cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29328 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3cdf783e2b2b56c04a415a14db42f23c7caba657 21-Aug-2008 François Revol <revol@free.fr>

Start of a PC-style serial port driver. For now it's mostly just copied parts of usb_serial, not yet usable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27111 a95241bf-73f2-0310-859d-f6bbb57e9c96