Silence warnings.
Approved by: hm
This commit is contained in:
parent
88835c656b
commit
b5e9d21f6c
@ -27,7 +27,7 @@
|
||||
* i4b_ctl.c - i4b system control port driver
|
||||
* ------------------------------------------
|
||||
*
|
||||
* $Id: i4b_ctl.c,v 1.17 1998/12/05 18:02:39 hm Exp $
|
||||
* $Id: i4b_ctl.c,v 1.1 1998/12/27 21:46:42 phk Exp $
|
||||
*
|
||||
* last edit-date: [Sat Dec 5 17:59:15 1998]
|
||||
*
|
||||
@ -153,7 +153,7 @@ i4bctlattach()
|
||||
#ifdef DEVFS
|
||||
devfs_token = devfs_add_devswf(&i4bctl_cdevsw, 0, DV_CHR,
|
||||
UID_ROOT, GID_WHEEL, 0600,
|
||||
"i4bctl", 0);
|
||||
"i4bctl");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
* isic - I4B Siemens ISDN Chipset Driver for ELSA Quickstep 1000pro ISA
|
||||
* =====================================================================
|
||||
*
|
||||
* $Id: i4b_elsa_qs1i.c,v 1.12 1998/12/16 09:32:50 hm Exp $
|
||||
* $Id: i4b_elsa_qs1i.c,v 1.1 1998/12/27 21:46:45 phk Exp $
|
||||
*
|
||||
* last edit-date: [Mon Dec 14 17:27:08 1998]
|
||||
*
|
||||
@ -86,7 +86,7 @@
|
||||
#include <i4b/layer1/i4b_hscx.h>
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
static void i4b_eq1i_clrirq(void* base);
|
||||
/* static void i4b_eq1i_clrirq(void* base); */
|
||||
#else
|
||||
static void i4b_eq1i_clrirq(struct isic_softc *sc);
|
||||
void isic_attach_Eqs1pi __P((struct isic_softc *sc));
|
||||
@ -125,12 +125,13 @@ void isic_attach_Eqs1pi __P((struct isic_softc *sc));
|
||||
* ELSA QuickStep 1000pro/ISA clear IRQ routine
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifdef __FreeBSD__
|
||||
#ifdef notdef
|
||||
static void
|
||||
i4b_eq1i_clrirq(void* base)
|
||||
{
|
||||
outb((u_int)base + ELSA_OFF_IRQ, 0);
|
||||
}
|
||||
|
||||
#endif
|
||||
#else
|
||||
static void
|
||||
i4b_eq1i_clrirq(struct isic_softc *sc)
|
||||
|
@ -27,7 +27,7 @@
|
||||
* i4b_isic_pci.c - PCI bus interface
|
||||
* ==================================
|
||||
*
|
||||
* $Id: i4b_isic_pci.c,v 1.9 1998/12/05 18:04:48 hm Exp $
|
||||
* $Id: i4b_isic_pci.c,v 1.1 1998/12/27 21:46:46 phk Exp $
|
||||
*
|
||||
* last edit-date: [Sat Dec 5 18:24:36 1998]
|
||||
*
|
||||
@ -87,7 +87,7 @@
|
||||
#define PORT0_MAPOFF 4
|
||||
#define PORT1_MAPOFF 12
|
||||
|
||||
static char* i4b_pci_probe(pcici_t tag, pcidi_t type);
|
||||
static const char* i4b_pci_probe(pcici_t tag, pcidi_t type);
|
||||
static void i4b_pci_attach(pcici_t config_id, int unit);
|
||||
static int isic_pciattach(int unit, u_long type, u_int iobase1, u_int iobase2);
|
||||
|
||||
@ -109,7 +109,7 @@ static void isic_pci_intr_sc(struct isic_softc *sc);
|
||||
/*---------------------------------------------------------------------------*
|
||||
* PCI probe routine
|
||||
*---------------------------------------------------------------------------*/
|
||||
static char *
|
||||
static const char *
|
||||
i4b_pci_probe(pcici_t tag, pcidi_t type)
|
||||
{
|
||||
switch(type)
|
||||
|
@ -35,7 +35,7 @@
|
||||
* i4b_isic_pcmcia.c - i4b FreeBSD PCMCIA support
|
||||
* ----------------------------------------------
|
||||
*
|
||||
* $Id: i4b_isic_pcmcia.c,v 1.3 1998/12/16 09:32:50 hm Exp $
|
||||
* $Id: i4b_isic_pcmcia.c,v 1.1 1998/12/27 21:46:46 phk Exp $
|
||||
*
|
||||
* last edit-date: [Mon Dec 14 17:30:09 1998]
|
||||
*
|
||||
@ -84,6 +84,9 @@
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
#include <i4b/include/i4b_global.h>
|
||||
|
||||
extern int isicattach(struct isa_device *dev);
|
||||
extern void isicintr(int unit);
|
||||
|
||||
/*
|
||||
* PC-Card (PCMCIA) specific code.
|
||||
*/
|
||||
@ -112,7 +115,6 @@ static int isic_pccard_init(devi)
|
||||
struct pccard_devinfo *devi;
|
||||
{
|
||||
struct isa_device *is = &devi->isahd;
|
||||
struct isic_softc *sc = &isic_sc[is->id_unit];
|
||||
|
||||
if ((1 << is->id_unit) & opened)
|
||||
return(EBUSY);
|
||||
|
@ -26,7 +26,7 @@
|
||||
* i4b_itk_ix1.c - ITK ix1 micro passive card driver for isdn4bsd
|
||||
* --------------------------------------------------------------
|
||||
*
|
||||
* $Id: i4b_itk_ix1.c,v 1.1 1998/12/16 13:43:20 hm Exp $
|
||||
* $Id: i4b_itk_ix1.c,v 1.1 1998/12/27 21:46:46 phk Exp $
|
||||
*
|
||||
* last edit-date: [Wed Dec 16 14:46:36 1998]
|
||||
*
|
||||
@ -406,6 +406,7 @@ itkix1_read_reg(u_char *base, u_int offset)
|
||||
outb(port+ITK_ALE, HSCXB+offset);
|
||||
return (inb(port+ITK_HSCX_DATA));
|
||||
}
|
||||
panic("itkix1_read_reg: Fallthrough\n");
|
||||
}
|
||||
#else
|
||||
static u_int8_t itkix1_read_reg(struct isic_softc *sc, int what, bus_size_t offs)
|
||||
|
@ -27,7 +27,7 @@
|
||||
* i4b_i4bdrv.c - i4b userland interface driver
|
||||
* --------------------------------------------
|
||||
*
|
||||
* $Id: i4b_i4bdrv.c,v 1.33 1998/12/12 19:44:36 hm Exp $
|
||||
* $Id: i4b_i4bdrv.c,v 1.1 1998/12/27 21:46:52 phk Exp $
|
||||
*
|
||||
* last edit-date: [Sat Dec 5 18:35:02 1998]
|
||||
*
|
||||
@ -162,7 +162,7 @@ i4battach()
|
||||
#ifdef DEVFS
|
||||
devfs_token = devfs_add_devswf(&i4b_cdevsw, 0, DV_CHR,
|
||||
UID_ROOT, GID_WHEEL, 0600,
|
||||
"i4b", 0);
|
||||
"i4b");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
* i4b_tina_dd.c - i4b Stollman Tina-dd control device driver
|
||||
* ----------------------------------------------------------
|
||||
*
|
||||
* $Id: i4b_tina_dd.c,v 1.3 1998/12/05 18:06:19 hm Exp $
|
||||
* $Id: i4b_tina_dd.c,v 1.1 1998/12/27 21:46:53 phk Exp $
|
||||
*
|
||||
* last edit-date: [Sat Dec 5 18:41:38 1998]
|
||||
*
|
||||
@ -71,6 +71,7 @@ static int openflag = 0;
|
||||
|
||||
int tinaprobe(struct isa_device *dev);
|
||||
int tinaattach(struct isa_device *dev);
|
||||
void tinaintr(int unit);
|
||||
|
||||
struct isa_driver tinadriver = {
|
||||
tinaprobe,
|
||||
@ -113,7 +114,6 @@ static void writeblock(unsigned short iobase, unsigned char *src,
|
||||
int
|
||||
tinaprobe(struct isa_device *dev)
|
||||
{
|
||||
struct tina_softc *sc = &tina_sc[dev->id_unit];
|
||||
u_char byte;
|
||||
|
||||
#define SETLOW 0x55
|
||||
@ -176,7 +176,6 @@ tinaattach(struct isa_device *dev)
|
||||
void
|
||||
tinaintr(int unit)
|
||||
{
|
||||
struct tina_softc *sc = &tina_sc[unit];
|
||||
}
|
||||
|
||||
#if BSD > 199306 && defined(__FreeBSD__)
|
||||
@ -233,7 +232,6 @@ tinaioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
|
||||
struct tina_softc *sc = &tina_sc[minor(dev)];
|
||||
u_short iobase = sc->sc_iobase;
|
||||
int error = 0;
|
||||
char *ptr;
|
||||
int s;
|
||||
|
||||
if(minor(dev))
|
||||
|
Loading…
Reference in New Issue
Block a user