[prev in list] [next in list] [prev in thread] [next in thread] 

List:       soekris-tech
Subject:    Re: [Soekris] FYI - For Net6501 I am testing a Linux kernel patch
From:       Karl Auerbach <karl () iwl ! com>
Date:       2011-11-08 20:44:57
Message-ID: 4EB994C9.3 () iwl ! com
[Download RAW message or body]


I've now got Linux 3.0.8 up and running (in 32-bit mode) on the Net6501.

I had to apply the patch below to fix the kernel panic problem.

I suspect that this patch will be in the next Linux kernel release.

	--karl--


> From: Alan Cox <alan@linux.intel.com>
> 
> The 8250 PCI driver was updated to be smart about the EG20T devices. If the
> right driver is included the kernel 8250 driver skips these ports and they
> are driven in native mode. If they are not then it should drive them as
> 8250 ports.
> 
> Unfortunately the patch to do this forgot to set the setup method so
> instead in this specific instance the kernel instead jumps to fishkill.
> 
> Add the setup pointers.
> 
> Reported-by: Karl Auerbach <karl@iwl.com>
> Signed-off-by: Alan Cox <alan@linux.intel.com>
> ---
> 
>  drivers/tty/serial/8250_pci.c |    9 +++++++++
>  1 files changed, 9 insertions(+), 0 deletions(-)
> 
> 
> diff --git a/drivers/tty/serial/8250_pci.c b/drivers/tty/serial/8250_pci.c
> index 3abeca2..55677b9 100644
> --- a/drivers/tty/serial/8250_pci.c
> +++ b/drivers/tty/serial/8250_pci.c
> @@ -1558,46 +1558,55 @@ static struct pci_serial_quirk pci_serial_quirks[] __refdata = {
>  		.vendor         = PCI_VENDOR_ID_INTEL,
>  		.device         = 0x8811,
>  		.init		= pci_eg20t_init,
> +		.setup		= pci_default_setup,
>  	},
>  	{
>  		.vendor         = PCI_VENDOR_ID_INTEL,
>  		.device         = 0x8812,
>  		.init		= pci_eg20t_init,
> +		.setup		= pci_default_setup,
>  	},
>  	{
>  		.vendor         = PCI_VENDOR_ID_INTEL,
>  		.device         = 0x8813,
>  		.init		= pci_eg20t_init,
> +		.setup		= pci_default_setup,
>  	},
>  	{
>  		.vendor         = PCI_VENDOR_ID_INTEL,
>  		.device         = 0x8814,
>  		.init		= pci_eg20t_init,
> +		.setup		= pci_default_setup,
>  	},
>  	{
>  		.vendor         = 0x10DB,
>  		.device         = 0x8027,
>  		.init		= pci_eg20t_init,
> +		.setup		= pci_default_setup,
>  	},
>  	{
>  		.vendor         = 0x10DB,
>  		.device         = 0x8028,
>  		.init		= pci_eg20t_init,
> +		.setup		= pci_default_setup,
>  	},
>  	{
>  		.vendor         = 0x10DB,
>  		.device         = 0x8029,
>  		.init		= pci_eg20t_init,
> +		.setup		= pci_default_setup,
>  	},
>  	{
>  		.vendor         = 0x10DB,
>  		.device         = 0x800C,
>  		.init		= pci_eg20t_init,
> +		.setup		= pci_default_setup,
>  	},
>  	{
>  		.vendor         = 0x10DB,
>  		.device         = 0x800D,
>  		.init		= pci_eg20t_init,
> +		.setup		= pci_default_setup,
>  	},
>  	/*
>  	 * Cronyx Omega PCI (PLX-chip based)
> 
_______________________________________________
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic