printk("%s: ethernet ", dev->name); for (j = 0; (j < 5); j++) printk("%02x:", dev->dev_addr[j]); printk("%02x\n", dev->dev_addr[5]);
static int __init fec_enet_module_init(void){	struct net_device *dev;	int i, err;	for (i = 0; (i < FEC_MAX_PORTS); i++) {		dev = alloc_etherdev(sizeof(struct fec_enet_private));		if (!dev)			return -ENOMEM;		err = fec_enet_init(dev);		if (err) {			free_netdev(dev);			continue;		}		if (register_netdev(dev) != 0) {			/* XXX: missing cleanup here */			free_netdev(dev);			return -EIO;		}	}	return 0;}