Skip to contentSkip to conversation

drivers/usb/serial/whiteheat.c:1209: `CMSPAR' undeclared

DISCUSSION Olaf Hering 2 participants 2 messages Oct 15, 2003 – Nov 14, 2003 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 7 lines · Greg KH
Quoted 6 lines · Olaf Hering

Greg,

maybe I asked that once, but:
is there a fix?

Quoted 7 lines
Quoted 3 lines

CC [M] drivers/usb/serial/whiteheat.o
drivers/usb/serial/whiteheat.c: In function `firm_setup_port':
drivers/usb/serial/whiteheat.c:1209: `CMSPAR' undeclared (first use in this function)

That's defined in <asm/termbits.h>

What platform are you building this on?

I'm building on ppc32. A grep showed that alpha, ppc, and ppc64 do not have this define. google wasnt very helpful, 'CMSPAR ppc' shows one patch to add it and acm.c which just defines it to 0.

So the question is, what should be changed?

whitehead.c to use something else? whitehead.c to add arch specific defines? asm/termbits.h to add some dummy defines? disable whitehead.o for alpha, ppc, ppc64 in Kconfig?

--
USB is for mice, FireWire is for men!

sUse lINUX ag, nÜRNBERG

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#3 lore raw
Quoted 15 lines · Olaf Hering
Quoted 13 lines · Greg KH
Quoted 9 lines · Olaf Hering

Greg,

maybe I asked that once, but:
is there a fix?

CC [M] drivers/usb/serial/whiteheat.o
drivers/usb/serial/whiteheat.c: In function `firm_setup_port':
drivers/usb/serial/whiteheat.c:1209: `CMSPAR' undeclared (first use in this function)

That's defined in <asm/termbits.h>

Quoted 7 lines
Quoted 1 line

What platform are you building this on?

I'm building on ppc32. A grep showed that alpha, ppc, and ppc64 do not have this define. google wasnt very helpful, 'CMSPAR ppc' shows one patch to add it and acm.c which just defines it to 0.

So the question is, what should be changed?

Fix up the archs that do not define this? That would probably be the best thing to do.

thanks,

greg k-h

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/