The module will be called dscc4. For general information about
modules read <file:Documentation/modules.txt>.
+config DSCC4_PCISYNC
+ bool "Etinc PCISYNC features"
+ depends on DSCC4
+ help
+ Due to Etinc's design choice for its PCISYNC cards, some operations
+ are only allowed on specific ports of the DSCC4. This option is the
+ only way for the driver to know that it shouldn't return a success
+ code for these operations.
+
+ Please say Y if your card is an Etinc's PCISYNC.
+
config DSCC4_PCI_RST
bool "Hard reset support"
depends on DSCC4
skb = dev_alloc_skb(len);
dpriv->rx_skbuff[dirty] = skb;
if (skb) {
- skb->dev = dev;
- skb->protocol = hdlc_type_trans(skb, dev);
- skb->mac.raw = skb->data;
+ skb->dev = dev;
+ skb->protocol = hdlc_type_trans(skb, dev);
+ skb->mac.raw = skb->data;
rx_fd->data = pci_map_single(dpriv->pci_priv->pdev, skb->data,
len, PCI_DMA_FROMDEVICE);
} else {
{
int ret = 0;
-#ifdef CONFIG_DSCC4_CLOCK_ON_TWO_PORTS_ONLY
+#ifdef CONFIG_DSCC4_PCISYNC
if (port >= 2)
ret = -1;
#endif
if (dpriv->flags & FakeReset) {
printk(KERN_INFO "%s: please reset the device"
- "before this command\n", dev->name);
+ " before this command\n", dev->name);
return -EPERM;
}
if (copy_from_user(&dpriv->settings, line, size))