/* Returns a string indicating which of the WAN, LAN or HPNA ports this device is likely to represent.  */
static const char* ks8695_port_type(struct ks8695_priv *ksp)
/* Returns a string indicating which of the WAN, LAN or HPNA ports this device is likely to represent.  */
static const char* ks8695_port_type(struct ks8695_priv *ksp)
{
	switch (ksp->dtype) {
	case KS8695_DTYPE_LAN:
		return "LAN";
	case KS8695_DTYPE_WAN:
		return "WAN";
	case KS8695_DTYPE_HPNA:
		return "HPNA";
	}
	return "UNKNOWN";
}