Google
  Web www.spinics.net

Re: hss channellized driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi,

Davide Di Gesualdo <davide.digesualdo@xxxxxxxxxxxxxxxx> writes:

> I'm working on a hss driver for ixdpg425 Intel board; I want to use 
> channellized configuration, and I'd need to know the simplest way to 
> access rx/tx buffer of the device.

I don't know IXDPG HSS hardware. My driver supports channelized mode
for HSS connected directly to the device (no framer, no multiplexing).
It's a bit experimental, though, don't expect stable interface.

Access is through a /dev/hssXchY character device, you'd need to look
at /sys/devices/platform/ixp4xx_hss.*/* files first.

> Moreover, I've seen Krzysztof Halasa's hss driver uses "qmgr_get_entry" 
> in order to get rx_frame and tx_list: what do they exactly are, and how 
> are they used?

HSS signals it's approximate TX and RX position in circular buffers
using the queue. The firmware interface is quite messy and fragile.

> At last, how memory in HSS device is organized? (I mean as for tx/rx 
> buffers).

Circular buffers, every timeslot has 16 or so byte-wide consecutive
buffers. There is also a TX list (also circular) required. For details
see the source.
-- 
Krzysztof Halasa

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

[Site Home]     [Linux Arm]     [Fedora ARM]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [PDAs]     [Linux]     [Linux Book List]     [Linux MIPS]     [Yosemite Campsites]     [Photos]

Add to Google Google PageRank Checking tool