pk
0ed0e258db
Declare the prom stdio nodes and arguments.
2000-03-19 13:25:10 +00:00
pk
41fb5989fe
Revise console device handling:
...
* do not require a `zs' driver for console handling
* run the console on PROM primitives until a device recognises
itself as a console device during normal autoconfiguration.
* allow (keyboard) devices to take over the input channel of
the PROM primitive-based console device.
As a result, consinit() is much simplified and does no longer have
to "detect" devices to setup a working console device. This complexity
has moved to individual drivers which interpret the PROM information
after they have attached to decide whether or not to act as a console.
2000-03-19 13:22:14 +00:00
takemura
dae2c19e55
- Pbsdboot.exe is compiled for WindowsCE 2.00.
...
Use Pbsdboot1.exe for Windows CE 1.01.
- Doesn't display 'MEMORI KA-DO'(Japanese KANA) if SystemDefaultLangID
isn't Japanese.
- Set up Windows color palette for 8 bpp machine.
2000-03-19 11:10:57 +00:00
takemura
847d8fd135
Synch with adding arch/hpcmips/include/endian_machdep.h.
2000-03-19 10:46:17 +00:00
nonaka
0e99eebec3
bus_dma works. (at least de, le and vr work.)
2000-03-19 09:45:30 +00:00
scottr
4f29e4d330
Add and use macros to build ADB FLUSH, LISTEN, and TALK commands.
2000-03-19 07:37:58 +00:00
scottr
edfc8b89ad
The MRG and direct ADB drivers were inconsistent in how they worked with
...
a serial console; the direct driver didn't care, but the MRG driver
wouldn't probe ADB when using a serial console. Remove the check from
the MRG version of the code to resolve this difference.
2000-03-19 06:07:05 +00:00
thorpej
f785596e75
Add support for mapping the OHCI USB controller interrupt (which is wired toan ISA IRQ because it's in the same package as the PCI-ISA bridge).
2000-03-19 02:25:29 +00:00
thorpej
ac93a75106
Point back to the alpha_shared_intr in the intrhand structure. This
...
allows platform-specific code to access the `intr_private' data via
the intrhand structure.
2000-03-19 01:46:18 +00:00
thorpej
c10a9d31ea
Put the code that enables/disables Pyxis interrupt lines in
...
cia_pyxis_intr_enable().
2000-03-19 01:43:25 +00:00
scw
9c745dbd5e
Merge 'scw_mvme68k_bus_space' branch with the trunk.
...
These changes add support for:
o The MI VMEbus framework on both MVME147 and MVME167.
o Enhancements to the existing MD bus_space(9) implementation.
o Most of the bus_dma(9) API.
2000-03-18 22:33:02 +00:00
scottr
513f613391
Add the RasterOps 24MxTV; this card operates in the same manner as two
...
other RasterOps boards we already handle. Information provided by
Greg Kerr.
2000-03-18 20:53:24 +00:00
ragge
cae5843a06
Fix typo that caused lance chip not to be detected.
2000-03-18 16:20:06 +00:00
mycroft
e1a7dc9b2a
Fix line wrapping.
2000-03-18 16:16:12 +00:00
mycroft
6780878550
Fix pasto in previous.
2000-03-18 16:14:57 +00:00
mycroft
0af581a1a1
Add a ncr5380_attach() routine which does part of the initialization, attaches
...
the scsibus, and does the addref/delref dance.
2000-03-18 16:13:22 +00:00
scottr
c62e39490c
Check to make sure we get a valid handler ID in response to a TALK R3.
2000-03-18 08:07:50 +00:00
tron
e86957458a
Install "machineendian_machdep.h".
2000-03-17 22:36:31 +00:00
tron
8caeaa49bd
Install "endian_machdep.h" required for "sys/endian.h".
2000-03-17 17:22:57 +00:00
sato
2b251ae99b
change about debug print.
2000-03-17 09:54:15 +00:00
scottr
0a23aef85e
Resurrect a chunk of code from the ite driver that we lost along the way.
...
This code is necessary for SE/30 internal video, at a minimum.
2000-03-17 04:46:32 +00:00
mycroft
9e21b6555a
In the `MY THAT'S GROSS' department...
...
Eliminate the recursive include of machine/endian.h from sys/endian.h.
2000-03-17 00:09:18 +00:00
darrenr
162b0b1dab
__P(()) -> __P((void))
2000-03-16 23:21:05 +00:00
kleink
8bc084e1de
Kill more broken cf_unit bogons.
2000-03-16 16:37:20 +00:00
mycroft
02905321b2
Foolish consistency. Mainly, always use underscores and sys/endian.h.
2000-03-16 15:09:34 +00:00
ad
ce0c2b1962
Attach cac* at pci?, ca* at cac?. Commented out where needs be.
2000-03-16 15:05:18 +00:00
ad
d8bd9a762a
Make ca(4) useable as a block/boot device.
2000-03-16 14:53:29 +00:00
mycroft
415cbeb83f
This code has nothing to do with UCB.
2000-03-16 14:15:26 +00:00
nisimura
f7f5e0a24c
Note that HX (PMAGB-B) has no support for small (less than 8 pixel width)
...
font. If attempted, kernel will explode.
2000-03-16 08:42:40 +00:00
eeh
3b51289caa
Revamp interrupts again:
...
Fix a bug causing interrmittent panics in interrupt dispatch.
Use interrupt vectors for softints.
Add a new send_softint interface.
Improved D$ flushing.
Improve traptrace and other debugging enhancements.
2000-03-16 02:36:56 +00:00
shin
6190c3253f
add 'makeoptions CWARNFLAGS=""' to override CWARNFLAGS?= -Werror.
2000-03-16 01:45:51 +00:00
kleink
1634305526
Kill a couple of unnecessary cf_unit (ab)uses.
2000-03-15 20:40:00 +00:00
soren
b4e10b0a4e
s/md/raid/ for RAIDframe major name.
2000-03-15 17:08:37 +00:00
oster
36b9d60244
Add the RAIDframe device major to the machine-dependent config files
...
so that the right entries get added to dev_name2blk[]. Needed for / on RAID.
(Missed these yesterday.. Thanks to Izumi Tsutsui for noticing, and for
letting me know :) )
2000-03-15 16:57:12 +00:00
drochner
aa1de89bdf
explicitely #include <sys/systm.h> #if BUS_SPACE_DEBUG to get a printf()
...
prototype
2000-03-15 16:44:48 +00:00
fvdl
73797e6d2a
Stupid hack: run the apm kthread at 8*hz/7 intervals, not hz. Prevents
...
the load average from being 1.0 or higher constantly.
XXX really need a better way of calculating the load average.
2000-03-15 09:30:11 +00:00
nisimura
220005d941
Eliminate unused sc_cookie field of struct ioasic_softc.
2000-03-15 03:07:44 +00:00
fvdl
20b063e782
Add new files for common ahc EISA/VL code.
2000-03-15 02:10:41 +00:00
fvdl
bb8265c6be
Update ISA/VL frontend for new ahc driver (done by Noriyuki Soda).
2000-03-15 02:05:19 +00:00
augustss
072f9f5b69
Some whitespace changes.
2000-03-14 22:37:55 +00:00
jdc
e8a33a63d1
Add port power management ioctls.
2000-03-14 21:24:54 +00:00
jdc
48ba774212
Fix RCS ID.
...
Add port power management.
2000-03-14 21:23:45 +00:00
jdc
797ac20035
Add power management hooks.
2000-03-14 21:20:51 +00:00
jdc
fa4417ef0c
Add enable/disable and power management hooks for serial ports.
...
Port states : always on / on when open (default) / always off
2000-03-14 21:18:27 +00:00
oster
1bad2e1909
Add the RAIDframe device major to the machine-dependent config files
...
so that the right entries get added to dev_name2blk[]. Needed for / on RAID.
(Whoops! I missed checking these in when adding the RAID_AUTOCONFIG stuff.)
2000-03-14 15:56:51 +00:00
soren
667929def5
KNF comment.
2000-03-14 14:11:06 +00:00
soren
9ec86df3dd
Fix typo.
2000-03-14 14:10:08 +00:00
soren
eb9d73ce81
Actually use KSEG1 offset for KSEG1 addresses in kvtophys().
...
From Jeff Smith and Ethan Solomita at Geocast.
2000-03-14 14:08:55 +00:00
sato
0a00ace3f7
some buttuns map to key codes which the button mean.
2000-03-14 08:37:31 +00:00
uch
6219354e8c
sync with fb->hpcfb, btnmgr changes.
2000-03-14 08:31:07 +00:00
sato
16d7136b4c
change about debug print.
...
CVS
2000-03-14 08:26:42 +00:00
sato
b76ec51696
- toggle CONFIG_HOOK_BUTTONEVENT_POWER event.
...
- change about debug print.
2000-03-14 08:23:24 +00:00
nisimura
8bf44847a8
Fix DEC3000/300 TC slot numbering. There is an address space hole
...
between two TC option cards and 3 builtin TC devices. Was uncovered by
mrg's change made at Nov 1999 and pointed by tsutsui.
2000-03-14 05:53:33 +00:00
nisimura
6f5486c425
Switch to MI sfb (PMAGB-B) TC framebuffer driver which sports faster
...
text rendering assisted by SFB ASIC.
2000-03-14 05:34:04 +00:00
nisimura
8de02d3a76
- Comment out cfb (PMAG-B) 1024x768 framebuffer.
...
- Have Gallant19 font by default.
2000-03-14 05:31:16 +00:00
nisimura
b3a2990ce5
Redo the previous commit; duplicated lines.
2000-03-14 02:55:04 +00:00
nisimura
38ed3db66f
Synchronize with recent progress of GENERIC.
2000-03-14 02:53:04 +00:00
soren
735236ed02
Fix doubled 'the the' in comment.
2000-03-14 00:04:19 +00:00
soren
95054da1a1
Fix doubled 'the's in comments.
2000-03-13 23:52:25 +00:00
kristerw
ce56ba78b7
Make the inline asm conform to what gcc thinks they should look like (per
...
discussions in http://gcc.gnu.org/ml/gcc-patches/1998-11/msg00004.html )
Approved by fvdl.
2000-03-13 21:10:24 +00:00
uch
9616fd8002
no longer required.
2000-03-13 18:56:40 +00:00
uch
00363a82c8
sync with hpcfb.
2000-03-13 18:49:15 +00:00
tsutsui
97970bb544
Reduce memory disk size and remove some options.
2000-03-13 12:58:58 +00:00
martin
8ba340d655
Do the same as biosboot does.
...
This makes it possible to create serial console dosboot.com's via uncommenting
the appropriate Makefile options.
I needed this when testing the SMP test kernels at work.
2000-03-13 10:51:22 +00:00
mycroft
b27007be2c
Make dependall work.
2000-03-13 03:25:20 +00:00
sato
54dab7a0d1
add BTN_COVER for MC-R520.
2000-03-13 01:57:06 +00:00
sato
fd697ef8aa
add PWCTL_LCDLIGHT for MC-R300
2000-03-13 01:54:39 +00:00
sato
f9dc1cca42
add CONFIG_HOOK_POWERCONTROL_LCDLIGHT
2000-03-13 01:52:00 +00:00
sato
035f58c823
HPC/PsPC keyboard types.
2000-03-13 01:46:44 +00:00
uch
a57fa19957
change debug message.
2000-03-12 15:42:43 +00:00
uch
44b86d33d6
recognize UCB1100 id.
2000-03-12 15:36:11 +00:00
uch
ba8565be98
add WINCE_DEFAULT_SETTING and IT8368E_DESTRUCTIVE_CHECK for debug.
2000-03-12 15:35:29 +00:00
uch
6c57f806b1
sync with btnmgr change.
2000-03-12 15:28:12 +00:00
takemura
dc7c050b3b
Add wsmux device which is real device in /dev.
2000-03-12 13:46:27 +00:00
takemura
b0650cbf17
Change btnmgr to wskbd device from pseudo device.
2000-03-12 12:08:16 +00:00
takemura
2996ac1c02
Bivideo utilize platid mechanisum for probing.
2000-03-12 11:46:44 +00:00
takemura
c12028016f
Add makefile to install hpcfb.h.
2000-03-12 06:40:16 +00:00
sommerfeld
f6ec059d2e
add newline at end of last line.
2000-03-12 05:35:37 +00:00
takemura
e9619d5d21
New frame buffer driver 'hpcfb' and built in video controller 'bivideo'
2000-03-12 05:04:44 +00:00
shin
53cff1c1e5
fix typo.
2000-03-11 09:11:33 +00:00
shin
531586bc96
fix frame buffer type (normalized to 'black on white').
2000-03-11 09:05:17 +00:00
shin
a56d95d08b
fix PV-6000/C-1000 keycode mapping.
2000-03-11 08:53:33 +00:00
shin
b7a1ee6c84
configure controller 0 only (workaround for phantom PCIC).
2000-03-11 08:51:55 +00:00
tsutsui
dc259a36a2
Use CTRL_AST interrupt to handle asynchronous trap.
2000-03-10 19:06:43 +00:00
minoura
37132adf3f
Sync. with news68k/news68k/mem.c:1.2.
2000-03-10 16:28:56 +00:00
sato
06f85d40f0
change about VRIPDEBUG. no action changes.
2000-03-10 09:18:00 +00:00
sato
67e7cb40b1
fix print message when #undef VRGIUDEBUG and change a little.
2000-03-10 09:05:01 +00:00
groo
0a77d41f4f
clean up lm0 example
2000-03-10 06:03:18 +00:00
nisimura
4c043eb094
Arrange 'vmstat -i' to show 'optslotN'; for interrupt counts of TC slot N
...
as well as DECsystem 5100 optional serial card slot N.
2000-03-10 01:31:22 +00:00
sato
79d83d72e1
printf -> DPRINTF
...
vrisa_debug = 0 by default.
2000-03-10 01:30:06 +00:00
scottr
87bf486935
Back out previous; it's now dead code.
2000-03-09 23:15:23 +00:00
cjs
0aaf8765ad
Add reminder to add stuff to ALPHA as well as this.
2000-03-09 22:27:26 +00:00
scottr
d5f475149c
The last change has proven unreliable. Attack the problem differently;
...
assume that the address we have is the correct PA if we can't
figure it out by groveling. This time it really (yes, really)
works on the PowerBook 14x/16x/170.
2000-03-09 22:27:09 +00:00
cjs
fe76319160
Add ident and RAID_AUTOCONFIG to bring up to date with GENERIC.
2000-03-09 22:26:41 +00:00
soren
c70220f2a2
Move PCIIDE_CHANNEL_NAME macro to pciidereg.h.
2000-03-09 20:26:31 +00:00
thorpej
0bcbafe0ee
Correct the number of arguments to wsdisplay_set_cons_kbd(), for the
...
changes I made for cnbell().
2000-03-09 18:59:27 +00:00
hubertf
f3f4e44c39
fix typo
2000-03-09 16:49:22 +00:00
ad
5af90382c5
Add missing chrtoblktbl entry.
2000-03-09 11:19:30 +00:00
garbled
ea089cf90c
New features:
...
tctrl now initializes the state of the internal LCD icons. The icons
are unprogrammed at boot time. This incidentally makes the DC-POWER icon
work.
Fixes:
Fix my stupidity in the ENVSYS stuff, and actually follow the API.
2000-03-09 07:04:08 +00:00
groo
752c98f8ea
Add (commented out) lm driver examples
2000-03-09 04:12:42 +00:00
matt
ebe08edbb2
add VS400 scsi attachment + a few other things
2000-03-09 02:05:07 +00:00
matt
57032be837
disable scsi for ka49 until sgmap is adapted to it.
2000-03-09 02:02:12 +00:00
matt
082a04f053
don't enable sgmap on ka49 yet.
2000-03-08 23:50:51 +00:00
matt
f21e750db2
only have vmapbuf/vunmapbuf do anything on the ka46/48/49.
2000-03-08 23:49:10 +00:00
mhitch
5a9b9df419
Do the interrupt dispatch somewhat differently than the previous fix.
...
This one is more in the spirit of incorrect version which was trying
to shorten the interrupt path. This probably isn't quite as fast as
using a switch() statement to dispatch the interrupts, but should be
a little faster than testing for each of the possible 6 interrupt
conditions.
2000-03-08 18:09:27 +00:00
takemura
fe02fcfe1e
GENERIC configration includes Cassiopeia E-55 CF card support.
2000-03-08 14:53:33 +00:00
mhitch
0641e677c4
Using interrupt bits in a switch statement doesn't work very well if more
...
than one interrupt bit is set (unless you do some fancy case values).
Check each interrupt bit individually and process the interrupt if set.
5000/200 doesn't hang shortly after booting now.
2000-03-07 23:41:35 +00:00
kleink
ad7dbd825c
Define ISO C99 (unsigned) long long (min, max) symbols.
2000-03-07 19:33:00 +00:00
kleink
0c7df56c40
Define ISO C99 (unsigned) long long (min, max) symbols.
...
VS: ----------------------------------------------------------------------
2000-03-07 19:31:50 +00:00
kleink
a9ebf7bb8c
Define ISO C99 (unsigned) long long (min, max) symbols.
2000-03-07 19:31:49 +00:00
tsutsui
56423f59aa
Use b_cylinder as defined in sys/buf.h.
2000-03-07 15:59:24 +00:00
tsutsui
d16c6f3272
Use DISKPART/DISKMINOR/DISKUNIT instead of dkpart/dkminor/dkunit.
2000-03-07 15:55:14 +00:00
tsutsui
d9d840d522
- Remove unnecessary prototype declaration of readdisklabel().
...
- Use DISKPART/DISKMINOR/DISKUNIT instead of dkpart/dkminor/dkunit.
2000-03-07 15:35:42 +00:00
scottr
6755970bcf
Low-level drivers, like the Power Manager driver, can get us into a major
...
funk when they misbehave and give us unexpected results. Specifically:
- Don't assume that the first free slot is at the top of the table if
we can't find one.
- Don't increment ADBNumDevices when backfilling "holes" left by devices
that didn't respond to a TALK R3 during the initial device scan.
- Don't assume that an address reassignment worked; make sure something
responds on the new address before plowing forward.
- If after device reassignment there are no free slots, make sure to
indicate this fact.
- Failing all else, handle the situation where we run out of slots in
the device table -- which now should "never" happen -- gracefully.
While the Power Manager driver still sometimes misbehaves, it shouldn't
cause the system to crash/hang due to us walking off the end of the
device table.
2000-03-07 06:35:22 +00:00
shin
5913106c36
add '%INCLUDES'.
2000-03-07 04:17:27 +00:00
soren
2f1aff2da3
Garbage collect MIPS_SR_INT_ENAB/MIPS_SR_INT_ENA_CUR definitions.
2000-03-07 01:05:48 +00:00
matt
ebbd936b2c
Chnage chip freq to 25MHZ. panic if dmaaddr is not in the kernel's
...
address space. fix some printfs. (reads now work!)
2000-03-07 00:08:42 +00:00
matt
10f359a6b5
clear the sgmap that was allocated
2000-03-07 00:07:16 +00:00
matt
e8c7c2f842
add real vmapbuf/vunmapbuf routines. needed for VS4000 SCSI support.
2000-03-07 00:05:59 +00:00
matt
e42cc6e32e
remove some unsed variables. make a bit efficeint.
2000-03-07 00:04:13 +00:00
thorpej
a183d34f04
- Implement cnbell() -- ring the console bell. The cn_bell entrypoint
...
is optional.
- Add cn_bell to statically allocated consdevs as appropriate.
2000-03-06 21:36:05 +00:00
itojun
6ac3fc2a55
beautify APM_DISABLE_INTERRUPTS line (s/options\t/options \t/)
2000-03-06 18:45:42 +00:00
takemura
5c2ef51018
Add '\Storage Card1\netbsd'.
2000-03-06 13:24:12 +00:00
deberg
d2a30703b6
we don't have callrom(), so stop pretending otherwise. fixes PR
...
next68k/7257.
2000-03-06 04:14:15 +00:00
deberg
cab3766f0b
add comments to ZS_CONSOLE_ABORT and SERCONSOLE, and convert to
...
options<SPACE><TAB>NAME
2000-03-06 03:48:57 +00:00
mark
60d1e515ef
Remove dead option POSTMORTEM.
2000-03-06 03:16:24 +00:00
mark
9b9e4e5a8f
defopt EBSA285 and FOOTBRIDGE.
2000-03-06 03:15:46 +00:00
mhitch
e87b3c7fb3
Use device_register() instead of dk_establish() to determine the boot
...
device. Works on a 3100 with both old and MI SCSI, on a 5000/25 built-in
IOASIC with both old and MI SCSI, on the 5000/25 PMAZ TC option card
with both old and MI SCSI, and with tftp boot on the 5000/25.
2000-03-06 03:15:28 +00:00
mhitch
9ace38f7dc
Move the now emptry dk_establish() back to disksubr.c where it originally was.
2000-03-06 03:14:28 +00:00
mhitch
7f9b4522d1
A common device_register() is used instead of a separate version for each
...
of the different DECstation models.
2000-03-06 03:11:43 +00:00
mhitch
0993165c93
Define __HAVE_DEVICE_REGISTER, since pmax now has device_register().
2000-03-06 03:11:05 +00:00
mhitch
e65044e30d
Get rid of hook for dk_establish() - pmax will now use device_register().
2000-03-06 03:08:32 +00:00
eeh
4a8841ada2
Try to page align all segments up to 4MB pages.
2000-03-06 01:29:04 +00:00
matt
4ab785a0e1
it is pretty close to working. the scsibus probes now.
2000-03-05 23:20:25 +00:00
matt
c43bdd0b91
Fix a bug with < 1 pages mappings.
2000-03-05 21:51:47 +00:00
matt
1de30b727b
fix bug in bus_space_subregion
2000-03-05 21:22:48 +00:00
thorpej
23c5667cfe
Use ANSI-style function declarations for the various inline functions
...
here. Addresses port-alpha/9056.
2000-03-05 18:46:14 +00:00
shin
84b24dcb3a
cosmetic change.
2000-03-05 10:03:16 +00:00
takemura
775240e015
Delete #ifdef USE_RASTERCONS lines, which are not used.
2000-03-05 08:49:06 +00:00
mrg
6bf88d7e9a
add a "struct device *booted_device" so that raidframe can link.
2000-03-05 08:21:57 +00:00
takemura
45db29b1b3
Delete #ifdef USE_RASTERCONS lines, which are not used.
2000-03-05 06:24:33 +00:00
takemura
303401ce32
Change bus_addr_t and bus_size_t from u_int32_t to u_long.
...
Add -Werror option to kernel Makefile.
2000-03-05 05:22:12 +00:00
takemura
2aad5afc67
Add ISA DMA support entries. (It's dummy. I don't know if it work or not.)
2000-03-05 04:34:06 +00:00
nathanw
2569290833
Now that pnpbios_io_unmap() exists, use it.
2000-03-04 23:08:54 +00:00
mycroft
8781f55d6a
Invert the APM_NO_POWER_PRINT flag, and make sure it's off by default.
2000-03-04 21:37:23 +00:00
uch
062700843c
Make it easier to cross-compile with this. moreover.
2000-03-04 19:52:26 +00:00
uch
937f50798e
adjust retry count for TX3922
2000-03-04 19:36:34 +00:00
uch
06f8a39446
timeout when DMA interrupt lost.
2000-03-04 19:35:36 +00:00
tsubai
4c75cb9b65
INSTALL kernel config.
2000-03-04 19:30:17 +00:00
matt
2b3b8b5d50
it's closer to working now.
2000-03-04 18:20:53 +00:00
matt
ad61c16f86
Oopps. forgot to commit this.
2000-03-04 16:59:18 +00:00
ragge
8e7bc4bd01
Change some install options. From Todd Whitesel.
2000-03-04 16:21:05 +00:00
ragge
3c7a7bf0e0
Install the boot programs in /usr/mdec also. From Todd Whitesel.
2000-03-04 16:17:46 +00:00
takemura
ac09284927
Change 'irq' locater encoding. You can use port# 0. You should use 0xff
...
for unspecified port#. Also, You can specify interrupt level/edge, high/low
and through/hold.
2000-03-04 13:43:19 +00:00
aymeric
7cd55062c0
do as if bus_space_read_4() returned an int, although it just calls panic.
2000-03-04 11:49:18 +00:00
uch
bac061b47f
sync with my latest.
2000-03-04 11:41:48 +00:00
uch
461e3d82a4
adjust SIBSCLK to 9.216MHz (TX3922)
2000-03-04 11:39:29 +00:00
nisimura
03bf9a2dc3
Remove #ifdef'ed out PMAX_CACHEFLUSH_FORCES_WBFLUSH codes in cache
...
flush ops which has had no effect for long time.
2000-03-04 11:37:31 +00:00
tsubai
30370336dc
Use ring buffer on tx side, too.
2000-03-04 11:17:00 +00:00
nisimura
1036d33c39
Fix mipsmate SCSI lossage made by my previous change.
2000-03-04 10:14:39 +00:00
nisimura
f58f6334cb
Cosmetic cleanups to hide local objects.
2000-03-04 08:25:24 +00:00
scottr
027952236a
Two changes to facilitate (better) PowerBook 1xx support:
...
- Use a mask to account for address space "wrapping"
- Check supervisor data space if we can't find a PTE in user data space
2000-03-04 08:16:16 +00:00
scottr
a5d6bd9c7a
Add get_pte_s() to search the supervisor space.
2000-03-04 08:10:51 +00:00
matt
e0df4ffcae
expunge vm_offset_t and vm_size_t.
...
add bus_dma support for the vs4000 dma translation map (sgmap).
enhance the vsbus for the lance to work with it.
remove the sgmap init code from ka46/48/49.c
2000-03-04 07:27:47 +00:00
nisimura
c9fc3f7c80
Mention a bit about possible HZ interporation improvement in microtime().
2000-03-04 07:09:09 +00:00
nisimura
8098245d56
Mention a bit about various issues NetBSD/arc must solve.
2000-03-04 06:54:17 +00:00
nisimura
4e461d33ef
Have a local variable to match/attach mainbus insteading using ->cf_unit.
2000-03-04 06:35:02 +00:00
nisimura
ccacacf17c
Nuke unnecessary prototype declaration of readdisklabel().
2000-03-04 06:21:15 +00:00
nisimura
076916eb49
Use cdev_decl() for cdev prototype declaration, fixing errors in the 4th
...
argument of mmopen() and mmclose().
2000-03-04 06:14:47 +00:00
nisimura
13441f2429
It's not necessary to have #if NSII > 0.
2000-03-04 06:05:36 +00:00
mhitch
8bf4d36694
Fix boot device detection. Device probes are not done when adapters are
...
configured, but after all adapters have been configured. When multiple
adapters are present, only the last configured adapter could be matched
to the boot device slot. The adapter attach routines now check if that
adapter slot matches the boot device slot and saves the softc pointer
for that controller. Then when the disks are configured, dk_establish()
matches the appropriate controller. Also change the rz boot device test
to include a check for the adapter so that it works when booting from a
disk on adapters other than the first one.
2000-03-04 05:42:55 +00:00
nisimura
400fee7b5a
Remove never used memory error address register manipulation
...
inherited from DECstation 3100 and other debris floating around.
This file will go away naturally when interrupt establish procedure
and dispatcher are well coordinated in sane way of encapulating
target implementation differences.
2000-03-04 05:21:20 +00:00
matt
7258e6c6b7
First pass at NCR53c9x attachment for VS4000. It doesn't work yet.
...
But I want to save the work.
2000-03-04 00:24:06 +00:00
matt
1bce76807d
it's a bit cleaner now. it also gets rid of the iomap init in
...
ka4[689].c
2000-03-04 00:22:37 +00:00
matt
2150f75fb0
First pass. need to add hw sgmap allocation via bus_dmamem
2000-03-03 22:57:49 +00:00
uch
630279a800
add device file interface for UCB1200
2000-03-03 19:54:34 +00:00
mhitch
40b13c16c0
Do the Ultrix label check in readdisklabel() instead of in rz.c. Ultrix
...
disks are now usable with the MI SCSI sd devices.
The install mini-root adjustment and the default partitioning still needs
to be moved into readdisklabel().
2000-03-03 17:51:26 +00:00
mhitch
9eaf0ad1d4
Allow a kernel (i.e. GENERIC) to be configured with rz disks with the SII
...
driver and sd disks with MI ASC driver.
2000-03-03 17:46:49 +00:00
uch
8e89a8db7e
cosmetic change
2000-03-03 17:09:57 +00:00
soda
09a5eed1e8
NEC RISCstation 2250 (NEC-RD94) support.
...
contributed by Shuichiro URATA <ur@a-r.org>.
2000-03-03 13:08:42 +00:00
soda
a031341f9b
NEC RISCstation 2250 (NEC-RD94) support.
...
contributed by Shuichiro URATA <ur@a-r.org>.
2000-03-03 12:50:19 +00:00
soda
c616c9e0fe
use callback function to set up secondary cache related things on arc.
...
XXX - perhaps it is better to separate cache related initialization
from mips_vector_init().
2000-03-03 12:43:52 +00:00
soda
d4b9359964
do not install bus.h, kbdreg.h and pio.h..
...
since currently these are not useful/needed from userland.
2000-03-03 12:38:25 +00:00
soda
65102815b0
cosmetic change.
2000-03-03 12:35:40 +00:00
soda
0ded8728bc
typo in comment
2000-03-03 12:32:43 +00:00
soda
a39a58d0fb
update
2000-03-03 12:32:15 +00:00
soda
0fd8c949e4
prepare for wscons
2000-03-03 12:31:33 +00:00
soda
e47c4a5f51
add some MI devices, including raidframe, tun, ...
2000-03-03 12:29:57 +00:00
nisimura
3c5d39d73b
Make clearer a bit how proc0's USPACE is intialized.
2000-03-03 08:36:20 +00:00
castor
67e96268ad
Fix a /dev/kmem crash when vaddr + count wrapped and snuck through
...
the error check, courtesy of Jeff Smith <jeffs@geocast.com>.
2000-03-03 02:33:21 +00:00
groo
97be07a6c4
Remove probe/attach for PNP0C02. There are reserved motherboard regions.
...
Thanks to Adam Glass for catching this.
2000-03-01 20:24:53 +00:00
groo
866ee72838
Add pnpbios_io_unmap
2000-03-01 20:23:55 +00:00
thorpej
7d57276982
Do partial lazy I-stream sync -- in the pmap_enter()/pmap_remove() cases
...
for now. More to come.
2000-03-01 18:29:04 +00:00
thorpej
908f6bc4cd
Infrastructure for lazy istream sync in the pmap module:
...
- Add a bitmask for the CPUs which need an isync before this pmap returns
to userspace on that CPU.
- Define PMAP_USERRET(), a utility macro for userret() to use to process
the deferred isync, and call it as appropriate in userret().
2000-03-01 02:22:03 +00:00
thorpej
a192dc9c5b
PMAP_ISACTIVE() now takes the cpu_id. This serves two purposes:
...
- Everywhere it was used, the cpu_id was already computed, so this
saves computing it again.
- This will be needed for lazy istream sync.
2000-03-01 01:32:45 +00:00
ad
14050f197e
Make this compile in DEBUG/DIAGNOSTIC case.
2000-03-01 00:44:53 +00:00
thorpej
64911f1d2e
Use cpu_number() here instead of alpha_pal_whami().
2000-03-01 00:43:34 +00:00
matt
a1a05c5cf9
include <sys/cdefs.h> since <net/netisr_dispatch.h> needs __CONCAT
2000-03-01 00:17:17 +00:00
thorpej
fac7fc369f
Put machine check info in cpu_info in the multiprocessor case, and
...
just have one statically allocate machine check info structure in the
single processor config case.
2000-02-29 22:19:53 +00:00
thorpej
04d9239b1e
Reset mc_received after we've done a badaddr probe.
2000-02-29 21:42:54 +00:00
augustss
8cc92d88cf
Add USB tty device.
2000-02-29 19:08:54 +00:00
matt
352a87f7bd
fix a too agressive s/CIA/UBA/ (e.g change SPEUBAL back to SPECIAL) in the
...
header.
2000-02-29 17:42:32 +00:00
matt
8aaab5c387
add missing cpu dependencies
2000-02-29 17:13:27 +00:00
nonaka
37eb9eebc2
Initial import prep port.
2000-02-29 15:21:20 +00:00
nisimura
6f5dadba1c
Cleanup warning comment which is now irrelevant. Reorder codes.
2000-02-29 09:03:30 +00:00
nisimura
d93aaefb84
- Have SYS_DEV_xxx device cookie symbols to select and install proper
...
interrupt handlers into intrtab[] array, rather than the idea of devices
in 'psuedo' TURBOchannel slots.
- Nuke symbols for psuedo TC slots.
- Abandon never/unlikely used intr_disestablish()s.
2000-02-29 07:20:21 +00:00
simonb
4eb55e447c
Do the "<space><tab>" thing with the RAID_AUTOCONFIG option.
2000-02-29 06:32:20 +00:00
nisimura
a6e403e50b
Remove unnecessary cast for kernend variable when grabbing proc0 USPACE.
2000-02-29 04:55:54 +00:00
nisimura
7eeaa2a1fa
NLE_PMAX symbol in le_pmax.h has gone.
2000-02-29 04:44:29 +00:00
nisimura
582e9de235
- Have SYS_DEV_xxx device cookie symbols to select and install proper
...
interrupt handlers into intrtab[] array, rather than the idea of devices
in 'psuedo' TURBOchannel slots.
- Nuke symbols for psuedo TC slots.
- Abandon never/unlikely used intr_disestablish()s.
2000-02-29 04:41:47 +00:00
mhitch
19c22771f3
Check and clear the appropriate IOASIC SCSI interrupt bits when in polled
...
I/O mode. Kernel dumps will now work with the IOASIC SCSI devices.
2000-02-28 18:51:25 +00:00
takemura
32817a3257
WSMOUSE_SCALIBCOORDS had not worked because ioctrl code was wrong.
2000-02-28 12:34:31 +00:00
augustss
e0573deb3b
Another ID for ESS. From Dave Huang <khym@bga.com>
2000-02-28 00:22:33 +00:00
tsubai
0468fe97e4
Don't use hardcoded speed value when this is a console. Instead, read
...
from zs. (because OF-3.x uses 57600 bps)
2000-02-27 20:31:57 +00:00
mycroft
d128de6bc6
Change miniroot size to 3072.
2000-02-27 20:26:07 +00:00
tsubai
f101e8315f
Add gmac. (commented out)
2000-02-27 18:06:43 +00:00
tsubai
6f4bb03178
Initial version of gmac ethernet driver.
...
XXX doesn't work well yet.
2000-02-27 18:00:55 +00:00
tsubai
0086d842d5
Rewrite stdarg/varargs.
2000-02-27 17:50:20 +00:00
augustss
6c10d82f8d
Add (commented out) PCIBIOS options so people can find them easily.
2000-02-27 16:51:39 +00:00
uch
dc8f1b2cb9
UCB1200 GPIO support.
2000-02-27 16:37:50 +00:00
uch
c26429fac5
UCB1200 GPIO routines.
2000-02-27 16:34:13 +00:00
uch
fc0a27a970
cosmetic changes
2000-02-27 16:28:13 +00:00
takemura
b22af17c02
Add 'Sharp HC-1200' and divide MC-CS1x into MC-CS11, 12 and 13.
2000-02-27 05:47:34 +00:00
mycroft
cf3085176e
Nuke all the code associated with the INITIALLY_LEVEL_TRIGGERED() lossage, and
...
instead register a shutdownhook to restore the PIC state.
2000-02-27 02:50:31 +00:00
mycroft
544ffa4528
Force polling on pcic, so I get another IRQ for cards.
2000-02-27 00:15:30 +00:00
mycroft
76a60b98d3
Install pio.h.
2000-02-26 22:15:40 +00:00
thorpej
198dbed79d
Pull in <sys/types.h> for the benefit of those things which include
...
<machine/sysarch.h> but don't pull in <sys/types.h>.
2000-02-26 20:12:56 +00:00
thorpej
0958e8149a
x86-style PIO ops for USERLAND ONLY! Requires -lalpha.
2000-02-26 19:00:51 +00:00
thorpej
df88882d80
- Add a bus space method for getting the translation for a window.
...
- Add sysarch methods for "get bus window count", "get bus window",
and "pci conf read/write".
These are a hack, but they're what's necessary in order to make
XFree86 work in its current state.
2000-02-26 18:53:10 +00:00
oster
d9c47013b2
Defopt 'RAID_AUTOCONFIG'. Adding 'options RAID_AUTOCONFIG' turns on
...
the component auto-detection and auto-configuration of RAID sets.
Also, add "#options RAID_AUTOCONFIG" to the GENERIC config files.
2000-02-26 17:35:33 +00:00
itojun
13fc260296
s/options\t/options \t/ for CONS_OVERRIDE line, so that addition/removal of
...
"#" does not affect indentation.
2000-02-26 17:12:37 +00:00
scw
f2c822fa6e
Include <machine/cpu.h> to make these compile again.
2000-02-26 16:50:55 +00:00
uch
e0f169f58e
change power up sequence.
2000-02-26 15:16:19 +00:00
uch
d4c8fabc4a
fix lost interrupt bug.
2000-02-26 15:14:19 +00:00
scw
b4d8a2fd8f
Need <machine/cpu.h> for IIOV definition.
2000-02-26 14:31:35 +00:00
pk
546bda740f
Revert to using <bsd.prog.mk> again, so we support all targets that may
...
be presented when building the system (noticed by Juergen Hannken-Illjes).
2000-02-26 11:48:15 +00:00
thorpej
0b97eb1052
alpha_pa_access(): if securelevel <= 0, grant read/write access to
...
non-memory address locations.
2000-02-26 00:17:25 +00:00
mycroft
f8e1e12acc
Add Aviator/RayLink.
2000-02-25 20:55:34 +00:00
mycroft
d1546a70bb
Add more PCMCIA stuff, nuke PNP.
2000-02-25 20:52:11 +00:00
jdc
ecf1c1eb21
Add auxiotwo (Tadpole 3GX aux 2 register) entry.
2000-02-25 18:24:40 +00:00
jdc
7840960350
Driver for Tadpole 3GX "Power Down Control (Aux 2) Register".
...
Based on existing auxreg.[ch] (Sparc Aux Register driver).
2000-02-25 18:17:24 +00:00
pk
9bbc61deaa
We need <bsd.obj.mk>.
2000-02-25 16:53:22 +00:00
pk
c64db6cec7
Remove out-dated comment.
2000-02-25 16:02:49 +00:00
soda
59ebd61fdf
Do not hardcode ethernet address.
...
This haven't tested with original Acer Pica 61, but it appeared that
NEC Image RISCstation is almost fully compatible with Pica 61, and
doesn't have problem with using product id as ethernet address.
(Although it is better to use SONIC device configuration data from ARC BIOS,
rather than product id. Autoconfiguration stuff for jazz derived systems
really should be revisited.)
2000-02-25 13:28:42 +00:00
soda
0e123969af
some clean up, especially,
...
- use "objcopy -O ecoff-littlemips" instead of elf2ecoff to make cross
compilation easy. this also workarounds a problem that -current
elf2ecoff doesn't work with ARC BIOS.
- use -mips2 for ld, since mixing -mips3 and -mips2 doesn't work with
-current ld.
mostly from Izumi Tsutsui <tsutsui@netbsd.org>
2000-02-25 13:20:43 +00:00
shin
2d3ab1ef0c
stop memory probing at first memory image.
...
this is necessary for MC-CS12.
2000-02-25 11:20:20 +00:00
drochner
0ff2be2565
-make lm78 entry depend on NLM
...
-add "vmegeneric" entry (the driver is not yet there, but I'm sick of
the cvs conflicts)
2000-02-25 10:04:38 +00:00
mycroft
54ffe9e871
Only pay attention to controller 1 on the pcic. It appears that on this
...
machine it mirrors (but is not usable as) controller 0.
XXX Need to find a way to detect this automatically.
2000-02-25 05:28:42 +00:00
mycroft
01ef320ff1
Add `\My Documents\' to the menu of kernel locations.
2000-02-25 03:38:59 +00:00
groo
f5f2ad429c
Initial import of National Semiconductor LM7[89] Hardware Monitor with isa and
...
pnpbios attach.
examples:
lm0 at pnpbios0 index?
lm0 at isa? port 0x290
TODO: spinlocks, i2c interface.
2000-02-25 02:17:43 +00:00