There is no atdevbase on the alpha. Hide this case statement on alpha until

the design/implementation is complete.
This commit is contained in:
Matt Jacob 2000-06-23 22:47:17 +00:00
parent 8c14a611a4
commit f3a31172db

View File

@ -544,8 +544,10 @@ crdioctl(dev_t dev, u_long cmd, caddr_t data, int fflag, struct proc *p)
case PIOCRWFLAG:
slt->rwmem = *(int *)data;
break;
#ifndef __alpha__
/*
* Set the memory window to be used for the read/write interface.
* Not available on the alpha.
*/
case PIOCRWMEM:
if (*(unsigned long *)data == 0) {
@ -571,6 +573,7 @@ crdioctl(dev_t dev, u_long cmd, caddr_t data, int fflag, struct proc *p)
(unsigned char *)(void *)(uintptr_t)
(pccard_mem + atdevbase - IOM_BEGIN);
break;
#endif
/*
* Set power values.
*/