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
pk
a8456f4e8a
Check OBP magic: if no match then assume an Openfirmware PROM.
1999-02-14 12:33:55 +00:00
pk
1e5bf77774
Adjust to functionality and changes introduced with <machine/promlib.h>
1999-02-14 12:26:16 +00:00
pk
a99ba2939c
Provide a uniform interface to most of the PROM functions.
...
Include an Openfirmware back-end (mostly copied from sparc64).
1999-02-14 12:23:03 +00:00
dbj
f651d280fa
Continue hacking on esp driver. Seems relatively stable in read only mode.
...
write operations appear to lose scsi interrupts and causes timeouts.
changes in this checkin include:
a nextdma bugfix causing a diagnostic check to erroneously trigger
Changed tail strategy to only use tail buffer for the minimal end slop
changed expected write dma overrun to 32 bytes.
turned on nextdma diagnostic check for dma end address since it
no longer gets triggerred by ethernet dma and helps debug scsi dma.
Added esp debugging printout and support.
1999-02-14 10:19:51 +00:00
dean
6dc3d1eae8
Put back bsd.own.mk and added comment explaining why it must be included.
1999-02-14 02:56:19 +00:00
thorpej
e523f4968b
Make sure full-duplex is reflected in TXCON, and don't reset the interface
...
when the media changes.
1999-02-13 21:08:08 +00:00
pk
bae33b3ad6
Split the printf variants into separate files.
1999-02-13 20:56:57 +00:00
christos
6e13c7d4b5
Avoid defining __extension__ if we don't need to. Breaks lint.
1999-02-13 20:35:02 +00:00
minoura
4d5a04afc4
MI version of the Fujitsu MB89352 SCSI Protocol Controler (SPC) driver.
...
Based on experimental NetBSD/pc98 ISA/PISA version, which was derived
from the MD /sys/arch/x68k/dev/spc.c.
1999-02-13 17:33:14 +00:00
scw
c13995b38f
Add entry for CD240[01] driver.
1999-02-13 17:07:36 +00:00
scw
94719c7b9a
New MI front-end for the Cirrus Logic CD240[01] Multi-protocol
...
Communications Controller.
This is still a work in progress, but it is functional enough to
be usable.
1999-02-13 17:05:19 +00:00
christos
21485fd1d6
noise reduction.
1999-02-13 16:45:28 +00:00
christos
f2da4dfc95
Support __syscall for COMPAT_AOUT properly.
1999-02-13 16:10:44 +00:00
christos
ac66b8f92d
Don't forget to lower the spl in the error case of sigprocmask
1999-02-13 15:25:51 +00:00
dbj
997f74e47c
Continued work on esp scsi driver. Now can at least do enough i/o to create and mount
...
a filesystem, but is not stable enough yet for general use.
increased priority of ethernet interrupts, mostly useful to aid debugging
of scsi interrupts while using an nfs disk.
added additional debugging output in the next dma driver.
perform extranneous cache flushes/purges before dma reads/ after dma writes
to aid debugging of scsi dma.
1999-02-13 09:44:50 +00:00
lukem
dcab0210a0
convert from NOxxx= to MKxxx=no.
...
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
thorpej
22a5cb007f
Fix printf format warnings on Alpha.
1999-02-13 02:41:40 +00:00
thorpej
70b91539e9
Restructure the interrupt handler and 1-second timer a bit, and tidy up
...
the lazy-transmit-interrupt logic, fixing a few minor logic problems.
Now unable to reproduce the lockup problem described in PR #6767 . Changing
PR's state to "feedback".
1999-02-13 02:12:59 +00:00
dean
c372a9b915
Remove bsd.own.mk include
1999-02-12 23:48:46 +00:00
veego
8b48b6c4af
Protect the COMM variable with an '.ifmake tags' to stop the long delay
...
while doing a make in src/sys/arch/* on slow machines.
1999-02-12 19:52:30 +00:00
tsubai
31101d57ec
Add missing backslash.
1999-02-12 18:13:12 +00:00
drochner
960dfa5227
oops - forgot to convert the trivial case (ASCII) to "match levels"
1999-02-12 15:49:43 +00:00
drochner
525932e022
make the probe stricter to catch cases where the chipset doesn't pull
...
the data lines to "high" for not-existant devices
1999-02-12 12:45:48 +00:00
drochner
b515442160
Display the danish o-slash as phi/Theta as proposed by
...
Soren S. Jorvang <soren@t.dk>, with a lower match level.
Display the other accented characters which are not present in the IBM
character set by their non-accented equivalents, with an even lower
match level.
1999-02-12 11:32:50 +00:00
drochner
dbdaf91650
change the "mapchar" interface to return a "quality" or "match level"
...
arguments which allows to find approximations for characters which are
not present in a font
1999-02-12 11:25:23 +00:00
drochner
2414f4ac80
"NEXT" is a keyboard type, not a keymap variation.
1999-02-12 11:14:49 +00:00
drochner
ccc6fbda81
Add some #ifdef SUPPORT_LINUX code which specifies a BOOTP tag to pass
...
a command line for that kernel.
Minor sizeof() sanity.
1999-02-12 10:56:18 +00:00
drochner
836a315463
We can't prototype exit() publically because it might take an argument or
...
not, depending on the port-specific environment.
Separate panic() and exit() so that the mi/default panic() can be used
without conflicting with a local exit() definition, move exit(void)
prototype to the default exit() implementation.
Closes PR bin/6990 by Wolfgang Helbig <helbig@Informatik.BA-Stuttgart.DE>.
1999-02-12 10:51:28 +00:00
drochner
ee57895586
That got broken in KNFifying.
1999-02-12 10:44:07 +00:00
thorpej
02d221f94a
Fix printf format problems on Alpha.
1999-02-12 06:25:13 +00:00
thorpej
db631acd8a
Fix printf format problems on Alpha.
1999-02-12 06:07:52 +00:00
mrg
aea84d23cc
add a proto for print_dtbl
1999-02-12 05:58:27 +00:00
mrg
43542ba2e5
include dev/mii/files.mii
1999-02-12 05:57:21 +00:00
thorpej
e8823cc3f3
Cleanup of the EPIC/100 driver I did while hacking on the Rhine driver:
...
* Macroize hardware and software descriptor access (much easier to read).
* Simplify and optimize the transmit loop a bit, and use IFF_OACTIVE as
appropriate.
* Fix a potential race condition in the transmit loop. This change has
made the driver significantly more stable (almost completely eliminated
the "device timeout" errors that have plagued this driver).
* Implement transmit interrupt pacing.
* Add missing bus_dmamap_sync() calls (on transmit and receive descriptors
and fraglists). (Draining the write buffer when accessing these structures
may have also contributed to the increased stability of this driver on
the Alpha.)
1999-02-12 05:55:27 +00:00
cjs
c890eba0b7
Change NOMAN=yep to MKMAN=no.
1999-02-12 05:41:57 +00:00
cjs
8a3ac60bb8
Change NOMAN to MKMAN.
1999-02-12 05:15:35 +00:00
cjs
3e90f302b6
Don't give exit() a parameter, as libstand version doesn't take one.
1999-02-12 05:14:22 +00:00
cjs
1caabb110e
Don't hardware /sys, use $SYSDIR if it exists. This should still be looked
...
at, though; should we be using relative paths instead?
1999-02-12 04:58:18 +00:00
thorpej
873e1d2a51
Fix printf format problems on Alpha.
1999-02-12 01:51:37 +00:00
thorpej
5194c207d0
Fix printf format problems on Alpha. (IRONIC?!)
1999-02-12 01:45:42 +00:00
thorpej
a4376d6a58
Fix printf format problems on Alpha.
1999-02-12 01:38:38 +00:00
thorpej
1b97ad6910
Fix printf format warnings on Alpha.
1999-02-12 01:37:06 +00:00
thorpej
1ab6db8e5f
Fix printf format problems on Alpha.
1999-02-12 00:50:09 +00:00
thorpej
94962b67c7
Fix some printf format problems on Alpha.
1999-02-12 00:46:11 +00:00
thorpej
f83663b7ba
Garbage-collect some unneeded definitions.
1999-02-12 00:37:07 +00:00
thorpej
7b516b31bd
Major overhaul of the Rhine/Rhine-II driver, structuring it a little more
...
like the SMC83C100 EPIC/100 driver:
* Rather than using pointers to the head and tail of the transmit and
receive rings, use wrapping indexes into arrays. This is a little more
obvious when reading the code.
* More cleanly separate the hardware descriptor from the software descriptor.
* bus_dma it everywhere.
* Implement interrupt pacing and avoid a potential race in the transmit
loop.
Now this looks more or less like the Rhine driver I was working on when
this driver was committed :-) Update copyright notice to reflect that.
1999-02-12 00:36:48 +00:00
cjs
7665332880
Fix compiler warning.
1999-02-11 20:33:26 +00:00
christos
85333355d2
Add COMPAT_AOUT glue.
1999-02-11 20:14:28 +00:00
christos
f30379285d
Forgot to commit this one.
1999-02-11 20:11:43 +00:00
pk
14b924800a
Can't include libkern.h twice which is what happens if _KERNEL is on.
...
For now, protect here with _STANDALONE.
XXX - must probably fix sys/systm.h
1999-02-11 15:39:31 +00:00
mycroft
2a304686e6
Minor cleanup.
...
Make the initializer for BAUDLO depend on PCLK directly; it was incorrect on
some ports where PCLK is not 4.9152MHz.
XXX Is the default value actually used?
1999-02-11 15:28:03 +00:00