1
0
mirror of https://github.com/sjlongland/adv950.git synced 2025-09-13 10:43:14 +10:00
Commit Graph

30 Commits

Author SHA1 Message Date
f626e23b02
README: be-gone smelly DOS carriage returns! 2017-03-05 18:05:24 +10:00
da6aefacd3
README: current status 2017-03-05 18:05:02 +10:00
d230e784fe
adv950_base: Call serial_core functions. 2017-03-05 17:43:46 +10:00
fb809f752c
adv950_base: Register against official serial_core 2017-03-05 17:28:24 +10:00
55ce014443
adv950_core: Ditch copy of serial_core.
On closer inspection, this is more like the standard `serial_core`
module than first expected.  We should try to use the in-kernel version.
2017-03-05 17:22:44 +10:00
660f615369
README: add dmesg output. 2017-03-05 16:35:04 +10:00
7cb68e2384
adv950_base: Fix renaming of some symbols. 2017-03-05 16:29:31 +10:00
6377892fa2
README: Quick notes regarding the changes made. 2017-03-05 16:21:02 +10:00
87e8c9d69b
Rename symbols
Avoid possible clashes with the 8250 driver, now that we've effectively
forked it.
2017-03-05 16:13:21 +10:00
ac28b5fe5b
Rename 3.x → driver
The driver compiles against kernels 3.19 onwards… including the 4.x
series.  Future releases of this fork shall use branches and tags as the Linux
devs intended.
2017-03-05 16:00:07 +10:00
453a134106
Blow away 2.4/2.6 drivers.
If someone wants a driver for something that old, ask Advantech.
2017-03-05 15:59:26 +10:00
3dd7257b72
Rename files.
This might have started as the 8250, but it is apparent it has diverged
quite a bit.  So as to not confuse ourselves, rename the files to
reflect this.
2017-03-05 15:57:42 +10:00
70013200a0
serial_core: Pass termios to set_ldisc function.
As per 732a84a037a4de29b54e0b4e6cb6f9b3813e29e5.
2017-03-05 15:39:22 +10:00
439f53e97c
8250: Fix prototype of adv950_set_ldisc
As per 732a84a037a4de29b54e0b4e6cb6f9b3813e29e5.
2017-03-05 15:36:09 +10:00
782ba49045
serial_core: Convert PDE macro to PDE_DATA
As per d9dda78bad879595d8c4220a067fc029d6484a16.
2017-03-05 14:33:10 +10:00
76910af8b0
8250: Pass tty_port to tty_flip_buffer_push
As per 2e124b4a390ca85325fae75764bef92f0547fa25.
2017-03-05 14:11:06 +10:00
b2103a86df
serial_core: Move low_latency to tty_port
As per d6c53c0e9bd0a83f9f9ddbc9fd80141a54d83896.
2017-03-05 13:54:35 +10:00
50c8cae914
8250: Pass tty_port to tty_insert_flip_string
As per 05c7cd39907184328f48d3e7899f9cdd653ad336.
2017-03-05 13:49:29 +10:00
e379d9c8af
8250: Pass tty_port to tty_buffer_request_room
As per 227434f8986c3827a1faedd1feb437acd6285315.
2017-03-05 13:45:40 +10:00
8f905f0925
8250: Drop references to UPIO_RM9000.
Support for this driver disappeared in commit
a205a56dc24811a2879572e52c902a38425a4473.
2017-03-05 13:28:29 +10:00
d44227c34b
8250_pci: Drop references to __dev*.
These disappeared in commit 54b956b903607f8f8878754dd4352da6a54a1da2.
2017-03-05 13:07:52 +10:00
f5519e8bea
serial_core: Pass tty object to tty_lock/tty_unlock.
As per 89c8d91e31f267703e365593f6bfebb9f6d2ad01.  The `tty_lock` and
`tty_unlock` functions now take a `tty` object as an argument.
2017-03-05 12:46:16 +10:00
8ecc4c8f15
serial_core: Move termios into tty.
In commit adc8d746caa67fff4b53ba3e5163a6cbacc3b523 the termios object
becomes a struct member instead of a pointer.
2017-03-05 12:42:34 +10:00
b5ab2a9eb8
8250: Rename data structures and functions.
They might have been 8250-related functions and structures to begin
with, but they have been forked.  So substitute `serial_8250` → `adv950`
and similarly rename `adv_` prefix functions to `adv950` so we don't
confuse ourselves.

This resolves a naming clash with `struct uart_8250_port`, introduced in
commit ce7240e445303de3ca66e6d08f17a2ec278a5bf6.
2017-03-05 12:25:40 +10:00
270fd28af7
serial_core: Drop refrences to tty_locked
As per 906cbe1364d94da7cbf74c1d05e3e78b2883f661.
2017-03-05 11:24:29 +10:00
7196e3f54d
8250: Remove DesignWare UART work-arounds
Again, as per 4834d028978583dfe8e1fc19f1180ceb03d8dfb7.
2017-03-05 11:13:05 +10:00
157b5ca846
serial_core: Remove DesignWare UART work-arounds.
As per 4834d028978583dfe8e1fc19f1180ceb03d8dfb7, in fact this code
should never have been *in* the Advantech driver in the first place.
2017-03-05 11:11:36 +10:00
c7e37585f3
serial_core: Drop references to state->tlet
As per 6a3e492b6daaf7ec4dc41e51d87d2aae8ff886f2.
2017-03-05 10:53:33 +10:00
98f879a253
Initial check-in, Advantech ADV950 serial driver v3.33.
This is a check-in of the Advantech ADV950 serial driver, used with the
UNO-1150 series of industrial computers, as sourced from:

http://support.advantech.com/support/DownloadSRDetail_New.aspx?SR_ID=1-GLBRCD&Doc_Source=Download

This builds with kernel 3.0.1, but does not build with contemporary
kernels (i.e. ones that are still in support).

I suspect this is a hacked up version of Russel King's 8250 serial
driver from 2001.  First step, let's get it building against the current
kernel (v4.10.1) and then we'll look at integrating this into 8250
proper.
2017-03-05 10:29:50 +10:00
Stuart Longland
4edd4fc438 Initial commit 2017-03-05 10:27:45 +10:00