If you are having difficulty installing the NetFPGA board as a system device, simply add the parameter as follows:
// Set up the network device ...
for (i = 0; i <4; i ++) {
netdev = card-> ndev [i] = alloc_netdev (sizeof (struct nf10_ndev_priv)
devname, nf10iface_init);
if (NULL == netdev) {
printk (KERN_ERR "nf10:. Could not allocate ethernet device \ n");
ret = -ENOMEM;
goto err_out_free_dev;
}
To
// Set up the network device ...
for (i = 0; i <4; i ++) {
netdev = card-> ndev [i] = alloc_netdev (sizeof (struct nf10_ndev_priv)
devname, NET_NAME_UNKNOWN, nf10iface_init);
if (NULL == netdev) {
printk (KERN_ERR "nf10:. Could not allocate ethernet device \ n");
ret = -ENOMEM;
goto err_out_free_dev;
}
This is probably because the kernel 04 arguments expected, but only 03 are provided. Thus, the error does not happen, allowing the following steps are performed "surprises".
Good job!
If you are having difficulty installing the NetFPGA board as a system device, simply add the parameter as follows:
To
This is probably because the kernel 04 arguments expected, but only 03 are provided. Thus, the error does not happen, allowing the following steps are performed "surprises". Good job!