From 021d8e63a1879a46bf287d200af7cde8f8463a73 Mon Sep 17 00:00:00 2001 From: julian Date: Wed, 6 Feb 2002 19:35:37 +0000 Subject: Make LINT compile after fruitless attempts to get the authors to fix their code. ata stuff: Change name of ar_attach to not colide with existing ar_attach in if_ar.c. usb stuff: Create a dummy function to satisfy a call to it when in DEBUG mode. --- sys/dev/ata/ata-all.c | 2 +- sys/dev/ata/ata-raid.c | 2 +- sys/dev/ata/ata-raid.h | 2 +- sys/dev/usb/uhci.c | 6 ++++++ 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/sys/dev/ata/ata-all.c b/sys/dev/ata/ata-all.c index 10c5381..7774c69 100644 --- a/sys/dev/ata/ata-all.c +++ b/sys/dev/ata/ata-all.c @@ -531,7 +531,7 @@ ata_boot_attach(void) if (ch->devices & ATA_ATA_SLAVE) ad_attach(&ch->device[SLAVE]); } - ar_attach(); + atar_attach(); #endif #if defined(DEV_ATAPICD) || defined(DEV_ATAPIFD) || defined(DEV_ATAPIST) /* then the atapi devices */ diff --git a/sys/dev/ata/ata-raid.c b/sys/dev/ata/ata-raid.c index ba7e5cf..3aa7fd0 100644 --- a/sys/dev/ata/ata-raid.c +++ b/sys/dev/ata/ata-raid.c @@ -107,7 +107,7 @@ ar_probe(struct ad_softc *adp) { } void -ar_attach() +atar_attach() { struct ar_softc *raid; dev_t dev; diff --git a/sys/dev/ata/ata-raid.h b/sys/dev/ata/ata-raid.h index acc3eb0..06a5f8f 100644 --- a/sys/dev/ata/ata-raid.h +++ b/sys/dev/ata/ata-raid.h @@ -206,5 +206,5 @@ struct promise_raid_conf { } __attribute__((packed)); int ar_probe(struct ad_softc *); -void ar_attach(void); +void atar_attach(void); diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c index 4c3e77d..dc95b72 100644 --- a/sys/dev/usb/uhci.c +++ b/sys/dev/usb/uhci.c @@ -704,6 +704,12 @@ uhci_dumpregs(uhci_softc_t *sc) UREAD2(sc, UHCI_PORTSC2))); } +Static void +uhci_dump_ii(uhci_intr_info_t *ii) +{ + printf("Fill me in"); +} + void uhci_dump_td(uhci_soft_td_t *p) { -- cgit v1.1