Enabled use of real Napalm bus

This commit is contained in:
koolsmoky
2004-04-28 17:54:35 +00:00
parent 0cbd7ad567
commit 18720fa683

View File

@@ -361,7 +361,8 @@ unsigned long gpio_output_clock (hwcBoardInfo *bInfo,
b3 = BUILD_BYTE(v, 1, 7);
b3 |= BUILD_BYTE(r, 0x7F, 0);
if (gpio_init(&GpioMask, /*pDev->dwBus*/2/*666*/))
/* Use the bus number embedded at deviceNum[5:12]. */
if (gpio_init(&GpioMask, /*pDev->dwBus*//*2*//*666*/(bInfo->deviceNum >> 5) & 0xFF))
gpio_send_byte(&GpioMask, b1, b2, b3);
return 0;