QNX Driver

Dear All,
I am porting CN8478 HDLC controller driver for Linux to QNX. I am having a
problem porting the same. If anybody has the driver please let me know. In
addition, I am to put it any category. The Linux driver uses socket buffer
(skb structure) for the same. As far as I am able to understand the Linux
driver is treating the HDLC controller as network device. Should I use
io-net structure and treat the device as network device or should I use any
other category. Thanks in advance
Regards
Moreshwar

Moreshwar Salpekar <moreshwars@hotmail.com> wrote:

Dear All,
I am porting CN8478 HDLC controller driver for Linux to QNX. I am having a
problem porting the same. If anybody has the driver please let me know. In
addition, I am to put it any category. The Linux driver uses socket buffer
(skb structure) for the same. As far as I am able to understand the Linux
driver is treating the HDLC controller as network device. Should I use
io-net structure and treat the device as network device or should I use any
other category. Thanks in advance

What is a CN8478 HDLC controller?

Actually, I did a bit of googling…

High-Level Data Link Control…

Better question…what are you going to be using this for?

How you structure your driver for QNX is going to depend on what you
want to do with it.

In bringing over the driver from Linux, you will probably find that
the client-side (how you get data to transmit, how pass received
data to a client/application from your driver) will have to be
re-worked, but that the hardware handling code will be the most
useful component – which registers to hit, etc.

-David

Please follow-up to newsgroup, rather than personal email.
David Gibbs
QNX Training Services
dagibbs@qnx.com

David Gibbs wrote:

What is a CN8478 HDLC controller?

Actually, I did a bit of googling…

High-Level Data Link Control…

Consider it a comport with some setup differences.

I presume PPP is the method of choice to put TCP/IP over comports.

Sorry for so long delay but yes it is High Level Data Link Control driver.
The problem is that Mindspeed (make of the chip CN8478) are using network
functions and sk_buff structure so I am using io-net. I am advertising it as
PPP driver that’s all. I am not sure whether I am doing right thing.

Another thing is when I try to debug with gdb all it get is error _err_ker()
(sorry if I spelt wrong it is something _err_ker or something with ker and
err) with SIGSEGV fault. Could anyone tell what’s gone wrong (it seems
horrible as my system hangs after that).
Regards
Moreshwar
“Evan Hillas” <blarg@blarg.blarg> wrote in message
news:cg0dmq$5o9$1@inn.qnx.com

David Gibbs wrote:
What is a CN8478 HDLC controller?

Actually, I did a bit of googling…

High-Level Data Link Control…


Consider it a comport with some setup differences.

I presume PPP is the method of choice to put TCP/IP over comports.