B0_CTST is a 24bit register according to the vendor driver (sk98lin). A 16bit read on B0_CTST will always return 0 for Y2_VAUX_AVAIL (1<<16), so use a 32bit read when testing Y2_VAUX_AVAIL. [This patch is copied directly from the Linux kernel tree.] Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
||
| 246 | 246 |
|
| 247 | 247 |
|
| 248 | 248 |
|
| 249 |
|
|
| 249 |
|
|
| 250 | 250 |
|
| 251 | 251 |
|
| 252 | 252 |
|
|
||
| 294 | 294 |
|
| 295 | 295 |
|
| 296 | 296 |
|
| 297 |
|
|
| 297 |
|
|
| 298 | 298 |
|
| 299 | 299 |
|
| 300 | 300 |
|