Re: RTEMS classic networking: fixed FXP driver works under QEMU on Linux

2016-09-20 Thread Sebastian Huber
Hello Pavel, the interrupt server with the simple interrupt vector disable/enable via the interrupt controller is an easy solution that worked on all boards I used so far with the libbsd. However, it certainly doesn't work on all systems. It allowed to easily use the FreeBSD device drivers whi

Re: RTEMS classic networking: fixed FXP driver works under QEMU on Linux

2016-09-20 Thread Chris Johns
On 21/09/2016 09:47, Pavel Pisa wrote: Hello all, the driver works after hours of problem seeking in incorrect directions. I have debugged, examined and patched both, RTEMS and QEMU. The main problem is quite simple. Update of RTEMS interrupts processing disable level type interrupts when they

Re: RTEMS classic networking: fixed FXP driver works under QEMU on Linux

2016-09-20 Thread Pavel Pisa
Hello all, the driver works after hours of problem seeking in incorrect directions. I have debugged, examined and patched both, RTEMS and QEMU. The main problem is quite simple. Update of RTEMS interrupts processing disable level type interrupts when they arrive and the driver/daemon has to re-en

[PATCH] classic networking: adapt FXP driver to work with actual PCI

2016-09-20 Thread Pavel Pisa
From: Pavel Pisa Tested to work with QEMU provided Intel i82557b network controller emulation. qemu-system-x86_64 -enable-kvm -kernel $APP_BINARY \ -vga cirrus \ -append "--console=/dev/com1" \ -serial stdio \ -net nic,vlan=1,macaddr=be:be:be:10:00:01,model=i82557b \

Re: [PATCH] cpukit: Add nxp-sc16is752 serial device driver

2016-09-20 Thread Chris Johns
On 20/09/2016 5:24 PM, Sebastian Huber wrote: > On 20/09/16 09:12, Chris Johns wrote: >> On 20/09/2016 17:03, Sebastian Huber wrote: >>> >>> We have a Termios device driver chapter: >>> >>> https://docs.rtems.org/doc-current/share/rtems/html/bsp_howto/Console-Driver.html#Console-Driver >>> >> >> I

Re: [PATCH] cpukit: Add nxp-sc16is752 serial device driver

2016-09-20 Thread Sebastian Huber
On 20/09/16 09:12, Chris Johns wrote: On 20/09/2016 17:03, Sebastian Huber wrote: We have a Termios device driver chapter: https://docs.rtems.org/doc-current/share/rtems/html/bsp_howto/Console-Driver.html#Console-Driver I was thinking of a few points to look at when updating a BSP. M

Re: [PATCH] cpukit: Add nxp-sc16is752 serial device driver

2016-09-20 Thread Chris Johns
On 20/09/2016 17:03, Sebastian Huber wrote: We have a Termios device driver chapter: https://docs.rtems.org/doc-current/share/rtems/html/bsp_howto/Console-Driver.html#Console-Driver I was thinking of a few points to look at when updating a BSP. Are the new RTEMS docs now available for 4.12

Re: [PATCH] cpukit: Add nxp-sc16is752 serial device driver

2016-09-20 Thread Sebastian Huber
On 20/09/16 08:52, Chris Johns wrote: On 20/09/2016 02:13, Sebastian Huber wrote: With the recent change for the new Termios device driver model its easier to move the existing console drivers, since there is no need to maintain major/minor numbers anymore. The drawback is that you have t