T5240 onboard ethernet detection...

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

 



This machine uses NIU as the onboard ethernet, but for
whatever reason the debian installer couldn't find it
in the stable install images.

The debian kernel does have the driver built into it, so it's
something to do with detection by device IDs or whatever I suppose.

NIU can appear on sparc64 in two forms.  Either as a PCI device, or as
an OpenFirmware device.

The driver module does have the proper device recognition tags, one
for PCI:

static struct pci_device_id niu_pci_tbl[] = {
	{PCI_DEVICE(PCI_VENDOR_ID_SUN, 0xabcd)},
	{}
};

MODULE_DEVICE_TABLE(pci, niu_pci_tbl);

and one for OpenFirmware:

static const struct of_device_id niu_match[] = {
	{
		.name = "network",
		.compatible = "SUNW,niusl",
	},
	{},
};
MODULE_DEVICE_TABLE(of, niu_match);

The module did load properly when I booted into the installation.

This machine has the PCI variant of the device.

Perhaps the presence of two different kinds of device tables in the
same kernel module is confusing the logic the installer uses to detect
the ethernet device during installation?
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux