Fix warnings about casting const pointers.
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Fri, 13 Feb 2004 22:12:34 +0000 (22:12 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Fri, 13 Feb 2004 22:12:34 +0000 (22:12 +0000)
commit6ac1f49dd6f659c8774fea24686ff185e0797993
treee00fcb8fdce5918373ded70c2ebdf3f27f60661d
parent1f18ea8c9e03fa628f7da64080514aa3f9b0e708
Fix warnings about casting const pointers.
Adjust the pccard_get_IVAR to return the wanted value, instead of
writing it to a result pointer. This fellows to practice of the other
bus interfaces.
Adjust pccard_get_ethaddr to return a pointer to the actual hardware
address instead of interpreting result as pointer to a memory region.
sys/bus/pccard/pccard.c
sys/bus/pccard/pccardvar.h
sys/dev/netif/ed/if_ed_pccard.c
sys/dev/netif/ex/if_ex_pccard.c
sys/dev/netif/fe/if_fe_pccard.c
sys/dev/netif/sn/if_sn_pccard.c
sys/dev/netif/snc/if_snc_pccard.c