scw
3a5b0d88ca
That #define splserial() really didn't want to be there...
1999-02-20 16:23:39 +00:00
scottr
cc6252b08b
Handle RB_POWEROFF appropriately.
1999-02-20 10:00:37 +00:00
scottr
66477a6be5
Rename via_shutdown() to via_powerdown() for clarity and consistency.
1999-02-20 09:57:35 +00:00
ross
ea05c3b739
Fix typo.
1999-02-20 07:07:07 +00:00
scw
f94ac542ec
Forgot to commit this one; added SCSI and VME drivers.
1999-02-20 00:44:31 +00:00
kristerw
871ac39c21
The recent simplification of the lint version of the va_arg macro broke
...
linting of vfprintf.c, where va_arg is used as
*va_arg(ap, quad_t *) = ret;
Make the macro slightly more complicated...
1999-02-20 00:33:55 +00:00
scw
0ed9dc11d7
Delay serial port parameter changes until the Tx FIFO has emptied.
1999-02-20 00:27:29 +00:00
scw
42058284c1
Config file with support for both '147 and '167.
1999-02-20 00:18:49 +00:00
scw
38a327cafe
Add entries for SCSI and VME. While I'm here, bump maxusers to 16,
...
and enable a couple of other things which weren't useful in the
early days of development.
1999-02-20 00:16:38 +00:00
scw
0c1ed3ce56
Add NFS_BOOT_BOOTPARAMS option.
1999-02-20 00:13:43 +00:00
scw
4f53e52d8a
Add support for the VMEchip2 and the ncr53c710 SCSI IOP.
...
VMEchip2 support work is ongoing. SCSI is complete.
1999-02-20 00:11:59 +00:00
mycroft
45e082f472
Fix thinko.
1999-02-19 22:32:21 +00:00
mycroft
7d0a7c6abf
Do the pcb_onfault test earlier, so that the DIAGNOSTIC code doesn't trip.
1999-02-19 22:15:09 +00:00
leo
10d94b3a1c
STANDALONE -> _STANDALONE per recent discussion.
1999-02-19 21:51:20 +00:00
abs
ab9ab83d05
Add ID for IBM 'PCMCIA Portable CD-ROM Drive'. We only have one of these and it
...
may be broken (it choked under Windows), but it at least now probes.
1999-02-19 21:49:43 +00:00
leo
10cf345ed4
Fix type lossage reported by Julian Coleman.
1999-02-19 21:04:06 +00:00
leo
2426418d47
More work on Tseng support. Now both my et6000 _and_ the et6100 work. I just
...
whish that programming MDRAM latency values came out of the BlackMagic(tm)
domain :-(
1999-02-19 21:03:00 +00:00
leo
e54f78017e
This one needs <machine/bswap.h> too.
1999-02-19 20:58:51 +00:00
leo
89347a3159
Add <machine/bswap.h> in the list of include-files.
1999-02-19 20:57:03 +00:00
drochner
eac4e51111
redirect the linker's stderr to the protocol file too
1999-02-19 19:53:01 +00:00
drochner
cb2e02af94
Make this compile and work again after the assembler update.
...
The new assembler doesn't allow 16-bit relocations involving arithmetics
with 32-bit variables. (The old one did silently truncate, which was
the right thing in our case.) Further, the new assembler uses to scatter
size prefixes around if the size of the operation is not explicitely
specified, even if the result is nonsense, eg for moves to segment
registers or control registers.
Add some debugging code (generating printouts) and comments.
Remove the !BOOTROM code which was intended for a DOS harness but isn't
that useful anymore.
Some cleanup and formatting to make it more similar to the other
startup code variants.
1999-02-19 19:48:06 +00:00
drochner
fd3ad59373
make the ethernet address an unsigned char array to avoid sign extension
...
when it is printed
1999-02-19 19:30:46 +00:00
drochner
0ce9e35aae
add boot ROM support for the DMA-only 3com network adapters, tested with
...
3c900b-Combo only for now
1999-02-19 19:22:52 +00:00
thorpej
598b05da47
Regen.
1999-02-19 19:12:09 +00:00
thorpej
d9c29083d4
Improve descriptions for DEC Ethernet chips.
1999-02-19 19:11:33 +00:00
mycroft
59e2f9373d
Indicate which IRQ is being used for compatibility interrupts.
1999-02-19 18:01:27 +00:00
mycroft
35399992bb
Indicate whether the decive is full or half duplex at attach time.
1999-02-19 17:09:16 +00:00
mycroft
1790450d8c
Fix structure names.
1999-02-19 16:59:36 +00:00
tron
c5fc98973a
Fix typo noted by Anders Hjalmarsson in PR kern/7020.
1999-02-19 16:31:08 +00:00
minoura
38803874bb
Translated Japanese comments.
1999-02-19 16:19:53 +00:00
mycroft
4449a6ef39
Kill vestiges of isa_establish().
1999-02-19 16:15:06 +00:00
mycroft
4822d3d0b0
Move IRQ setup into frontend. Need to move DRQ handling as well.
1999-02-19 16:10:44 +00:00
pk
c6c74098d0
Don't try to use the MII routines for the internal PHY.
1999-02-19 14:57:00 +00:00
tsubai
650f05d8c7
Ensure msgbuf_paddr is accessible (by bat).
1999-02-19 14:11:35 +00:00
tsubai
c8117990ae
Use 6x11 font if screen size is smaller than 1024x768.
...
(Open Firmware ROM has 6x11 font.)
1999-02-19 14:02:33 +00:00
tsubai
da71ba4292
First step of MESH SCSI support.
...
XXX no disconnect/reselect.
XXX sync transfer is very unstable.
1999-02-19 13:06:03 +00:00
thorpej
3f8a09bba4
Improve product descriptions, and add 3c905-FX and 3c980 Server Adapter
...
products.
1999-02-19 06:58:42 +00:00
thorpej
7248c3be19
Improve card descriptions.
1999-02-19 06:57:56 +00:00
thorpej
02df2bd5a5
Regen.
1999-02-19 06:56:53 +00:00
thorpej
1128dd593e
Improve the descriptions of 3Com Ethernet cards, and add the 3c905B-FX
...
and 3c980 Server Adapter products.
1999-02-19 06:55:15 +00:00
thorpej
3a63b5db2a
Regen.
1999-02-19 05:53:36 +00:00
thorpej
f43c45889a
Add several Tulip clone chips.
1999-02-19 05:53:00 +00:00
nisimura
c07be2882b
- Make sure SFB ROP register initialized with value 3.
...
- Turn off video signal during hardware initialization.
1999-02-19 03:42:42 +00:00
mycroft
28bc4dfeca
Oops; PCIC_INTR_ENABLE does something *very* different.
1999-02-19 03:14:00 +00:00
nathanw
58d4d7e933
Regen.
1999-02-19 02:53:06 +00:00
nathanw
6b150eb8f6
Fix typo.
...
XXX fix Makefile.pcmciadevs to catch this sort of thing.
1999-02-19 02:52:17 +00:00
mycroft
bd4cd051b9
This is an utterly revolting hack to work around the previously mentioned
...
lossage. On the Alpha, we force the buffers to be allocated through the SGMAP
so that the PCI bus addresses are low enough.
At least it's only one line of code...
1999-02-19 02:27:59 +00:00
nathanw
6e788dfcb5
Regen.
1999-02-19 00:44:15 +00:00
nathanw
3300c6ba4b
Add Fujitsu SCSI 600 card
1999-02-19 00:43:00 +00:00
mycroft
70d4ac07b6
Yet another path where we need to set PCIC_INTR_ENABLE.
1999-02-19 00:27:45 +00:00
mycroft
88281a63ff
Only use the PnP PCIC attachment.
1999-02-19 00:04:58 +00:00
mycroft
f2c4e7f8bd
Use the correct interrupt sharing type, and set PCIC_INTR_ENABLE(!).
1999-02-18 23:41:40 +00:00
mycroft
74028ea9fd
Regen.
1999-02-18 22:32:27 +00:00
mycroft
b71baddba7
Add ID for MagicRam SwapBox PCMCIA controller card.
1999-02-18 22:31:32 +00:00
mycroft
d9f4f0e31a
Add PCMCIA goo.
1999-02-18 21:58:18 +00:00
mycroft
e3dc7a4881
Okay; pcic_isapnp doesn't quite work yet.
1999-02-18 21:54:04 +00:00
mycroft
9bf7aaa65f
Add pcic_isapnp.
1999-02-18 21:27:54 +00:00
thorpej
bd72e4386f
Add floppy controller and drives.
1999-02-18 20:39:04 +00:00
mycroft
3bf5fab3c0
Add a floppy drive.
1999-02-18 20:18:54 +00:00
thorpej
1df60a8989
Floppy driver for NetBSD/alpha, copied from i386 port, and munged to take
...
out the i386'isms (i.e. no NVRAM read for default floppy type; floppies
just default to 1.44MB).
1999-02-18 20:15:53 +00:00
thorpej
a473ed5477
Fix omission in previous.
1999-02-18 19:24:39 +00:00
mycroft
bb815bda9e
Fix a thinko in the previous.
...
Also:
* Do the boundary check when creating a new region as well.
* If we crossed the boundary, don't just throw away the region; lop off the
beginning and see if we still fit.
SB16 is now fully functional on the Alpha.
1999-02-18 18:52:29 +00:00
mycroft
ca00239fe9
Speed up the calculation of dontcross; use EXTENT_ALIGN to calculate it
...
directly rather than using a loop. Also adjust so that we can allocate at
the end of the integer range.
1999-02-18 18:13:50 +00:00
mycroft
18e341a954
Add separate halt_input and halt_output methods in ad1848_isa, which disable
...
the DMA channel.
1999-02-18 17:27:39 +00:00
christos
85a8ddde1d
make the #if 0'ed code compile...
1999-02-18 17:23:55 +00:00
christos
88bdeec361
&& || confusion.
1999-02-18 17:21:14 +00:00
mycroft
1445849c2f
Add:
...
* PCI VGA (tested with Imagine-128)
* ISA SoundBlaster (tested with SB1!)
* AudioPCI (tested with ... AudioPCI!)
* PnP SoundBlaster (currently loses in 16-bit mode due to extent lossage)
* SonicVibes (currently loses; see sv.c commit log)
1999-02-18 16:42:31 +00:00
mycroft
9907eda026
spaces -> tabs
1999-02-18 16:09:01 +00:00
mycroft
81bc49921a
Remove some superfluous softc elements.
1999-02-18 15:47:29 +00:00
bouyer
7e5acb7709
Don't print an extra newline if the controller doesn't support 32 bits access.
...
Pointed out by Dave Huang.
1999-02-18 14:45:31 +00:00
bouyer
e96144a012
Add a missing ':'. pointed out by Dave Huang.
1999-02-18 14:44:34 +00:00
jonathan
6e065bd434
Use cpu_spl3() for all device-level spls, not splhigh().
...
Lets reset button work when stuck at device spl.
1999-02-18 10:24:16 +00:00
mycroft
699a815751
Pass the correct address (PCI bus address, not PA) to the card.
...
Also fix some typos and add more debugging printf()s.
This would work on the Alpha, but the card I have appears to have the upper
address bits chopped off, and the ring buffer gets mapped using the DGMAP,
which uses the upper bits. Boom.
1999-02-18 09:22:17 +00:00
mycroft
579eeb8cf7
If we have to increase the boundary due to the spill pages, use the old
...
boundary as an alignment. Otherwise we fail to enforce the old boundary,
causing massive lossage.
1999-02-18 08:55:16 +00:00
mycroft
e0b748e50c
Pass the correct address (PCI bus address, not PA) to the card.
...
Works on an Alpha now.
1999-02-18 07:59:30 +00:00
scottr
1bd69f0915
Er, function prototypes don't belong in fooreg.h.
1999-02-18 07:50:54 +00:00
scottr
9da0e1f5c5
First cut at a floppy disk device driver, for IWM and IWM-compatible
...
controllers. Supports GCR-encoded disks only (400K and 800K); neither
of the 1.44M formats will work until someone figures out how to drive
the SWIM and its descendants.
This code was written by Hauke Fath, and had only minor touchup (mostly
KNF) by me.
1999-02-18 07:38:26 +00:00
scottr
afb76cc809
Add the IWM driver.
1999-02-18 07:35:07 +00:00
scottr
1f3b03f6cd
Add support for the IWM driver.
1999-02-18 07:32:56 +00:00
scottr
867a930654
Minor space-tab KNFing.
1999-02-18 07:16:17 +00:00
gwr
5cf3f8e3b2
It appears that pmap_physseg is now required in userland. Too bad.
1999-02-18 07:13:21 +00:00
mycroft
5e2fc07a14
Add separate halt_output and halt_input routines.
1999-02-18 07:08:35 +00:00
mycroft
c02bf3c4d7
Minor code munging.
1999-02-18 05:46:38 +00:00
thorpej
cfb2342145
Fix the code in epic_attach() that frees resources when the attach fails.
1999-02-18 02:24:30 +00:00
thorpej
5c457e71fe
Only do the multicast filter bug work-around if in 10Mbps mode. Also,
...
don't reset the interface if the multicast list changes. Just reprogram
the multicast hash table.
1999-02-18 02:12:09 +00:00
thorpej
982603ce5b
Don't reset the interface when the media changes.
1999-02-18 01:24:29 +00:00
thorpej
78e18b8d8c
Back out to the previous stable revision of the fxp driver. The latest
...
one had too many stability problems.
1999-02-18 01:23:41 +00:00
mycroft
6ce15ae4e3
spaces -> tabs
1999-02-18 00:55:36 +00:00
mycroft
f1e84a4ec5
A few things:
...
* Use the trigger interface.
* Permit different encodings for record and playback.
* Set AUDIO_PROP_INDEPENDENT.
* Fix the mmap(2) hole again.
* Use 16-bit mode for a-law and u-law playback.
1999-02-18 00:54:19 +00:00
mycroft
8b7b7cccc7
Fix a silly type.
1999-02-17 23:55:18 +00:00
mycroft
27963c294a
Use the trigger interface, and clean up a pile of cruft.
1999-02-17 23:05:28 +00:00
mycroft
71105fbda7
Update comments.
1999-02-17 21:44:55 +00:00
christos
1aede0624c
Now that shell has been fixed so that ". filename" does not look at . if .
...
is not in the path add ./ to the files.
1999-02-17 18:17:10 +00:00
tsubai
60307f0ef1
Sync with mac68k.
1999-02-17 14:56:56 +00:00
tsubai
e717f0bc2b
Use mips/varargs.h.
1999-02-17 14:13:42 +00:00
bouyer
36a5fdb528
Some new fields in the ext2fs superblock, from Tim Shepard.
...
While I'm there, reformat this file a bit.
1999-02-17 13:09:43 +00:00
thorpej
6d0cb6e410
Change a straggling splimp -> splnet.
1999-02-17 09:11:29 +00:00
itohy
8fb18ac4cf
Escape SCCS marker so as not to confuse what(1).
1999-02-17 08:13:12 +00:00
scottr
928c2f86e0
Fix a typo in the (unused!) splsched() macro.
1999-02-17 04:46:45 +00:00
mrg
e21cbb5e8b
KNF nit.
1999-02-17 03:54:46 +00:00
thorpej
69a4436f8b
Avoid initializing the interface in the SIOCSIFFLAGS if ! UP and ! RUNNING.
1999-02-17 03:40:59 +00:00
eeh
c9956cf132
Let's test out vectored interrupts.
1999-02-17 03:23:28 +00:00
mjacob
1611b4799f
Gronk. DWLPX comment in a MCPCIA file.
1999-02-17 03:17:17 +00:00
mycroft
7741cae143
Fix slight ommission in previous.
1999-02-17 02:43:13 +00:00
mycroft
e5f5e628d2
Pass the direction to the allocm and round_buffersize methods.
...
Some drivers need this to properly allocate DMAable memory.
1999-02-17 02:37:38 +00:00
mycroft
88ad3aa42b
If we have an 8-bit DRQ, always pass that to isa_malloc().
1999-02-17 01:22:47 +00:00
jonathan
ce3b5f2c3f
Adjust cursor offests so that cursor position reported by X applications
...
agrees with pointer. Fron PR 6648 (not verified at all resolutions.)
1999-02-17 01:04:10 +00:00
is
2c7fa23c38
Fix Copyright dates
1999-02-16 23:34:10 +00:00
is
dc068e0d1f
Assign my files to The NetBSD Foundation, Inc.
1999-02-16 22:46:55 +00:00
bouyer
2ccd5cde74
Correctly compute PIO/DMA mode for sis and acer chips when the drive support
...
a DMA mode with higther capabilities than PIO mode.
1999-02-16 18:11:52 +00:00
tsubai
4806be8d02
Use powerpc/reloc.h.
1999-02-16 17:53:42 +00:00
abs
e54f9521b8
Update IDE comments, from yoavcs@inter.net.il
1999-02-16 17:46:17 +00:00
tsubai
adf03cea81
Add copyright notice.
1999-02-16 15:20:51 +00:00
jonathan
069050d92d
Bump mips3 CPU-mhz timing threshholds by 10% due to egcs wins.
...
XXX mips1 not recalibrated.
1999-02-16 10:10:51 +00:00
jonathan
3cc1ae4ff2
Use VECTOR() and VECTOR_END() in mips1 locore code.
1999-02-16 08:35:35 +00:00
veego
8dcc2f0651
Add support to boot from ide hard disks.
1999-02-16 07:25:43 +00:00
pk
8d45c4eb84
Use promlib version correctly.
1999-02-16 07:22:17 +00:00
jonathan
adc3e91e3a
Add VECTOR() and VECTOR_END() macros for declaring exception-vector
...
code. Fold in <xxx>End names used to copy exception code to vector
locations. Use in mips3 locore code.
1999-02-16 05:06:26 +00:00
ender
e0a4cb2335
Add NetBSD RCS Id's
1999-02-16 01:08:16 +00:00
scw
80a6d1c537
reboot(8) is now supported, by hitting the hard reset (RST) bit in the GCSR.
...
Figure out the amount of onboard RAM by looking at the MEMC040/MEMECC
configuration register. (Bank #0 only, for now).
1999-02-15 21:05:26 +00:00
is
83852d7633
regenerate
1999-02-15 19:34:13 +00:00
pk
6139fd16f3
Install the `machine' link again; it went missing a while ago.
...
Add `-I.' to CPPFLAGS to use it.
1999-02-15 19:31:34 +00:00
is
41bc990eca
Create a RCS id in the generated configuration file
1999-02-15 19:16:41 +00:00
pk
2a1ecde639
Transfer copyright to TNF.
1999-02-15 19:01:38 +00:00
pk
d292580f3f
Use PROMLIB to streamline this code. This also provides the bulk of
...
Open Firmware boot code.
1999-02-15 18:59:36 +00:00
pk
8460b71d8d
* Add promlib.c to common sources.
...
* Compile with prototype warnings turned on.
1999-02-15 18:52:12 +00:00
bouyer
d683e62685
Be less strict on ATAPI signature, at last one CD puts 0x00 in sc instead
...
of 0x01.
1999-02-15 18:47:59 +00:00
bouyer
13e811e874
Revert to 1.23, this was not supposed to be checked in yet.
1999-02-15 18:43:08 +00:00
bouyer
18496766b2
For CDIOCCLOSE, ignore media changes, as some drive seems to return this
...
info here.
1999-02-15 18:41:04 +00:00
bouyer
379429d4df
If the REQUEST_SENSE command fails, issue a reset instead of XS_DRIVER_STUFFUP.
...
If REQUEST_SENSE succeeds but doens't return any data, return XS_SHORTSENSE
as the sense field will just contain a copy or the error register.
1999-02-15 18:40:01 +00:00
christos
3029ee19e3
Hmm, I forgot to add that..
1999-02-15 08:48:20 +00:00
ragge
f379e1e9c0
Fix RCSid, pointed out by Hubert Feyrer.
1999-02-15 07:07:43 +00:00
hubertf
56f2d188fc
RCS ID police
1999-02-15 04:54:34 +00:00
sakamoto
a6a228ce7f
RCS ID police
1999-02-15 04:38:06 +00:00
hubertf
aa4a217d1c
RCS ID police
1999-02-15 04:36:33 +00:00
hubertf
100778d54a
RCS ID police
1999-02-15 04:25:28 +00:00
hubertf
dcd5f59c0a
RCS ID police
1999-02-15 04:14:54 +00:00
augustss
fd9002550c
Make the reset even longer do cater for really bad devices.
1999-02-15 00:32:16 +00:00
tron
210b267f84
Regen from pcidevs.
1999-02-14 22:44:36 +00:00
tron
acb24b6080
Add 3Dfx's Voodoo II. Fixes PR kern/7000 by Brett Lymn.
1999-02-14 22:38:18 +00:00
christos
c95ea656d6
Elf bits.
1999-02-14 20:04:26 +00:00
scw
a72d37c4fa
Merge support for mvme167 into main tree.
1999-02-14 17:54:27 +00:00
pk
059697a999
Use PROMLIB's prom_setcontext().
1999-02-14 14:37:45 +00:00
pk
3ee0ba2805
romcall() => prom_halt()
1999-02-14 14:37:15 +00:00
christos
5e44086190
Provide a way for compat programs to specify files in the normal tree.
...
We do this using a trick similar to mach's /../; if a path is given as
/..<absolute-path-name>, then we return <absolute-path-name>
1999-02-14 14:32:02 +00:00
pk
67df93822d
Add size arg to getpropstringA
1999-02-14 14:03:16 +00:00
pk
8edcd03969
Use the PROMLIB interface.
1999-02-14 12:44:31 +00:00
pk
9896803ae6
Fake a label only if it appears to be blank, and if so use RAW_PART
...
instead of 0.
1999-02-14 12:42:33 +00:00
pk
4b9ee1f8ce
This file is superseded by promlib.c
1999-02-14 12:38:03 +00:00
pk
4dc82c28b4
Exit: obp.c; Enter: promlib.c & openfirm.c
1999-02-14 12:36:50 +00:00