- /* DMZ LED */
- val = 0x80000000 | (7 << 11) | ((0x48));
- outl(val, RDC3210_CFGREG_ADDR);
- udelay(10);
- val = inl(RDC3210_CFGREG_DATA);
-
- val |= (0x1 << DMZ_GPIO);
- outl(val, RDC3210_CFGREG_DATA);
- udelay(10);
-
- val = 0x80000000 | (7 << 11) | ((0x4C));
- outl(val, RDC3210_CFGREG_ADDR);
- udelay(10);
- val = inl(RDC3210_CFGREG_DATA);
- if(args[0]&(1<<23)) /* DMZ enabled */
- val &= ~(0x1 << DMZ_GPIO); /* low activated */
- else val |= (0x1 << DMZ_GPIO);
- outl(val, RDC3210_CFGREG_DATA);
- udelay(10);
- }
- return 0;