summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pccard.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-07-06 05:52:59 +0000
committerimp <imp@FreeBSD.org>2001-07-06 05:52:59 +0000
commitfd367e43b024253e28b66ce34f5625eb5e24199a (patch)
tree66e6538e4004beaabd6b7fac8d09f7c374b8003d /sys/pccard/pccard.c
parent5a45dafeb0be4948dae2ce92ee58531e94020764 (diff)
downloadFreeBSD-src-fd367e43b024253e28b66ce34f5625eb5e24199a.zip
FreeBSD-src-fd367e43b024253e28b66ce34f5625eb5e24199a.tar.gz
Cleanup some obsolete comments
Diffstat (limited to 'sys/pccard/pccard.c')
-rw-r--r--sys/pccard/pccard.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/pccard/pccard.c b/sys/pccard/pccard.c
index 505f3b4..752ce0a 100644
--- a/sys/pccard/pccard.c
+++ b/sys/pccard/pccard.c
@@ -72,8 +72,10 @@ static void power_off_slot(void *);
* The driver interface for read/write uses a block
* of memory in the ISA I/O memory space allocated via
* an ioctl setting.
+ *
+ * Now that we have different bus attachments, we should really
+ * use a better algorythm to allocate memory.
*/
-/* XXX this should be in pcic */
static unsigned long pccard_mem; /* Physical memory */
static unsigned char *pccard_kmem; /* Kernel virtual address */
static struct resource *pccard_mem_res;
@@ -133,7 +135,6 @@ power_off_slot(void *arg)
static void
disable_slot(struct slot *slt)
{
- /* XXX Need to store pccarddev in slt. */
device_t pccarddev;
device_t *kids;
int nkids;
OpenPOWER on IntegriCloud