| .. | .. |
|---|
| 1883 | 1883 | } |
|---|
| 1884 | 1884 | par->res_flags |= MMIO_REQ; |
|---|
| 1885 | 1885 | |
|---|
| 1886 | | - par->mmio_start_virtual = ioremap_nocache(par->mmio_start_phys, |
|---|
| 1886 | + par->mmio_start_virtual = ioremap(par->mmio_start_phys, |
|---|
| 1887 | 1887 | MMIO_SIZE); |
|---|
| 1888 | 1888 | if (!par->mmio_start_virtual) { |
|---|
| 1889 | 1889 | printk("i810fb_init: cannot remap mmio region\n"); |
|---|
| .. | .. |
|---|
| 1966 | 1966 | |
|---|
| 1967 | 1967 | while ((this_opt = strsep(&options, ",")) != NULL) { |
|---|
| 1968 | 1968 | if (!strncmp(this_opt, "mtrr", 4)) |
|---|
| 1969 | | - mtrr = 1; |
|---|
| 1969 | + mtrr = true; |
|---|
| 1970 | 1970 | else if (!strncmp(this_opt, "accel", 5)) |
|---|
| 1971 | | - accel = 1; |
|---|
| 1971 | + accel = true; |
|---|
| 1972 | 1972 | else if (!strncmp(this_opt, "extvga", 6)) |
|---|
| 1973 | | - extvga = 1; |
|---|
| 1973 | + extvga = true; |
|---|
| 1974 | 1974 | else if (!strncmp(this_opt, "sync", 4)) |
|---|
| 1975 | | - sync = 1; |
|---|
| 1975 | + sync = true; |
|---|
| 1976 | 1976 | else if (!strncmp(this_opt, "vram:", 5)) |
|---|
| 1977 | 1977 | vram = (simple_strtoul(this_opt+5, NULL, 0)); |
|---|
| 1978 | 1978 | else if (!strncmp(this_opt, "voffset:", 8)) |
|---|
| .. | .. |
|---|
| 1998 | 1998 | else if (!strncmp(this_opt, "vsync2:", 7)) |
|---|
| 1999 | 1999 | vsync2 = simple_strtoul(this_opt+7, NULL, 0); |
|---|
| 2000 | 2000 | else if (!strncmp(this_opt, "dcolor", 6)) |
|---|
| 2001 | | - dcolor = 1; |
|---|
| 2001 | + dcolor = true; |
|---|
| 2002 | 2002 | else if (!strncmp(this_opt, "ddc3", 4)) |
|---|
| 2003 | 2003 | ddc3 = true; |
|---|
| 2004 | 2004 | else |
|---|