man 5 device.hintsdmesg -a|grep dgb
dgb0: PC/Xe 64K
dgb0 at port 0x220-0x223 iomem 0xd0000-0xdffff on isa0
dgb0: 16 ports
dgb0: driver is using old-style compatability shimskldload digi
dmesg -a|grep digi
digi1: 0x061: Invalid i/o address
digi0 at port 0x220-0x223 iomem 0xd0000-0xdffff on isa0
digi0: memory reservation failed (0x06)
device_attach: digi0 attach returned 6/root/>dmesg -a|grep 0xd0
vgapci0: <VGA-compatible display> mem 0xd0000000-0xd0ffffff,0xd2000000-0xd3ffffff at device 0.0 on pci1
digi0 at port 0x220-0x223 iomem 0xd0000-0xdffff on isa0ostb0@pci0:0:0:0: class=0x060000 card=0x00000000 chip=0x06911106 rev=0x44 hdr=0x00
vendor = 'VIA Technologies Inc'
device = 'VT82C691/693A/694X Apollo Pro/133/133A System Controller'
class = bridge
subclass = HOST-PCI
pcib1@pci0:0:1:0: class=0x060400 card=0x00000000 chip=0x85981106 rev=0x00 hdr=0x01
vendor = 'VIA Technologies Inc'
device = 'VT82C598MVP/694x Apollo MVP3/Pro133x PCI to AGP Bridge'
class = bridge
subclass = PCI-PCI
isab0@pci0:0:7:0: class=0x060100 card=0x00001106 chip=0x05961106 rev=0x23 hdr=0x00
vendor = 'VIA Technologies Inc'
device = 'VT82C596/A/B "Mobile South" PCI to ISA Bridge'
class = bridge
subclass = PCI-ISA
atapci0@pci0:0:7:1: class=0x01018a card=0x00000000 chip=0x05711106 rev=0x10 hdr=0x00
vendor = 'VIA Technologies Inc'
device = 'VT82C586A/B/VT82C686/A/B/VT823x/A/C Bus Master IDE Controller'
class = mass storage
subclass = ATA
none0@pci0:0:7:3: class=0x060000 card=0x00000000 chip=0x30501106 rev=0x30 hdr=0x00
vendor = 'VIA Technologies Inc'
device = 'VT82C596/596A/596 Power Management and SMBus Controller'
class = bridge
subclass = HOST-PCI
rl0@pci0:0:9:0: class=0x020000 card=0x032010bd chip=0x813910ec rev=0x10 hdr=0x00
vendor = 'Realtek Semiconductor'
device = 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter'
class = network
subclass = ethernet
vgapci0@pci0:1:0:0: class=0x030000 card=0x00000000 chip=0x002d10de rev=0x15 hdr=0x00
vendor = 'Nvidia Corp'
device = 'NV5 TNT2 Model 64 / TNT2 Model 64 Pro'
class = display
subclass = VG
kldload digi
dmesg -a|grep digi
digi1: 0x061: Invalid i/o address
digi0 at port 0x220-0x223 iomem 0xd0000-0xdffff on isa0
digi0: memory reservation failed (0x06)
device_attach: digi0 attach returned 6
This man page was originally written for the dgb driver, and should
likely be gone over with a fine tooth comb to reflect differences with
the digi driver.
When not defined the number is computed:
default NDGBPORTS = number_of_described_DigiBoard_cards * 16
If it is less than the actual number of ports the system will be able to
use only the first NDGBPORTS ports. If it is greater then all ports will
be usable but some memory will be wasted.
dmesg -a|grep dgb
dgb0: PC/Xe 64K
dgb0 at port 0x220-0x223 iomem 0xd0000-0xdffff on isa0
dgb0: 16 ports
dgb0: driver is using old-style compatability shimsCopyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.5-RELEASE #0: Tue May 23 14:58:27 UTC 2006
root@perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (801.82-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x686 Stepping = 6
Features=0x387f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
real memory = 134217728 (128 MB)
avail memory = 121700352 (116 MB)
npx0: <math processor> on motherboard
npx0: INT 16 interface
cpu0 on motherboard
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 5 Entries> on motherboard
pci0: <PCI bus> on pcib0
agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem 0xd4000000-0xd4ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C596B UDMA66 controller> port 0xe000-0xe00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: <bridge, HOST-PCI> at device 7.3 (no driver attached)
rl0: <RealTek 8139 10/100BaseTX> port 0xe800-0xe8ff mem 0xd5000000-0xd50000ff irq 11 at device 9.0 on pci0
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:00:21:2c:ee:03
orm0: <ISA Option ROM> at iomem 0xc0000-0xcffff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0400> can't assign resources (port)
Timecounter "TSC" frequency 801824155 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 32253MB <ST340016A/3.75> [65531/16/63] at ata0-master UDMA66
ad2: 32253MB <SAMSUNG SP0411N/TW100-13> [65531/16/63] at ata1-master UDMA66
Mounting root from ufs:/dev/ad0s1a
Pre-seeding PRNG:
kickstart
.
Loading configuration files.
Entropy harvesting:
interrupts
ethernet
point_to_point
kickstart
.
swapon: adding /dev/ad0s1b as swap device
Starting file system checks:
/dev/ad0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1a: clean, 235833 free (1561 frags, 29284 blocks, 0.6% fragmentation)
/dev/ad0s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1e: clean, 14013115 free (31219 frags, 1747737 blocks, 0.2% fragmentation)
/dev/ad0s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1d: clean, 1012725 free (85 frags, 126580 blocks, 0.0% fragmentation)
Setting hostname: .
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
Additional routing options:
.
Starting devd.
Mounting NFS file systems:
.
Starting syslogd.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout
Starting usbd.
No USB host controllers found
Starting local daemons:
.
Updating motd
.
Configuring syscons:
blanktime
.
sendmail_submit: /etc/mail/aliases newer than /etc/mail/aliases.db, regenerating
/etc/mail/aliases: 26 aliases, longest 10 bytes, 266 bytes total
sendmail_clientmqueue: /etc/mail/aliases newer than /etc/mail/aliases.db, regenerating
/etc/mail/aliases: 26 aliases, longest 10 bytes, 266 bytes total
Initial i386 initialization:
.
Additional ABI support:
.
Starting cron.
Local package initialization:
.
Additional TCP options:
.
Starting background file system checks in 60 seconds.
Fri Jan 1 02:57:29 UTC 1999
Jan 1 02:57:34 login: ROOT LOGIN (root) ON ttyv0
digi0 at port 0x220-0x223 iomem 0xd0000-0xdffff on isa0
digi0: memory reservation failed (0x06)
device_attach: digi0 attach returned 6
digi1: 0x061: Invalid i/o address
wachlog timeout if (sc->model == PCXI || sc->model == PCXE) {
outb(sc->port, FEPRST | FEPMEM);
for (i = 0; (inb(sc->port) & FEPMASK) != FEPRST; i++) {
- if (i == hz / 10) {
+ if (i > 10000) {
device_printf(dev,
"memory reservation failed (0x%02x)\n",
inb(sc->port));
sc->hidewin(sc);
goto failed;
}
When not defined the number is computed:
default NDGBPORTS = number_of_described_DigiBoard_cards * 16
If it is less than the actual number of ports the system will be able to
use only the first NDGBPORTS ports. If it is greater then all ports will
be usable but some memory will be wasted.
Meaning of flags:
0x0001 use alternate pinout (exchange DCD and DSR lines)
0x0002 do not use 8K window mode of PC/Xe
Device numbering:
0bCCmmmmmmmmOLIPPPPP
CCard number
mmmmmmmmajor number
callOut
Lock
Initial
PPPPPort number
DLOG(DIGIDB_INIT, (sc->dev, "isa? port 0x%03x mem 0x%lx\n",
sc->port, sc->pmem));
man 5 device.hints
digi0: probing on isa bus
digi0: isa? port 0x220 mem 0xd0000
digi0: got reset after 1 iterations
digi0: board type is 0x4
digi0: Probe returns -10
digi0: probing on isa bus
digi0: isa? port 0x220 mem 0xd0000
digi0: got reset after 1 iterations
digi0: board type is 0x4
digi0: Probe returns -10
digi0 at port 0x220-0x223 iomem 0xd0000-0xdffff on isa0
digi0: attaching
digi0: Checking card type
digi0: got reset after 1 iterations
digi0: board type is 0x4
digi0: internal memory segment 0xf000
digi0: got reset after 0 iterations
digi0: memory reservation failed (0x06)
device_attach: digi0 attach returned 6
digi1: probing on isa bus
digi1: 0x061: Invalid i/o addres if (sc->model == PCXI || sc->model == PCXE) {
// outb(sc->port, FEPRST | FEPMEM);
for (i = 0; (inb(sc->port) & FEPMASK) != FEPRST; i++) {
if (i == hz / 10) {
device_printf(dev,
"memory reservation failed (0x%02x)\n",
inb(sc->port));
sc->hidewin(sc);
goto failed;
}
digi_delay(sc, "digirst2", 1);
}
DLOG(DIGIDB_INIT, (sc->dev, "got memory after %d iterations\n",
i));
}
- if (sc->model != PCXI) {
- t = (sc->pmem >> 8) & 0xffe0;
- if (sc->model == PCXEVE)
- t |= 0x10; /* enable windowing */
- outb(sc->port + 2, t & 0xff);
- outb(sc->port + 3, t >> 8);
- }
if (sc->model == PCXI || sc->model == PCXE) {
- outb(sc->port, FEPRST | FEPMEM);
for (i = 0; (inb(sc->port) & FEPMASK) != FEPRST; i++) {
if (i == hz / 10) {
device_printf(dev,
"memory reservation failed (0x%02x)\n",
inb(sc->port));
sc->hidewin(sc);
goto failed;
}
digi_delay(sc, "digirst2", 1);
}
DLOG(DIGIDB_INIT, (sc->dev, "got memory after %d iterations\n",
i));
}
+ if (sc->model != PCXI) {
+ t = (sc->pmem >> 8) & 0xffe0;
+ if (sc->model == PCXEVE)
+ t |= 0x10; /* enable windowing */
+ outb(sc->port + 2, t & 0xff);
+ outb(sc->port + 3, t >> 8);
+ }
DLOG(DIGIDB_INIT, (sc->dev, "short memory test\n"));
ptr = sc->setwin(sc, BOTWIN);
vD(ptr) = 0xA55A3CC3;
if (vD(ptr) != 0xA55A3CC3) {
device_printf(dev, "1st memory test failed\n");
sc->hidewin(sc);
goto failed;
}
DLOG(DIGIDB_INIT, (sc->dev, "1st memory test ok\n"));
digi0: probing on isa bus
digi0: isa? port 0x220 mem 0xd0000
digi0: got reset after 1 iterations
digi0: board type is 0x4
digi0: Probe returns -10
digi0: probing on isa bus
digi0: isa? port 0x220 mem 0xd0000
digi0: got reset after 1 iterations
digi0: board type is 0x4
digi0: Probe returns -10
digi0 at port 0x220-0x223 iomem 0xd0000-0xdffff on isa0
digi0: attaching
digi0: Checking card type
digi0: got reset after 1 iterations
digi0: board type is 0x4
digi0: internal memory segment 0xf000
digi0: got reset after 0 iterations
digi0: got memory after 0 iterations
digi0: short memory test
digi0: 1st memory test failed
Jun 6 14:03:52 caravella kernel: digi0: probing on isa bus
Jun 6 14:03:52 caravella kernel: digi0: isa? port 0x220 mem 0xd0000
Jun 6 14:03:53 caravella kernel: digi0: got reset after 1 iterations
Jun 6 14:03:53 caravella kernel: digi0: board type is 0x4
Jun 6 14:03:53 caravella kernel: digi0: Probe returns -10
Jun 6 14:03:53 caravella kernel: digi0: probing on isa bus
Jun 6 14:03:53 caravella kernel: digi0: isa? port 0x220 mem 0xd0000
Jun 6 14:03:53 caravella kernel: digi0: got reset after 1 iterations
Jun 6 14:03:53 caravella kernel: digi0: board type is 0x4
Jun 6 14:03:53 caravella kernel: digi0: Probe returns -10
Jun 6 14:03:53 caravella kernel: digi0 at port 0x220-0x223 iomem 0xd0000-0xdfff
Jun 6 14:03:53 caravella kernel: digi0: attaching
Jun 6 14:03:53 caravella kernel: digi0: Checking card type
Jun 6 14:03:53 caravella kernel: digi0: got reset after 1 iterations
Jun 6 14:03:53 caravella kernel: digi0: board type is 0x4
Jun 6 14:03:53 caravella kernel: digi0: internal memory segment 0xf000
Jun 6 14:03:53 caravella kernel: digi0: got reset after 0 iterations
Jun 6 14:03:53 caravella kernel: digi0: got memory after 0 iterations
Jun 6 14:03:53 caravella kernel: digi0: short memory test
Jun 6 14:03:53 caravella kernel: digi0: 1st memory test failed
Jun 6 14:03:53 caravella kernel: device_attach: digi0 attach returned 6
Jun 6 14:03:53 caravella kernel: digi1: probing on isa bus
Jun 6 14:03:53 caravella kernel: digi1: 0x061: Invalid i/o address
- if (sc->model != PCXI) {
- t = (sc->pmem >> 8) & 0xffe0;
- if (sc->model == PCXEVE)
- t |= 0x10; /* enable windowing */
- outb(sc->port + 2, t & 0xff);
- outb(sc->port + 3, t >> 8);
- }
if (sc->model == PCXI || sc->model == PCXE) {
outb(sc->port, FEPRST | FEPMEM);
for (i = 0; (inb(sc->port) & FEPMASK) != FEPRST; i++) {
if (i == hz / 10) {
device_printf(dev,
"memory reservation failed (0x%02x)\n",
inb(sc->port));
sc->hidewin(sc);
goto failed;
}
digi_delay(sc, "digirst2", 1);
}
DLOG(DIGIDB_INIT, (sc->dev, "got memory after %d iterations\n",
i));
}
+ if (sc->model != PCXI) {
+ t = (sc->pmem >> 8) & 0xffe0;
+ if (sc->model == PCXEVE)
+ t |= 0x10; /* enable windowing */
+ outb(sc->port + 2, t & 0xff);
+ outb(sc->port + 3, t >> 8);
+ }
DLOG(DIGIDB_INIT, (sc->dev, "short memory test\n"));
ptr = sc->setwin(sc, BOTWIN);
vD(ptr) = 0xA55A3CC3;
if (vD(ptr) != 0xA55A3CC3) {
device_printf(dev, "1st memory test failed\n");
sc->hidewin(sc);
goto failed;
}
DLOG(DIGIDB_INIT, (sc->dev, "1st memory test ok\n"));
Jun 6 14:17:08 caravella kernel: digi0: probing on isa bus
Jun 6 14:17:08 caravella kernel: digi0: isa? port 0x220 mem 0xd0000
Jun 6 14:17:08 caravella kernel: digi0: got reset after 1 iterations
Jun 6 14:17:08 caravella kernel: digi0: board type is 0x4
Jun 6 14:17:08 caravella kernel: digi0: Probe returns -10
Jun 6 14:17:08 caravella kernel: digi0: probing on isa bus
Jun 6 14:17:08 caravella kernel: digi0: isa? port 0x220 mem 0xd0000
Jun 6 14:17:08 caravella kernel: digi0: got reset after 1 iterations
Jun 6 14:17:08 caravella kernel: digi0: board type is 0x4
Jun 6 14:17:08 caravella kernel: digi0: Probe returns -10
Jun 6 14:17:08 caravella kernel: digi0 at port 0x220-0x223 iomem 0xd0000-0xdfff
Jun 6 14:17:08 caravella kernel: digi0: attaching
Jun 6 14:17:08 caravella kernel: digi0: Checking card type
Jun 6 14:17:08 caravella kernel: digi0: got reset after 1 iterations
Jun 6 14:17:08 caravella kernel: digi0: board type is 0x4
Jun 6 14:17:08 caravella kernel: digi0: internal memory segment 0xf000
Jun 6 14:17:08 caravella kernel: digi0: got reset after 0 iterations
Jun 6 14:17:08 caravella kernel: digi0: memory reservation failed (0x06)
Jun 6 14:17:08 caravella kernel: device_attach: digi0 attach returned 6
Jun 6 14:17:08 caravella kernel: digi1: probing on isa bus
Jun 6 14:17:08 caravella kernel: digi1: 0x061: Invalid i/o address
if (sc->model == PCXI || sc->model == PCXE) {
- outb(sc->port, FEPRST | FEPMEM);
for (i = 0; (inb(sc->port) & FEPMASK) != FEPRST; i++) {
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 1