1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

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.
This commit is contained in:
Julian Elischer 2002-02-06 19:35:37 +00:00
parent 98fb650380
commit 4ad88f2ca4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=90318
4 changed files with 9 additions and 3 deletions

View File

@ -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 */

View File

@ -107,7 +107,7 @@ ar_probe(struct ad_softc *adp) {
}
void
ar_attach()
atar_attach()
{
struct ar_softc *raid;
dev_t dev;

View File

@ -206,5 +206,5 @@ struct promise_raid_conf {
} __attribute__((packed));
int ar_probe(struct ad_softc *);
void ar_attach(void);
void atar_attach(void);

View File

@ -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)
{