rio-scan.c (5024622f583eb242ed8040d0b9d1e0d2458d1db8) | rio-scan.c (b6cb95e8eb97e51a1a1b5609b59df859cc6dc2f2) |
---|---|
1/* 2 * RapidIO enumeration and discovery support 3 * 4 * Copyright 2005 MontaVista Software, Inc. 5 * Matt Porter <mporter@kernel.crashing.org> 6 * 7 * Copyright 2009 Integrated Device Technology, Inc. 8 * Alex Bounine <alexandre.bounine@idt.com> --- 960 unchanged lines hidden (view full) --- 969{ 970 if (rio_is_switch(rdev) && (rdev->em_efptr) && 971 rdev->rswitch->ops && rdev->rswitch->ops->em_init) { 972 rdev->rswitch->ops->em_init(rdev); 973 } 974} 975 976/** | 1/* 2 * RapidIO enumeration and discovery support 3 * 4 * Copyright 2005 MontaVista Software, Inc. 5 * Matt Porter <mporter@kernel.crashing.org> 6 * 7 * Copyright 2009 Integrated Device Technology, Inc. 8 * Alex Bounine <alexandre.bounine@idt.com> --- 960 unchanged lines hidden (view full) --- 969{ 970 if (rio_is_switch(rdev) && (rdev->em_efptr) && 971 rdev->rswitch->ops && rdev->rswitch->ops->em_init) { 972 rdev->rswitch->ops->em_init(rdev); 973 } 974} 975 976/** |
977 * rio_pw_enable - Enables/disables port-write handling by a master port 978 * @port: Master port associated with port-write handling 979 * @enable: 1=enable, 0=disable 980 */ 981static void rio_pw_enable(struct rio_mport *port, int enable) 982{ 983 if (port->ops->pwenable) 984 port->ops->pwenable(port, enable); 985} 986 987/** | |
988 * rio_enum_mport- Start enumeration through a master port 989 * @mport: Master port to send transactions 990 * @flags: Enumeration control flags 991 * 992 * Starts the enumeration process. If somebody has enumerated our 993 * master port device, then give up. If not and we have an active 994 * link, then start recursive peer enumeration. Returns %0 if 995 * enumeration succeeds or %-EBUSY if enumeration fails. --- 212 unchanged lines hidden --- | 977 * rio_enum_mport- Start enumeration through a master port 978 * @mport: Master port to send transactions 979 * @flags: Enumeration control flags 980 * 981 * Starts the enumeration process. If somebody has enumerated our 982 * master port device, then give up. If not and we have an active 983 * link, then start recursive peer enumeration. Returns %0 if 984 * enumeration succeeds or %-EBUSY if enumeration fails. --- 212 unchanged lines hidden --- |