From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpa1.aruba.it (smtpa1.aruba.it [62.149.128.210]) by ozlabs.org (Postfix) with SMTP id A60B967D2B for ; Tue, 31 Oct 2006 06:13:48 +1100 (EST) From: Antonio Di Bacco To: linuxppc-embedded@ozlabs.org Subject: enabling MDIO on ppc/8xx_io/fec.c causes ioctl problems Date: Mon, 30 Oct 2006 20:07:29 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-Id: <200610302007.30041.antonio.dibacco@aruba.it> List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , I enabled the use of MDIO in the fec.c driver but now the driver doesn't handle some ioctls that ifconfig sends to it. I saw that there is this code snippet in the driver: #ifdef CONFIG_USE_MDIO dev->do_ioctl = fec_enet_ioctl; for (i=0; i