mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 19:08:58 +00:00
Fix compilation on ISA only setups...
This commit is contained in:
parent
ca7d2b82e1
commit
96478887ff
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56754
@ -48,6 +48,8 @@
|
||||
#include <dev/ata/ata-all.h>
|
||||
#include <dev/ata/ata-disk.h>
|
||||
|
||||
#if NPCI > 0
|
||||
|
||||
/* prototypes */
|
||||
static void promise_timing(struct ata_softc *, int32_t, int32_t);
|
||||
static void hpt366_timing(struct ata_softc *, int32_t, int32_t);
|
||||
@ -58,8 +60,6 @@ static void hpt366_timing(struct ata_softc *, int32_t, int32_t);
|
||||
#define vtophys(va) alpha_XXX_dmamap((vm_offset_t)va)
|
||||
#endif
|
||||
|
||||
#if NPCI > 0
|
||||
|
||||
void
|
||||
ata_dmainit(struct ata_softc *scp, int32_t device,
|
||||
int32_t apiomode, int32_t wdmamode, int32_t udmamode)
|
||||
@ -652,11 +652,10 @@ hpt366_timing(struct ata_softc *scp, int32_t devno, int32_t mode)
|
||||
|
||||
#else /* NPCI > 0 */
|
||||
|
||||
int32_t
|
||||
void
|
||||
ata_dmainit(struct ata_softc *scp, int32_t device,
|
||||
int32_t piomode, int32_t wdmamode, int32_t udmamode)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
int32_t
|
||||
|
Loading…
Reference in New Issue
Block a user