lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110105085930.676fa5ce.randy.dunlap@oracle.com>
Date:	Wed, 5 Jan 2011 08:59:30 -0800
From:	Randy Dunlap <randy.dunlap@...cle.com>
To:	Angelo Dureghello <angelo70@...il.com>
Cc:	linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [RFC PATCH] m68knommu: added dm9000 support

On Wed, 05 Jan 2011 17:48:36 +0100 Angelo Dureghello wrote:

> This patch allows to use the dm9000 network chip with a m68knommu 
> big-endian cpu. From the HW point of view, the cpu data bus connected to 
> the dm9000 chip should be hardware-byte-swapped, crossing the bytes 
> wires (D0:7 to D24:31, etc.). In anyway, has been also added an option 
> to swap the bytes in the driver, if some cpu has been wired straight 
> D0:D31 to dm9000.
> 
> Signed-off-by: Angelo Dureghello <angelo70@...il.com>
> ---
> 
> --- drivers/net/Kconfig.orig  2011-01-05 17:11:37.992376124 +0100
> +++ drivers/net/Kconfig 2011-01-04 22:33:14.132301872 +0100

File names should begin at top level of linux kernel source tree, like this e.g.:

> --- linux/drivers/net/Kconfig.orig  2011-01-05 17:11:37.992376124 +0100
> +++ linux/drivers/net/Kconfig 2011-01-04 22:33:14.132301872 +0100


> @@ -960,7 +960,7 @@ config TI_DAVINCI_EMAC
> 
>   config DM9000
>     tristate "DM9000 support"
> -  depends on ARM || BLACKFIN || MIPS
> +  depends on COLDFIRE || ARM || BLACKFIN || MIPS
>     select CRC32
>     select MII
>     ---help---

Something has modified tab(s) to spaces in this patch, so the patch won't
apply cleanly.  See if Documentation/email-clients.txt can help you.

Oh, are you using the gmail web-based email client?  That won't work
for kernel patches.  You could use gmail via SMTP.


> @@ -986,6 +986,14 @@ config DM9000_FORCE_SIMPLE_PHY_POLL
>       costly MII PHY reads. Note, this will not work if the chip is
>       operating with an external PHY.
> 
> +config DM9000_32BIT_SW_SWAP
> +  bool "Software byte swap for 32 bit data bus"
> +  depends on DM9000 && COLDFIRE
> +  ---help---
> +    This configuration allows to swap data bytes from the dm9000
> +    driver itself, when the big endian cpu is wired straight to
> +    the dm9000 32 bit data bus.
> +
>   config ENC28J60
>     tristate "ENC28J60 support"
>     depends on EXPERIMENTAL && SPI && NET_ETHERNET


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
desserts:  http://www.xenotime.net/linux/recipes/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ