]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/sgiseeq.c
Linux 2.6.28-rc1
[linux-2.6-omap-h63xx.git] / drivers / net / sgiseeq.c
index c69bb8ba8b643e48819beffb33cf22221165d7fd..6261201403cdd143ca592a880ca5052c167522d9 100644 (file)
@@ -193,7 +193,7 @@ static int seeq_init_ring(struct net_device *dev)
 
        /* And now the rx ring. */
        for (i = 0; i < SEEQ_RX_BUFFERS; i++) {
-               if (!sp->rx_desc[i].rdma.pbuf) {
+               if (!sp->rx_desc[i].skb) {
                        dma_addr_t dma_addr;
                        struct sk_buff *skb = netdev_alloc_skb(dev, PKT_BUF_SZ);
 
@@ -825,7 +825,8 @@ static struct platform_driver sgiseeq_driver = {
        .probe  = sgiseeq_probe,
        .remove = __devexit_p(sgiseeq_remove),
        .driver = {
-               .name   = "sgiseeq"
+               .name   = "sgiseeq",
+               .owner  = THIS_MODULE,
        }
 };
 
@@ -850,3 +851,4 @@ module_exit(sgiseeq_module_exit);
 MODULE_DESCRIPTION("SGI Seeq 8003 driver");
 MODULE_AUTHOR("Linux/MIPS Mailing List <linux-mips@linux-mips.org>");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:sgiseeq");