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
scottr
87bf486935
Back out previous; it's now dead code.
2000-03-09 23:15:23 +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
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
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
simonb
4eb55e447c
Do the "<space><tab>" thing with the RAID_AUTOCONFIG option.
2000-02-29 06:32:20 +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
scottr
d67bf4504d
Turn off some noise during autoconfig on the IIfx/Q9x0, making it
...
conditional on the TRACE_CONFIG debugging flag.
2000-02-24 05:02:33 +00:00
erh
8f03b9a04a
Define the DONETISR macro and use netisr_dispatch.h. This is to cut down on code duplication and to standardize the available NETISRs across all ports.
2000-02-21 20:38:46 +00:00
scottr
5bc9da0d51
Correct some temporary confusion between the IOPs and the OSS: move
...
IOP init back to mac68k_init(). We'll deal with the OSS later.
2000-02-21 05:50:14 +00:00
scottr
45ac4c3122
Use constants defined in viareg.h to set value of VIA2.
2000-02-21 05:36:11 +00:00
scottr
17a313075f
Correct some temporary confusion between the IOPs and the OSS: move
...
IOP init back to mac68k_init(). We'll deal with the OSS later.
2000-02-21 04:08:21 +00:00
scottr
5c7674d4dd
Explicitly include headers needed by iopreg.h
2000-02-21 02:04:48 +00:00
scottr
eb17197dee
Initialize VIA/IOP/PSC from intr_init(). While here, re-order headers
...
to match KNF.
2000-02-21 01:51:37 +00:00
scottr
806c8c15e0
Initialize VIA/IOP/PSC from intr_init().
2000-02-21 01:48:49 +00:00
scottr
ab647533a1
Bracket disabled IIfx IOP code with #ifdef __notyet__, rather than
...
commenting it out or using #if 0.
2000-02-21 01:20:55 +00:00
ender
f30d8c9d30
Include mac68k/dev/akbdmap.h, not macppc/dev/akbdmap.h. Fixes PR 9435
...
filed by Dave Huang <khym@bga.com>.
2000-02-17 02:07:07 +00:00
scottr
042be92f6f
Update for wscons.
2000-02-14 08:58:41 +00:00
scottr
2071e61796
Update for wscons.
2000-02-14 08:48:08 +00:00
scottr
8a00740789
Merge wscons work onto the main development branch.
2000-02-14 07:01:44 +00:00
thorpej
dded044fc2
Update for the NKMEMPAGES changes.
2000-02-11 19:25:12 +00:00
thorpej
fe551f0e64
Fix a bug in disksort_*() which caused non-optimal ordering when multiple
...
active partitions were on a single spindle. Add a b_rawblkno member to
struct buf which contains the non-partition-relative block number to sort
by.
2000-02-07 20:16:47 +00:00
cgd
7d16ac338c
add __BROKEN_CONFIG_UNIT_USAGE #define, becuase these ports do very
...
wrong things with device configuration data "cf_unit" information.
2000-02-05 00:13:22 +00:00
tsutsui
11c8f56d48
Revert STRIPPROG -> STRIP
2000-02-01 05:25:24 +00:00
tsutsui
249975c3c9
Revert (accidentally removed) MAXSLP macro.
2000-01-27 09:47:12 +00:00
ender
3e79c827d4
Fix PR 9302. Fix provided by Hauke Fath (hauke@Espresso.Rhein-Neckar.DE).
2000-01-27 02:26:17 +00:00
tsutsui
b0fbaa33fb
Remove obsoleted macros.
2000-01-26 09:44:10 +00:00
drochner
8eb798e603
define a "BUS_SPACE_MAP_PREFETCHABLE" flag which basically means that
...
device accesses are idempotent (but should not be cached by the CPU)
2000-01-25 22:13:17 +00:00
tron
04eb110431
Add "dependall" target for comfort.
2000-01-24 20:36:06 +00:00
hubertf
7e5ff67457
Add commented out "ident"-command
2000-01-23 23:46:04 +00:00
thorpej
52242fdf9f
Update for sys/buf.h/disksort_*() changes.
2000-01-21 23:28:59 +00:00
sommerfeld
aa195e816f
Fix PR9240: comment above cpu_fork() out of synch with reality on most ports.
...
(comment change only, but was wrong for more than just i386).
2000-01-20 22:18:54 +00:00
wrstuden
87e1b0f9b7
Add overlay to kernel configs.
2000-01-20 19:12:28 +00:00
thorpej
a0397a2573
Move callout initialization to a single location; no need to duplicate
...
that code all over the place.
2000-01-19 20:05:30 +00:00
tsutsui
e61f177ab1
STRIP -> STRIPPROG
2000-01-19 16:29:54 +00:00
tsutsui
644b514c39
Change STRIPFLAGS=-g for cross-toolchains.
2000-01-19 14:44:58 +00:00
msaitoh
0b9af6bdce
check whether tv_usec >= 1000000
2000-01-19 02:52:16 +00:00
thorpej
8201b36ca0
Use b_cylinder as defined in sys/buf.h
2000-01-18 19:43:02 +00:00
scottr
97a60329d2
Apparently, the Mac TV is a re-packaged Performa 550. Add code to
...
recognize this so that Mac TV users can finally ditch the MRG_ADB option.
1999-12-25 08:16:34 +00:00
kleink
11e6c54cfc
C99: Define a NAN macro in <math.h> which evaulates to a constant expression of
...
a single-precision quiet NaN; only to be defined on platforms that do support
this value.
1999-12-23 10:15:05 +00:00
scottr
1c5a093819
Make this compile without bpf. Problem noted by Bob Nestor, fix from
...
Frederick Bruckman.
1999-12-20 01:06:40 +00:00
scottr
3310f57beb
Replace references to PGOFSET with m68k_trunc_page() and m68k_page_offset(),
...
as appropriate.
1999-12-12 08:18:48 +00:00
scottr
a15eb6dc13
An interrupt handler may change adbInCount underneath us, so qualify the declaration
...
with volatile. The bug didn't show its face until more agressive
optimization showed up, apparently a result of the last egcs upgrade.
(The interrupt handling changes from June have certainly also played
a part.) Thanks to Ken'ichi Ishizaka for discovering the problem.
1999-12-10 00:03:47 +00:00
ragge
26e1b45757
clrnd()/clbase() discarding.
1999-12-05 11:56:30 +00:00
ragge
0513268399
CL* discarding.
1999-12-04 21:13:19 +00:00
scottr
3029c58799
Use a bitwise-and to test CC_IPURGE, not a logical-and. This could have led
...
to flushing the entire cache unnecessarily.
1999-11-28 11:10:47 +00:00
scottr
86a8f1d201
Sync cachectl1() implementation with other m68k ports.
1999-11-28 10:36:56 +00:00
scottr
99d3468790
Don't use the plural form of the word "target" if there is only one!
1999-11-28 10:10:51 +00:00
scottr
dc2663bf69
If there is only one ADB device, it will do us no good to avoid it
...
when guessing which device to poll next. Resolves PR 7407, but the
bug is a lot older than that.
1999-11-28 10:07:34 +00:00