Initial attempt at newbusification of the specialix si/xio/sx driver.
The files were repo copied from their original location and are part way towards being portable. This should unbreak the EISA support in the driver. I have not updated files* yet as I'm not quite finished.
This commit is contained in:
parent
ef7d577f3e
commit
1a818d8e89
1289
sys/dev/si/si.c
1289
sys/dev/si/si.c
File diff suppressed because it is too large
Load Diff
@ -80,7 +80,7 @@
|
||||
#define IS_CONTROLDEV(m) (m & SI_CONTROLDEV_MASK)
|
||||
#define IS_SPECIAL(m) (m & SI_SPECIAL_MASK)
|
||||
|
||||
#define MINOR2SC(m) (&si_softc[SI_CARD(m)])
|
||||
#define MINOR2SC(m) ((struct si_softc *)devclass_get_softc(si_devclass, SI_CARD(m)))
|
||||
#define MINOR2PP(m) (MINOR2SC((m))->sc_ports + SI_PORT((m)))
|
||||
#define MINOR2TP(m) (MINOR2PP((m))->sp_tty)
|
||||
#define TP2PP(tp) (MINOR2PP(SI_TTY(minor((tp)->t_dev))))
|
||||
|
@ -84,6 +84,7 @@
|
||||
/*
|
||||
* MEMSIZE is the total shared mem region
|
||||
* RAMSIZE is value to use when probing
|
||||
* PROBEALLOC is the amount to bus_resource_alloc() during probe.
|
||||
*/
|
||||
#define SIJETPCI_MEMSIZE 0x10000
|
||||
#define SIJETISA_MEMSIZE 0x8000
|
||||
@ -94,4 +95,4 @@
|
||||
#define SIHOST2_RAMSIZE 0x7ff7
|
||||
#define SIEISA_MEMSIZE 0x10000
|
||||
#define SIEISA_RAMSIZE 0x10000
|
||||
|
||||
#define SIPROBEALLOC 0x8000
|
||||
|
Loading…
Reference in New Issue
Block a user