cjs
9be8b65e23
Smaller, cleaner code for aligning struct ip on receipt.
1997-04-23 08:15:03 +00:00
mikel
55f53d7fdb
return EPERM from ufs_setattr() if an attempt is made by non-superuser
...
to change superuser-only file flags; fixes PR kern/3491.
1997-04-23 05:47:54 +00:00
cjs
5c8bf48817
Align struct ip on incoming packets for all types of cards, not just
...
32-bit ones.
1997-04-22 21:19:11 +00:00
scottr
9784a8d3cf
space vs. tab formatting, KNF
1997-04-22 21:00:04 +00:00
scottr
b09a74e8b9
If we can't map SONIC register space, just print a diagnostic message and
...
continue. Make formatting consistent and KNF while here.
1997-04-22 20:56:15 +00:00
scottr
a653364eb1
Remove obsolete drsw diagnostic; make formatting consistent; KNF.
1997-04-22 20:32:08 +00:00
scottr
65673e5ec2
Make formatting consistent; inline -> __inline__; KNF.
1997-04-22 20:26:24 +00:00
scottr
2111f73a90
Remove obsolete drsw diagnostic
1997-04-22 20:21:59 +00:00
scottr
e733e600d3
#ifdef DIAGNOSTIC, print the NuBus type fields for unrecognized boards.
1997-04-22 20:20:32 +00:00
briggs
d13ebf0e72
Make sure that we unmap the space that we mapped if we can't identify the card.
1997-04-22 13:45:38 +00:00
mrg
00e4b647d9
add NetBSD RCSid.
1997-04-22 07:48:31 +00:00
briggs
d2a4acec48
Initialize 'offset' to make gcc happy.
1997-04-22 03:04:33 +00:00
ragge
749ec2a297
Remove #define LEDEBUG.
1997-04-21 22:04:23 +00:00
mycroft
58fbadc150
Put back missing label.
1997-04-21 18:20:14 +00:00
scottr
43f35682d8
April 18 update from John Wittkoski, w/space vs. tab KNFing by me.
1997-04-21 18:04:28 +00:00
jtc
2114c082ae
In nanosleep, use local error variable when storing rqtp in so that
...
an error from a failed tsleep will still be returned to the caller.
1997-04-21 16:56:54 +00:00
matthias
9dd24ca41c
* Print device information in md_attach_hook. Since this is a pseudo device,
...
we have to output the device name as well.
1997-04-21 16:20:39 +00:00
matthias
237a4629c4
* Somehow the definition of ieee_handler_disable got lost in my last commit.
1997-04-21 16:17:44 +00:00
matthias
7bc1bddc96
* Do not use Debugger(), use breakpoint().
1997-04-21 16:17:39 +00:00
matthias
16fbb47606
* Do only check against sd* if we did boot from a scsi disk.
1997-04-21 16:17:36 +00:00
matthias
34bffb6338
* Omit Debugger() if DDB is not defined.
1997-04-21 16:17:32 +00:00
matthias
7fe4f42d0a
* Add a comment describing movs[bdw]nu.
...
* Add breakboint().
1997-04-21 16:16:31 +00:00
matthias
5a23a56e6b
* Apply a fix from Ian Dall to reduce system load and fifo/silo overflows
...
when running at high speeds. This works by using hardware RTS again and
using the receive fifo threshold as well as the transmit fifo provided
by the sc26c92.
1997-04-21 16:16:16 +00:00
matthias
61d420149f
* Use higher timeouts for PLIP.
...
* Do some cosmetic reformatting.
* If the interface is considered dead, re-enable receive interrupts from
time to time.
1997-04-21 16:16:10 +00:00
matthias
12994a40ab
* Configure ncr*, not ncr0. That allows the user to specify flags for ncr0
...
in his config file.
1997-04-21 16:15:59 +00:00
cgd
fc8625db4f
minimal changes to make hacked wd driver work under a different name.
...
It is configured (in config files) as 'awdc'/'awd', but shows up as
'wdc'/'wd', so that a minimal amount of code had to be modified to make
the name change work. This is only intended to be temporary, anyway.
1997-04-21 14:47:33 +00:00
cgd
dbb6d5170a
Convert to use bus_space_* macros. The resulting code isn't quite correct,
...
but works on the alpha (since there's currently no floppy drive support).
1997-04-21 13:38:38 +00:00
cgd
ba574b6f20
copy ISA wd driver from /sys/dev/isa/wd.c. This rev is unmodified.
...
This is temporary, until /sys/dev/isa/wd.c is properly bus_space_*-ified.
1997-04-21 13:36:49 +00:00
mycroft
89205383a7
Make microtime() work correctly with a 4- or 4C-only kernel.
1997-04-21 05:47:08 +00:00
briggs
fc43576e8d
Take care when accessing DAFB--some quadra-class machines use other video
...
controllers.
1997-04-21 00:57:59 +00:00
scottr
7e00ee54d8
Fix itematch() for case where fboff is not zero. From Dave Huang,
...
closes PR #3501 .
1997-04-20 20:31:18 +00:00
fvdl
b9f22ef8f3
Only wake up one nfsiod when there is an async write to do. (from FreeBSD).
1997-04-20 16:24:44 +00:00
thorpej
6102bc8ec2
And Yet Another Broken IBM disk (the 664 this time), once again
...
reported by Hubert Feyrer <feyrer@grizu.fh-regensburg.de>.
1997-04-20 01:30:30 +00:00
thorpej
f9bc642a6d
Add Yet Another Broken IBM disk to the SDEV_AUTOSAVE list. This one
...
doesn't report a vendor string (yuck)!. Problem reported by
Hubert Feyrer <feyrer@grizu.fh-regensburg.de>.
1997-04-20 00:55:05 +00:00
pk
f2c53e4c3d
Two more quirks:
...
Python 28454-XXX tape drive: NOLUNS
1588-15MBSUN0669 disk: AUTOSAVE
1997-04-19 21:32:37 +00:00
pk
43445623fd
mmmmap() should return -1, not ENOTSUP.
...
Optimize the case of writing to /dev/zero etc, like the alpha,i386 and m68k.
1997-04-19 21:28:53 +00:00
pk
231a4bfb1f
Remove bogus pointer cast.
...
Accept FIONBIO ioctls.
1997-04-19 21:25:43 +00:00
ragge
400a0d512e
Fix so that these files compile again after recent ARP changes.
1997-04-19 15:02:27 +00:00
ragge
12c25bea6a
Update floppy boot files to confirm to new boot syntax.
1997-04-19 11:42:14 +00:00
veego
f7ffa838b0
Add a missing \ at the end of the .if line
1997-04-19 09:26:09 +00:00
jonathan
902f17af37
Correct sense of fi->fi_blanked in bt455_video_off().
1997-04-19 08:25:31 +00:00
jonathan
22d3d9819d
Correct sense of FBIO[GS]VIDEO ioctl as noted in PR #3515 .
1997-04-19 08:21:59 +00:00
thorpej
91aadf34b4
Don't build LKMs on the PowerPC.
1997-04-19 07:41:45 +00:00
thorpej
ce1963c633
- Add authentication to ipkdb (From Wolfgang Solfrank)
...
- Update for newarp (me)
1997-04-19 01:52:15 +00:00
thorpej
2c8a12761d
Fix a pasto
1997-04-19 01:47:24 +00:00
thorpej
a53aafbf1a
...and again.
1997-04-19 01:40:08 +00:00
thorpej
28d3c2e2d3
Replay history....
1997-04-19 01:39:44 +00:00
pk
d3028dd4a2
* Remove ineffective and incorrect cache flush in viking_mmuenable().
...
* A bunch of cosmetic changes.
1997-04-18 19:51:05 +00:00
cgd
09b3ed084e
add ep at isa and eisa
1997-04-18 19:41:17 +00:00
ragge
df9ea3ac75
Updates to KA43 (VS3100/76) support by Bertram Barth.
1997-04-18 18:53:38 +00:00
ragge
36b2211d14
Change implementation of TOY clock addressing. Gives us only
...
one routine for three different HW implementations.
1997-04-18 18:49:33 +00:00
scottr
19c5134870
For small writes, use PIO rather than PDMA; this increases the reliability
...
of the driver (considerably, on some systems/targets).
1997-04-18 17:38:08 +00:00
briggs
bbc4732fd1
Fix from Denny Gentry--initialize receive seq. counter.
1997-04-18 12:04:37 +00:00
scottr
11b0f01c17
Make sure to call adbop() on Power Manager-based machines. Noted by
...
Takashi Hamada, who also provided the code I based this modifcation
on.
1997-04-18 05:53:41 +00:00
cgd
5cfcabc2fe
compile when __BROKEN_INDIRECT_CONFIG isn't defined.
1997-04-18 00:50:33 +00:00
cgd
0f72c17209
try a slightly different heuristic to differentiate between ISA and PCI
...
(VGA) consoles.
1997-04-18 00:07:53 +00:00
thorpej
84c938e92f
oops, forgot to commit this yesterday - newvers.sh script for boot
...
program.
1997-04-17 20:24:17 +00:00
thorpej
d76ea6e415
STRIP -> STRIPFLAG
1997-04-17 07:46:24 +00:00
thorpej
5b733ef58a
STRIP -> STRIPFLAG
1997-04-17 07:41:05 +00:00
thorpej
6a2fc99857
STRIP -> STRIPFLAG
1997-04-17 07:27:46 +00:00
mikel
7aa8facf27
end line after printing WIDE SCSI status; fixes PR kern 3505.
1997-04-17 07:21:14 +00:00
thorpej
e73580920d
Change to not require including <sys/dmap.h>
1997-04-17 00:12:50 +00:00
thorpej
27b49a0ede
XXX Kludge for PowerPC; need to use kernel vfprintf().
1997-04-17 00:12:08 +00:00
thorpej
90ece8ebcb
Declare dmmin, dmmax, swapmap, and nswapmap here.
1997-04-17 00:08:50 +00:00
thorpej
5ca650f210
XXX Kludge for PowerPC; needs a kernel vfprintf().
1997-04-17 00:06:28 +00:00
thorpej
f01479ff82
XXX Kludge for PowerPC - need a kernel vfprintf().
1997-04-16 23:46:00 +00:00
thorpej
5b82b15348
extern'alize some references.
1997-04-16 23:45:00 +00:00
thorpej
48b6d2a6f3
Update for no __BROKEN_INDIRECT_CONFIG.
1997-04-16 23:41:53 +00:00
thorpej
8338396bf4
- Update for no __BROKEN_INDIRECT_CONFIG.
...
- Fix BPF hooks.
1997-04-16 23:41:19 +00:00
thorpej
2747d6c890
- Update for no __BROKEN_INDIRECT_CONFIG.
...
- Determine and remember if we are a floppy.
- Workaround for what is apparently a firmware bug - ignore the sector
size returned by the device. On my Firepower's floppy, block-size
is the same as max-transfer, which causes Lossage.
- Don't read the disklabel on a floppy; do what the ISA floppy driver
does, which is assign the entire disk to each "partition", although
we do not deal with the density stuff.
- FIREPOWERBUGS -> FIRMWORKSBUGS
- Some general cleanup.
1997-04-16 23:39:28 +00:00
thorpej
991fede269
Update for no __BROKEN_INDIRECT_CONFIG.
1997-04-16 23:32:04 +00:00
thorpej
28b6ad9af8
- Pull in new ofwmagic.S and soft_spl.c files
...
- firepowerbugs -> firmworksbugs
1997-04-16 23:27:05 +00:00
thorpej
61da87f25a
- Use genassym.sh to facilitate cross-compiling.
...
- Various clean/catch-up.
1997-04-16 23:26:06 +00:00
thorpej
de6c03ee6c
Update for current PowerPC code, some from Wolfgang.
1997-04-16 23:14:24 +00:00
thorpej
87bbb0ba3b
Always define MACHINE_NONCONTIG.
1997-04-16 23:03:52 +00:00
thorpej
54cc37063b
Nuke __BROKEN_INDIRECT_CONFIG
1997-04-16 23:03:16 +00:00
thorpej
49fd2f3af7
Use new va-ppc.h
1997-04-16 23:02:34 +00:00
thorpej
d3112d23d1
Garbage collect stuff now hidden my machine_vec.
1997-04-16 23:02:00 +00:00
thorpej
afd0c2db7e
Yow, "what happened"? Anyhow, correct apparerent CVS botch, and fix
...
RCS ID.
1997-04-16 23:00:53 +00:00
thorpej
974b5a78b0
Minimal profiling definitions - profiling doens't yet work.
1997-04-16 22:58:46 +00:00
thorpej
2849b893e3
s/dummy/md_proc/
1997-04-16 22:57:48 +00:00
thorpej
cd3712c5bf
Update ipkdb's register handling, from Wolfgang Solfrank.
1997-04-16 22:57:06 +00:00
thorpej
805da2b95a
Don't define two partition types for NetBSD - just use the standard 0xa5.
...
(Eww, DOS MBR)
1997-04-16 22:55:10 +00:00
thorpej
ab473e98d6
Definitions for machine_vec interface, from Wolfgang Solfrank.
1997-04-16 22:54:21 +00:00
thorpej
2895975dfc
Update for Elf.
1997-04-16 22:52:50 +00:00
thorpej
88e2d78a5c
Update to varargs/stdarg implementation; conform to the SVR4 calling
...
convention.
1997-04-16 22:51:22 +00:00
thorpej
d78ae3859a
- Add an option (TRAP_PANICWAIT) that causes trap() to prompt for a keypress
...
before calling panic().
- Add const poisioning where appropriate.
1997-04-16 22:49:49 +00:00
thorpej
144eb2ce5b
- Fixed reversed arguments to an asm() (from Andrew Cagney)
...
- Round memory segments in a saner way (from Charles Hannum)
1997-04-16 22:45:26 +00:00
thorpej
a9c6f67829
- Symbol cleanup, a'la locore.S
...
- Fix a 16-bit botch when disabling MMU
- Properly align save areas and temporary stacks.
1997-04-16 22:43:46 +00:00
fvdl
aadf9a1d0f
fdesc_seek -> genfs_seek, not genfs_badop
1997-04-16 22:43:41 +00:00
thorpej
fdb155145e
Fix some bogons in boot path parsing code.
1997-04-16 22:41:34 +00:00
thorpej
5c7a06f070
Several changes from Wolfgang Solfrank, Charles Hannum, and myself:
...
- Make setregs() conform to the PowerPC SVR4 ABI, plus one NetBSD
extention (for ps_strings).
- machine == powerpc, not PowerPC.
- Set up machine vector for OpenFirmware.
- Nuke the msgbuf for now; it's not mapped correctly.
- Add missing casts in some asm() directives.
- Enable PSL_RI earlier, and do *not* disable it in fake_spl(), since it
is needed for page faults.
- Some general cleanup.
1997-04-16 22:38:13 +00:00
mjacob
ac75d3f4df
clarify a comment slightly.
1997-04-16 22:20:52 +00:00
thorpej
fac39bcc01
Several changes from Wolfgang Solfrank, Charles Hannum, and myself:
...
- Clean up symbol goop - use macros in asm.h where appropriate.
- Add, correct, and generally clean up comments.
- Properly align save areas and temporary stacks.
- Fix the 603 tlb reload code.
- Fix several bogus constants and modifiers.
- Some stylistic changes.
1997-04-16 22:18:55 +00:00
thorpej
d2798d376c
Update to ipkdb register handling, from Wolfgang Solfrank.
1997-04-16 22:12:42 +00:00
thorpej
d667b1f2d0
Add hooks for berkeley packet filter.
1997-04-16 22:11:15 +00:00
thorpej
9970f1bf3c
Adjust for new machine_vec-based interrupt, from Wolfgang Solfrank.
1997-04-16 22:10:39 +00:00
thorpej
6708f357b5
RCS ID and #includes cleanup.
1997-04-16 22:09:41 +00:00
thorpej
fd3f618510
"Simulated" software-spl handling, for use on OpenFirmware systems.
...
These are for a generalized "machine vector" designed to hide
differences between various PowerPC systems.
From Wolfgang Solfrank <ws@tools.de>
1997-04-16 21:20:35 +00:00
thorpej
a6cf9568cc
Special Magick note section interpreted by OpenFirmware to set various
...
parameters. Shared by kernel and OpenFirmware boot program.
1997-04-16 21:19:00 +00:00
thorpej
ac9333ee5b
Use genassym.sh to facilitate cross-compiling.
1997-04-16 21:16:25 +00:00
thorpej
273398acfa
Machine-type tags used to communicate the type of system we're running
...
on to the kernel. The boot program passes a boot args string plus
additional information like so:
/pci/scsi@3/disk@0,0:1/netbsd -s<NUL><esym><tag>
The post-<NUL> values are:
<esym> end of the kernel symbol table (32-bits)
<tag> machine type tag (32-bits)
1997-04-16 21:12:29 +00:00
thorpej
ae9514e076
Definitions for IEEE floating point for NetBSD/powerpc.
1997-04-16 21:07:11 +00:00
thorpej
36a0d58408
Machine-dependent definitions for Elf on NetBSD/powerpc.
1997-04-16 21:06:11 +00:00
thorpej
ec64b8f26a
Garbage-collect
1997-04-16 20:30:16 +00:00
thorpej
1bd80ab675
New OpenFirmware boot code for NetBSD/powerpc, based on Wolfgang's original
...
NetBSD/powerpc boot program. Highligts:
- Rearrange a bit so that we can sanely add boot programs for
non-OpenFirmware systems.
- Add support for loading compressed kernels (for booting from
1.44M floppies).
- Add support for loading Elf kernels (Elf is the new standard format
for NetBSD/powerpc). (XXX Don't load symbols right now - the code
to do it is there, but I don't particularly like how space for the
symbol table is allocated; I will revisit this soon'ish).
1997-04-16 20:28:59 +00:00
jtc
c9b0c57620
Add POSIX.1b nanosleep().
1997-04-16 14:41:28 +00:00
is
f4271c55fd
Made pppoutput() public again on behalf of Martin Husemann (PR 3455).
...
Apparently, the BISDN package uses this function.
1997-04-16 12:54:42 +00:00
scottr
e938a61ba3
Organize cpu_reboot() like hp300; this allows us to behave less
...
surprisingly if the power off sequence doesn't work as expected,
and simplifies the code a little. Fix the doboot() prototype
to quash a warning from gcc.
1997-04-16 07:16:49 +00:00
cgd
faccc00a5a
widen proc pointer and wchan pointer fields from 10 to 18 characters, so
...
that pointers on 64-bit systems are printed properly. This means that
there'll be a lot of extra space on 32-bit systems, but gdb's printf doesn't
support * for width or precision specifiers, so it can't really be done much
better.
1997-04-16 00:58:26 +00:00
scottr
ea528012b3
dcmreadbuf() should not return immediately if the tty hasn't been opened;
...
this fixes a kgdb goof. Found by inspection.
1997-04-15 22:45:14 +00:00
christos
48729af76f
We don't want iplread to change to enodev() when we don't have IPFILTER_LOG
...
defined.
1997-04-15 18:58:27 +00:00
scottr
ac4989250c
Use opt_mrg_adb.h header (missed in previous commit)
1997-04-15 07:02:50 +00:00
lukem
e09679b183
don't define DEFTAPE here
1997-04-15 06:50:19 +00:00
scottr
00631be59a
Use genassym.sh to facilitate cross-compiling.
1997-04-15 06:11:38 +00:00
briggs
16865d719a
Take a stab at making this more reliable.
1997-04-15 03:22:50 +00:00
jtk
76ea50410b
handle bios requests differently: mark them in progress while waiting
...
for user input, or until the driver is ready to handle them itself.
Also, try to turn on power management if the BIOS says it's disabled at
connect time.
1997-04-15 01:45:11 +00:00
christos
118a33df24
- Fix indentation of the nested conditionals. It was inconsistent in places.
...
- Make this compile and work without IPFILTER_LOG, and disable logging by
default. This can be re-enabled now as a kernel option.
1997-04-15 00:44:42 +00:00
christos
ae60a7c343
Fix SPLNET() conditional to work for NetBSD1_0+, not just the named versions.
1997-04-15 00:42:54 +00:00
christos
0659cacda6
Move the mtod calls *after* we've made sure that the packet has passed the
...
filter successfully. Otherwise it can be NULL if the filter blocked it,
and we die. How did this ever work?
1997-04-15 00:41:52 +00:00
pk
2357b53997
Avoid race for the chip's interrupt pending status bits in zscnputc()
...
by introducing a single-character queue to defer kernel console output
until the transmitter interrupt handler runs.
1997-04-14 21:26:28 +00:00
pk
5c54a811e3
Add CY7C601 to SUN4 cpu section (Sun 4/300, 4/400 series). Noticed by
...
Ralph Sauther.
1997-04-14 21:05:13 +00:00
thorpej
4767ae8d9d
Regsiter description for APCI UART found on HP 9000/400-series
...
systems with a Frodo Utility Chip. This is essientially an 8250 with
3 bytes of padding between each register. From mike smith
<miff@spam.frisbee.net.au>.
1997-04-14 20:36:11 +00:00
thorpej
89a63d43fa
Build HIL and Domain keyboard support. Include UK HIL keymap.
1997-04-14 19:09:01 +00:00
thorpej
8f994f2c15
Add support for the Apollo Domain keyboard, from mike smith
...
<miff@spam.frisbee.net.au> with some changes for integration by me.
1997-04-14 19:03:13 +00:00
thorpej
f9cbf4e434
Implement an autoconfiguring indirect keyboard driver, removing explcit
...
dependencies on the HIL keyboard.
1997-04-14 19:00:10 +00:00
mjacob
5a18fcd5cb
Add kn8ae for needing shared_intr.o
1997-04-14 18:23:18 +00:00
scottr
aae8cccb0f
Use the new opt_mrg_adb.h header.
1997-04-14 16:56:26 +00:00
scottr
4cd7e839d7
Direct config to create an MRG_ADB option header.
1997-04-14 16:55:02 +00:00
scottr
7793be9949
Purely cosmetic cleanup:
...
- Remove unused `register' modifier on declarations
- Reverse the sense of some tests to make the code more clear
- Type casts per KNF
- Move a static variable into the only function that uses it (perhaps
we can eliminate it entirely, someday?)
1997-04-14 16:28:34 +00:00
cgd
38a8ed2dd3
clean up some ELF vs. ECOFF bogons
1997-04-14 07:31:03 +00:00
scottr
4ed2d4414f
Add copyright notice.
1997-04-14 06:25:32 +00:00
scottr
5599d9bc87
Allowing forcing console on dcm with FORCEDCMCONSOLE (c.f. dca.c).
1997-04-14 05:58:32 +00:00
cgd
0606596c8b
sort PCI devices, add 'cy' Cyclades Cyclom-Y driver (untested)
1997-04-14 03:14:49 +00:00
thorpej
a78807e04c
Update for interrupt function and header name changes.
1997-04-14 02:33:16 +00:00
thorpej
6f791ab8b2
Remove unnecssary #include.
1997-04-14 02:31:33 +00:00
thorpej
064d13e0ad
Remove unnecessary softc member.
1997-04-14 02:30:45 +00:00
thorpej
30166b9778
Rearrange the interrupt code slightly:
...
- place all interrupt-related macros, prototypes, etc. into <machine/intr.h>,
like other ports.
- rename isrlink/isrunlink/isrinit, etc. intr_establish/intr_disestablish/
intr_init, etc., and move to intr.c for naming consistency.
- don't call intr_init() twice.
1997-04-14 02:28:43 +00:00
briggs
90754f0770
Capslock support from Steve Brown <sbrown@best.com>
1997-04-14 01:02:47 +00:00
briggs
13175a1a16
Use an offset parameter when loading the reg_map--some cards use the "other"
...
16 bits of the words.
1997-04-14 00:44:01 +00:00
jtk
4ed6c3b834
add support for ACC Micro host bridges
1997-04-13 22:48:27 +00:00
cgd
c16b14abf3
use pci_mapreg_info rather than pci_mem_find
1997-04-13 22:09:32 +00:00
cgd
78b378b2bc
create pci_mapreg_info() which simply gets mapping register information.
...
It's used by pci_mapreg_map() and can be used directly by drivers
with special needs (e.g. those being attached as console devices).
1997-04-13 22:05:10 +00:00
cgd
36949596f0
rename pci_map_register to pci_mapreg_map. The latter name is more
...
descriptive, and allows for a sane name for a function which just digs
the info out of the mapping register but doesn't do the mapping.
1997-04-13 20:14:20 +00:00
cgd
dcd9b58489
don't bother keeping around the i/o tag. It's useless by itself, and
...
without other significant changes to this driver wouldn't be particularly
useful to keep around permanently anyway.
1997-04-13 20:02:11 +00:00
cgd
04e7505aaa
clean up an autoconfiguration printf. Much more should be done
1997-04-13 20:00:29 +00:00
cgd
4c2cff7209
use pci_map_register(). map both mem and I/O spaces, preferring mem space
...
by default if it's usable, but falling back to I/O space if mem isn't usable.
If NCR_IOMAPPED is defined (default on the x86), prefer I/O space
then fall back to mem. Also, clean up the various memory consistency checks
so that they can deal with run-time determination of whether or not the
device is to be memory- or I/O-mapped.
1997-04-13 19:58:17 +00:00
cgd
32836b0710
use pci_map_register(). map both mem and I/O spaces, preferring mem space
...
by default if it's usable, but falling back to I/O space if mem isn't usable.
If TULIP_IOMAPPED is defined (default on the x86), prefer I/O space
then fall back to mem.
1997-04-13 19:56:14 +00:00
cgd
8593458137
use pci_map_register(). Also, almost a complete rewrite/cleanup of this
...
code. (It still needs more!)
1997-04-13 19:55:09 +00:00
cgd
41a0ca7403
clean up space/tag comments
1997-04-13 19:48:50 +00:00