Commit Graph

8379 Commits

Author SHA1 Message Date
mark
1c9f0501fc Don't complain about a drive type of zero, just treat it as no drive
present.
1996-06-03 22:19:21 +00:00
mark
59e4127d96 Use the sync information in the mode definition to set the VIDC sync
polarity.
1996-06-03 22:14:56 +00:00
mark
2f6e37b679 Fixed -Wall compiler warnings. 1996-06-03 22:11:34 +00:00
mark
d4b96c659d Fixed -Wall compiler warnings introduced when fixing the vt220 printing
bug.
1996-06-03 22:08:37 +00:00
mark
a2a08dd859 Removed the old QUADMOUSE_* ioctl names. Everything now uses the
generic mouse ones.
1996-06-03 22:07:39 +00:00
mark
aa4be90f73 General code format tidy up.
Added missing function prototypes.
1996-06-03 22:04:40 +00:00
mark
0ba929925d Added proper definitions of quadrature mouse button register. 1996-06-03 22:03:36 +00:00
mark
258f83367c Added setsoftintr() prototype. 1996-06-03 22:00:50 +00:00
mark
0b265889c6 RCS Id police. 1996-06-03 21:58:25 +00:00
mark
515759c222 Added PLIP soft interrupt. 1996-06-03 21:57:52 +00:00
mark
10d9fbd5fe RCS Id police. 1996-06-03 21:55:46 +00:00
mark
89711a59f0 Fixed -Wall compiler warnings. 1996-06-03 21:53:33 +00:00
mark
17582aa655 Removed some dead code from cpu_exit().
Fixed -Wall compiler warnings.
1996-06-03 21:46:15 +00:00
mark
7d3a5033a5 Use special versions of the IRQdisable and IRQenable macros that
keep FIQ's active.
1996-06-03 21:43:06 +00:00
mark
2d9f11e999 Add visibale debugging info for the RC7500 board. 1996-06-03 21:41:09 +00:00
mark
2a56b05b3d Implemented cache and tlb flush functions for the StrongARM.
RCS Id police.
1996-06-03 21:38:05 +00:00
mark
8251f6e1f7 Fixed copyright message. 1996-06-03 21:36:14 +00:00
mark
6da55f03ee RCS Id police. 1996-06-03 21:35:10 +00:00
mark
6ecba1cbe0 Added extra diagnostic information that can be printed when the ARM700
prefetch abort bug occurs.
Fixed -Wall compiler warnings.
1996-06-03 21:32:11 +00:00
mark
ff542922fa getdevice() now defaults to returning the a partition if no partition
is specified in the string.
Fixed -Wall compiler warnings.
1996-06-03 21:28:59 +00:00
mark
bd72d43fdc Major code clean up. Now satisfies the source code style guide. 1996-06-03 21:27:21 +00:00
mark
5a66df3d3d RCS Id police. 1996-06-03 21:21:29 +00:00
cgd
c6dd609e7f gross hack to get around the fact that there are currently devices with
common back-ends that live on multiple very-different busses (e.g. PCI and
TC), which need bus-specific DMA mapping support.  As a nice side effect,
this will allow the especially nasty (vtophys(va) | 0x40000000) expressions
to go away in favor of less nasty bus-specific function calls.
1996-06-03 20:18:48 +00:00
cgd
e038a84b34 add "le* at pci?", because it compiles and may actually work. 1996-06-03 20:10:52 +00:00
cgd
729d7a8aa8 only do tty_attach() for first tty of each chip; that's the only real tty. 1996-06-03 19:43:31 +00:00
is
7aaddee417 #define GRFIOCBLANK_LIVE and GRFIOCBLANK_DARK in grfioctl.h to make absolutely
clear which switches the video signal on and which off.
Make all grf_??.c (which supported it) use the same polarity of the test.
While being here, use a > test instead of implicit != to make it extensible
to darker than dark values for power managment systems.
1996-06-03 18:55:08 +00:00
cgd
afe080291e fix pasto: s/NETISR_CCITT/NETISR_PPP/ at the appropriate place in
netintr().  From Matt Thomas <matt@lkg.dec.com>.
1996-06-03 18:32:37 +00:00
is
1530e15480 Don't get fooled by the CyberSCSI MK I, which uses the same man/prod id
as the Fastlane Z3, but is different enough to let the kernel crash.
Closes PR #2492 by Matthias Scheler. [thanks also to Ralph Schmidt for
confirmation of the patch]
1996-06-03 17:07:20 +00:00
scottr
d9953b15c4 Minor cosmetic cleanup left over from reverting interrupt handlers 1996-06-01 06:10:34 +00:00
scottr
701205b00d Add tty_attach() as appropriate (for pstat -t) 1996-06-01 00:13:39 +00:00
pk
460d3403be Initialize video parameters if the board is not yet running. Useful if
the cg3 is not the console.
1996-05-31 09:59:22 +00:00
cgd
d4b462666e if PCVT_NETBSD > 120, do tty_attach() calls so that pstat -t will work.
If these changes are pulled up to the 1.2 release branch, they should
be changed so that they are included if PCVT_NETBSD >= 120.
1996-05-31 00:03:59 +00:00
cgd
311886cbbe add call to tty_attach() so pstat -t will work with pccons ttys. 1996-05-30 23:59:11 +00:00
cgd
99a50a5e0d now that the bug has been fixed, we can go back to using the
Alpha-optimized in_cksum().
1996-05-30 23:18:14 +00:00
cgd
ea82d613ab Fix from Matt Thomas to fix problem where packets like
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x01 would be checksummed
incorrectly: rather than adding two 32-bit quantities together to
sum a quadword (which was losing a carry bit), add as four 16-bit
quantities.
1996-05-30 23:08:36 +00:00
cgd
a6539cd434 add options LKM, INSECURE 1996-05-30 22:36:49 +00:00
cgd
00a630739d don't use pcvt any longer 1996-05-30 22:35:46 +00:00
pk
a8deff302c Clamp synch-transfer parameters at our maximum values on device-initiated
synch negotiation.
1996-05-30 22:19:10 +00:00
is
4c4c6e7b5f Pull INSTALL into the trunk. 1996-05-30 20:50:48 +00:00
cgd
6e6fc14f32 add tty_attach() calls where appropriate 1996-05-30 18:44:30 +00:00
leo
e81bea0de0 Add loadkmap 1996-05-30 13:44:36 +00:00
leo
0b59a91269 Add missing spl(x). (Jason Thorpe) 1996-05-30 13:41:58 +00:00
mhitch
601c0013e0 Fix the third LBA extraction from a 6 byte SCSI command that I missed. 1996-05-30 03:15:07 +00:00
pk
c393eae7c5 event_var.h changed location. 1996-05-30 01:40:07 +00:00
pk
9a9cf8c3f5 Put back a `#if defined(SUN4M)' for now. 1996-05-30 00:57:35 +00:00
pk
e86275a0b6 Some slight optimizations. 1996-05-30 00:02:09 +00:00
cgd
f7dcef06d4 add missing splx(). From Jason Thorpe 1996-05-29 22:24:47 +00:00
pk
b3666a87b4 Swiatch to `sys/dev/sun/event*'. 1996-05-29 21:57:51 +00:00
pk
3d1e64415a Switch to `sys/dev/sun/event.c'. 1996-05-29 21:56:38 +00:00
pk
f9f5f23ee3 We really need a ring buffer for every unit.
Eliminate extraneous ttyalloc() calls.
1996-05-29 21:45:28 +00:00
pk
4899447ffc Add missing splx(), per Jason. 1996-05-29 21:08:28 +00:00
pk
57e61589e7 Fix two cases of handling stale page table information:
1. when reading the referenced/modified bits the TLB entry must be flushed
   before reading the in-core version.
2. when wrapping up an entire segment in pmap_page_protect(), flush the PTPs
   from the TLB to prevent a table-walking operation to pick up stale - or
   possibly bogus - PTEs.

(hopefully I'll get a few of my hairs back now..)
1996-05-29 20:58:38 +00:00
oki
b042da1f56 fixed reboot problem on Xellent30. 1996-05-29 17:19:07 +00:00
oki
7c5b284636 added missing splx(s). pointed out by thorpej. 1996-05-29 17:03:41 +00:00
scottr
cac1b831e9 - Simplify writes in sbc_drq_intr().
- When finished writing, if the SCSI bus has BSY asserted, write another
  byte to the SBC to ensure we get an interrupt.
- Unflag SCSI interrupts on the VIA whenever we clear the interrupts
  on the SBC itself.
1996-05-29 14:26:33 +00:00
leo
5d8d243a6e Add UCONSOLE option. 1996-05-29 12:28:06 +00:00
mhitch
fe55416706 Fix autoconfiguration stuff to more closely match the alpha - primarily
the IOASIC attached devices.  The DS3100 will now configure properly.
Fix the DS5000/25 IOASIC table entry for the RTC so the RTC interrupts
get enabled.
Fix up a moved include file.
1996-05-29 06:29:02 +00:00
mhitch
d8824f1a84 Fix autoconfig stuff to more closely match the alpha. The DS3100 will now
configure properly.  Also fix devices with TurboChannel and mainbus
attachments so they will work if no TurboChannel was configured.
Fix clock.c for a missing variable if not including NTP support.
Also remove some extraneous includes files or use the right ones.
1996-05-29 06:25:01 +00:00
mhitch
038bd4a782 Fix autoconfig stuff to match the alpha. The DS3100 will now
configure properly.
1996-05-29 06:19:49 +00:00
mhitch
de1b9b4230 Fix autoconfiguration stuff to match the alpha. The DS3100 will now
configure properly.  Also fix devices with TurboChannel and mainbus
attachments so they will work if no TurboChannel was configured.
Fix a panic when the dtop keyboard handler receieves a character
before the device has been opened.
1996-05-29 06:15:40 +00:00
mhitch
9d8526a68d Use the MI LANCE drivers - the pmax-specific one no longer compiles. 1996-05-29 06:05:05 +00:00
mhitch
a2d094fb48 Fixes to make kernel compile: HZ is required to be defined and CPU_R3000
is needed to include R3000 support.  Also change the le0 to le* for the
3100 LANCE so it configures properly.
1996-05-29 06:01:13 +00:00
chuck
e35aa10df8 switch to generic boot 1996-05-29 05:06:21 +00:00
chuck
24ac64b87b fix generic boot code 1996-05-29 05:04:41 +00:00
chuck
9f36687189 borrow part of the sparc port's dk_establish to fix generic boot 1996-05-29 05:03:50 +00:00
chuck
946f08aa87 note if we are the boot device (for fixing generic boot) 1996-05-29 04:29:46 +00:00
chuck
5258929681 detect if we are the boot device (to fix generic kernel) 1996-05-29 04:27:11 +00:00
chuck
ac46d3b779 add to fix boot generic problem 1996-05-29 02:32:21 +00:00
chuck
e4528e0647 save boot device info from bug/bootblocks 1996-05-29 02:28:30 +00:00
mrg
5583238255 impliment ttylist stats based on disk stats. 1996-05-29 02:02:42 +00:00
mrg
65d186d8e8 find a couple minor nits from previous change. 1996-05-29 01:58:09 +00:00
chuck
6645fec14e fix off by one error 1996-05-29 01:52:03 +00:00
chuck
f057fa41d5 leave room for partition 1996-05-28 19:07:32 +00:00
chuck
cd4d6d851b new kernel call args. 1996-05-28 18:14:24 +00:00
chuck
e0923c774b bug fix: pass address of le to netboot 1996-05-28 18:03:38 +00:00
oki
532b0a8630 fdboot can boot from 512bytes/sector format floppy now. 1996-05-28 17:01:25 +00:00
chuck
9a628842cf fix bootst (sync with sun3 tapeboot) 1996-05-28 15:23:53 +00:00
chuck
09e22de574 delete non-working bootst 1996-05-28 15:23:06 +00:00
chuck
da573626b4 new bootst (based on sun3 tapeboot) 1996-05-28 15:22:41 +00:00
mrg
6ce8e31376 change zsinfo to a zs_softc, and impliment intr counts. mostly from OpenBSD. 1996-05-28 14:06:28 +00:00
mrg
08bd090b26 count audio interupts (from OpenBSD). 1996-05-28 13:36:09 +00:00
fvdl
b7a6989848 NetBSD1_1 -> NetBSD1_2, so use it properly (PR 2475) 1996-05-28 12:28:45 +00:00
pk
9913321bff CMP_PTE_USER_READ4M: check against PPROT_RWX_RWX; this is the canonical
stack protection (saves many excursions into trap.c on window underflows
as was the sole intention of the macro..).
1996-05-27 20:46:39 +00:00
pk
d94f5b92f9 prototype mmu_pagein4m() #if DEBUG is on. 1996-05-27 20:29:03 +00:00
mhitch
ab7b439a98 The logical block address in a 6 byte command is 21 bits, not 20.
Also a transfer length of 0 indicates 256 blocks.
1996-05-27 05:49:49 +00:00
pk
75eb006fa2 No longer need to call mmu_pagein() through a pointer. 1996-05-27 01:13:02 +00:00
pk
522c1d367a mmu_pagein() is only useful on sun4/sun4c. For now, keep a `mmu_pagein4m()'
within `#ifdef DEBUG' for monitoring.

Push user windows to stack in pmap_extract() if we need to switch contexts.
1996-05-27 01:12:34 +00:00
pk
4fa564e10d Fix case where sequence state wasn't updated properly, resulting in
`disk_unbusy' panic.
1996-05-27 00:10:40 +00:00
hpeyerl
3e834c5e86 Update to reflect reality (such as it is). 1996-05-26 23:45:42 +00:00
pk
43b3743977 Implement CMP_PTE_USER_WRITE4M more accurately.
CMP_PTE_USER_READ4M needs some more work..
1996-05-26 22:33:31 +00:00
pk
2382529ecd Some more #defines. 1996-05-26 22:30:20 +00:00
leo
d48f93eef5 Add 'kernel_text' symbol (Gordon Ross). 1996-05-26 20:50:53 +00:00
chuck
9fe4f7c83a kill "options GENERIC" by replacing it with Theo's sparc code. 1996-05-26 20:47:39 +00:00
chuck
8f19c1d045 fix cngetc() typeo. 1996-05-26 20:42:58 +00:00
is
eafd041aca Fix few more places where 040+060 rlevant stuff was only compiled for 68040,
preventing 68060-only kernels to work. (68060 only kernel is tested now by
using it to commit this patch).
1996-05-25 21:54:22 +00:00
christos
be8ad0bbb0 Recognize MFII keyboard ids for BIM ThinkPad 76X's. Closes PR/2468 1996-05-25 18:19:07 +00:00
is
33d61f4da3 Show real interupt names (e.g., systat vmstat) on the DraCo. 1996-05-25 17:08:48 +00:00
briggs
014b404127 Clean up the interrupt handling somewhat. 1996-05-25 16:42:24 +00:00
briggs
100623915b Clear via2 interrupts before processing, too. It is up to the drivers to clear
any interrupts that are flagged during processing.
1996-05-25 16:31:04 +00:00
is
25b2ef1b72 Yet another unused variable cleanup; noticed in a kernel without bpfilter. 1996-05-25 16:30:16 +00:00
is
4d0559ac27 Fix stupid pasto. 1996-05-25 15:23:52 +00:00
briggs
d6345a7855 More from Dave Huang (khym@bga.com)--set ROMLEN to 2MB and make another
class for AV machines (C660AV and Q840AV).
1996-05-25 14:48:38 +00:00
briggs
30e64f90b7 Patches from Dave Huang (khym@bga.com) to get MRG ADB working on his 660av. 1996-05-25 14:45:31 +00:00
briggs
10221fc1cd Do not let getty open ite if it's not been initialized. 1996-05-25 00:56:38 +00:00
pk
f699a85094 sync with reality. 1996-05-24 23:18:23 +00:00
is
452b12520a Delete some occurences of kernel startup debug code, move others inside
#ifdef DEBUG_KERNEL_START.
1996-05-24 19:59:33 +00:00
is
c978bf3f9f Make the GRFIOCBLANK ioctl set the right timing divisor when switching the
screen back on.
1996-05-24 19:26:12 +00:00
cgd
48652c763f fix UMAPFS entry, add entry for UNION 1996-05-23 23:29:10 +00:00
cgd
82dd8bf609 disable alpha-specific in_cksum.c; it seems slightly buggy 1996-05-23 23:27:25 +00:00
pk
3c13903472 Enable just enough interrupts to get "L1-A" through. Patch from Jason to
avoid spurious floppy interrupts on Jason's machine...
1996-05-23 22:35:11 +00:00
phil
6c28c57a2a xxcd => xx_cd. 1996-05-23 14:14:20 +00:00
briggs
78560abd91 Change the console banner message. 1996-05-23 05:18:48 +00:00
briggs
2126c0d3c1 Fix from Bill Studenmund to set flags sanely on serial console. 1996-05-23 02:06:53 +00:00
briggs
320adf52bf Add MACH_CLASSDUO. 1996-05-22 17:53:24 +00:00
briggs
4d059305ec Remove some dead code, as suggested by scottr, and clone a new machine
class off of the powerbook for the Duos.  They apparently use an RBV-like
chip for the VIA2.
1996-05-22 17:52:48 +00:00
briggs
534d58c701 Get rid of compiler warning if DBG_PID is not defined. 1996-05-22 17:16:45 +00:00
christos
0bc76ac7c3 make this compile again; remove CONF_SLOW_INTERRUPT 1996-05-21 20:46:45 +00:00
pk
bc77c57c13 espattach() requires DMA to be configured. For now, panic if it is not. 1996-05-21 19:09:43 +00:00
pk
68691c178c Allow all esp dma channels to be called `dma'. 1996-05-21 19:07:30 +00:00
pk
dc7e7814d9 Remove the espdma' special case; all esp' related dma channels are now
called `dma' on all architectures.  Note: `ledma' remains in place.

Also delete a couple of unneeded `needs-flag's in files.sparc.
1996-05-21 19:06:26 +00:00
is
70d3595ab1 Fix two conditionals code parts, which were intended to avoid two
branches for pure-M68060 and Non-M68060 kernels, but would have made
the former never save its floating point context.
1996-05-21 18:22:13 +00:00
is
893de3dcc8 Sync with the cpu.h change: setconf() only used if defined(GENERIC). 1996-05-21 17:15:40 +00:00
oki
30ec7d2c44 Some cleanup.
- Add missing return-type of function.
- Add missing prototype.
- some gcc -Wall printf warning.
1996-05-21 15:32:18 +00:00
oki
82d5960cd6 Some cleanup.
- Add missing return-type of function.
- Add missing prototype.
- some gcc -Wall printf warning.
1996-05-21 15:31:55 +00:00
pk
71943d50df Protect body of iommuattach() to be more resilient against configuration
file oddities.
1996-05-21 07:25:07 +00:00
briggs
057adea27d Apparently the MRG ADB code becomes unstable if we handle via1 interrupts
properly, so go back to unflagging them all before processing any via1
interrupts.  Perhaps this can be changed back when we get ADB code that
does not rely on the ROMs?
1996-05-21 02:46:02 +00:00
jonathan
4139356a98 Copy the pmax locore.S code into the arch/mips hierarchy and split
it into three pieces:

 * locore.S, which contains generic mips locore code,
   applicable for both r2000/r3000 and r4000s (in 32-bit mode).

 * locore_r2000.S, which contains r2000/r3000 (MIPS-I) versions
   of the locore functions that need mips-generation-specific
   instructions or handling.
 * locore_r4000.S, which contains r4000/r4400/r4600 (MIPS-III?) versions
   of the locore functions that need mips-generation-specific
   instructions or handling.

Much of the code in locore_r4000.S is derived from Per Fogelstrom's Pica port.
locore.S still contains some pmax-specific DMA-buffer copy functions.
1996-05-21 00:20:40 +00:00
briggs
3fb1d834fc Actually clear the interrupt on the RBV. 1996-05-21 00:04:18 +00:00
jonathan
b15951c1ee * Move the declarations of mips locore functions from the pmax tree
to the mips tree.
* Just include the mips locore.h into the pmax one.
1996-05-20 23:49:11 +00:00
jonathan
e704a8e1e9 * Move the declarations of mips locore functions from the pmax tree
to the mips tree.
* Add declarations of functions used by vm_machdep.c.
* Add declarations of functions printed by name in stack tracebacks.
* Add declarations of functions used by the model-independnet mips machdep.c
  code.
1996-05-20 23:38:26 +00:00
jonathan
6f1e720b08 Change MachEmptyWriteBuffer() to wbflush().
Add missing "void" and "int" return types on functions.
Move boot() after dumpsys()/doadump(), so the latter don't need forward decls.
1996-05-20 23:27:27 +00:00
jonathan
7666d5b36b Check that either CPU_R3000 or CPU_R4000 is defined. Fix the r3k/r2k
symbolic lookup of the CPU-level specific locore entry points to use the
r2k, not the r4k, labels.

Include header files to get prototyped declarations of ipintr() and arpintr().
Remove unused variables and parenthesize assignments in if () expressions.

Gcc warns of a possible && vs || operator-precedence bug in the network
softint dispatch code, which needs more thought.
1996-05-20 23:24:00 +00:00
mrg
1af2be6068 document PORTAL 1996-05-20 18:15:11 +00:00
mark
08dfd04e76 Fixed the NetBSD Id string. 1996-05-20 17:09:24 +00:00
oki
6a0bb3e228 Add 'rd' ram-disk pseudo-device. 1996-05-20 14:56:20 +00:00
oki
8823c49fb4 fixed gcc -Wall warnings. 1996-05-20 14:53:07 +00:00
mark
a7f4c7929f Don't need -fno-builtin anymore. 1996-05-20 14:37:24 +00:00
is
cb5f8c53ac Now that our as pretends to understand the M68060 cpu, use -m68060 instead
of -m68040 to avoid confusion.
1996-05-20 13:31:40 +00:00
jonathan
b37be8bb62 Fix typo in NMBCLUSTERS definition. 1996-05-20 10:50:52 +00:00
pk
6da494dde9 Put a `return' back that went missing in rev 1.56 1996-05-20 10:49:20 +00:00
scottr
4b712a8c3f Due to the latching effect of the 6522 (VIA) chip, we need to unflag
interrupts only after the condition that caused the interrupt has been
cleared.  This is a particular problem with the 5380 SCSI controller,
since the Mac glue logic may raise (e.g.) the SCSI DRQ interrupt a number
of times during the course of a normal transfer.  By waiting to unflag it,
we effectively ignore all but the first.
1996-05-20 04:32:33 +00:00
thorpej
59865f3154 Remove references to the "ahe" device, and add ahc at eisa. Lingering
junk pointed out by Greg Earle <earle@isolar.Tujunga.CA.US>.
1996-05-20 03:32:16 +00:00
scottr
d28f9a6699 Fix the last change; CVS apparently biffed it. 1996-05-20 03:23:36 +00:00
cgd
5e29c383e2 add wbflush() calls in strategic places. These really shouldn't be
here, and there should be a generic 'bus' interface to do memory
read/write barriers.
1996-05-20 03:14:07 +00:00
cgd
397617080d add 'pseudo-device strip' for Metricom Ricochet packet radio driver
recently kicked in by Jonathan Stone.  It compiles on the alpha, and
may even work.
1996-05-20 02:58:53 +00:00
cgd
daad29a36c add fta, fpa, and fea drivers, for DEC TC, PCI, and EISA FDDI controllers. 1996-05-20 01:37:18 +00:00
chuck
d3ca12ac2a import rd_root from sun3 1996-05-20 01:17:31 +00:00
chuck
39e3bbc016 add ram-disk. clean. 1996-05-20 01:16:50 +00:00
chuck
8a07a09d00 add "rd" ram-disk config 1996-05-20 01:15:45 +00:00
thorpej
722d0da592 RCS Id police. 1996-05-20 00:56:39 +00:00
thorpej
4564027c48 Add the DEFEA EISA FDDI controller to the catch-all kernels. 1996-05-20 00:50:33 +00:00
chuck
914ca91332 if booted from sboot, stay in it.
if booted from the bug, don't enter sboot.
1996-05-20 00:40:10 +00:00
mhitch
9aa945f3c4 Also use genassym.c from sys/arch/mips/mips for make depend. 1996-05-19 22:44:12 +00:00
scottr
820895162d Update for new grf attachment code. 1996-05-19 22:29:04 +00:00
scottr
d048582c60 New grf attachment code, mostly by Jason Thorpe with some cleanup by me.
This will allow dt and X to work with a generic kernel, rather than
compiling different kernels that attach grf0 to a NuBus adapter or
internal video.
1996-05-19 22:27:04 +00:00
cgd
17bc20b5a4 minor cleanups, mostly KNF. 1996-05-19 21:41:00 +00:00
cgd
260dba439d Tuned in_cksum() from Matt Thomas <matt@3am-software.com>. According
to him, this implementation is approximately 50% faster than the
machine-independent portable version.
1996-05-19 21:24:14 +00:00
cgd
6f5bee3001 add -O2 to the optimization flags. A reason why optimization seemed
to fail on some systems was never found; hopefully it's gone away (or
was never really there).
1996-05-19 21:16:51 +00:00
chuck
30cec539a4 preserve sboot status 1996-05-19 21:07:21 +00:00
veego
7212a830ea - grf_cl.c, grf_clreg.h: added support for Piccolo SD64
- grf_cv.c, grf_cvreg.h, ite_cv.c: some cleanups
- grf_rh.c, grf_rhreg.h, grf_rt.c: new blank ioctl and some KNF
- grf_et.c, grf_etreg.h, ite_et.c: new graphics driver for et4000 based board
                                   (oMniBus, Domino and Merlin)
- grfabs_cc: fix PR#2034
- grfvar.h: new grfunit for GRF_ET4000_UNIT
- scsidefs.h: no longer useful
- zbus.c: new entries for: Piccolo SD64, oMniBus, Domino and Merlin
1996-05-19 21:05:20 +00:00
veego
f5faf322a0 GENERIC - added scsi scanner entry
- enable MS-DOS file system support
        - removed unsed GRF_CL5426 entry
        - added new graphics driver (grf6) for oMniBus, Domino and Merlin
1996-05-19 21:04:48 +00:00
veego
68bbcedb0c conf.c - added scsi scanner entry
pmap.c - -Wall fixes for MACHINE_NONCONTIG and M68040 || M68060
1996-05-19 21:04:18 +00:00
pk
1bd6f1f147 We don't generally want to profile `genassym' (easy part of PR#2434). 1996-05-19 20:58:51 +00:00
chuck
208aa439bf move rb_nosym/rb_sboot here 1996-05-19 20:08:55 +00:00
chuck
31a61aca69 minor clean 1996-05-19 20:08:15 +00:00
is
83f62ea033 Screenblank support:
- new fbio.h in arch/amiga/include, defining only FBIOSVIDEO
- add an IOCTL translation to arch/amiga/dev/grf.c
- add screenblank to the list of specials to build on amiga.
1996-05-19 20:06:02 +00:00
chuck
b416b21a6c update for new (SRT0/bugcrt) calling convention 1996-05-19 19:58:41 +00:00
chuck
e086852f0c minor clean up 1996-05-19 19:51:24 +00:00
is
1a41d54c27 Yet some more cleanup for missing prototypes, if DRACO is supported. 1996-05-19 19:03:01 +00:00
jonathan
1cfab3321a make dk_establish() return type be void, not int. 1996-05-19 18:49:33 +00:00
jonathan
e6beb98351 Move sys/arch/pmax/dev/sccvar.h to sys/arch/pmax/tc. 1996-05-19 18:25:15 +00:00
jonathan
7469cf4c88 Add port number encodings. 1996-05-19 18:24:33 +00:00
jonathan
baa655bc0f Update the DECstation stack-traceback pretty-printer, KN01 interrupt handler,
and IOCTL ASIC dma-buffer-reservation code to use the reorganized am7990
preprocessor tokens and function names.
1996-05-19 17:58:12 +00:00
jonathan
6d5fbdfbe2 Remove common-across-all-MIPS-cpu definitions (e.g., user-level-visible
page/segment size definitions and macros) from pmax/include/param.h,
and move them to mips/include/mips_param.h.
1996-05-19 17:52:18 +00:00
jonathan
1f9e095446 Remove common-across-all-MIPS-cpu definitions (e.g., user-level-visible
page/segment size definitions and macros) and move them to
mips/include/mips_param.h.
1996-05-19 17:48:04 +00:00
jonathan
b6a3c3255f Use genassym.c from sys/arch/mips/mips. 1996-05-19 17:17:48 +00:00
ragge
7cbd855ad6 Fixed all (proto)type errors. Fixes PR 2377. 1996-05-19 16:43:02 +00:00
ragge
f4c525a623 Update from Ken Wellsch. 1996-05-19 16:27:02 +00:00
ragge
6bd144b812 Add DZ-11 to GENERIC & files.vax. 1996-05-19 16:25:23 +00:00
jonathan
aff9b08bf5 Delete unecessary #include of "le.h", which doesn't exist anymore. 1996-05-19 15:57:16 +00:00
jonathan
e2a698293c Add local declarations for locore functions. Fix pagemove() return
type to be void. Add explicit "int" return types.
Fix format/argument mismatches for vm_offset_t's in diagnostic messages.
1996-05-19 15:55:31 +00:00
is
a7a99df915 Some more Prototypes needed for DraCo support. 1996-05-19 15:35:43 +00:00
is
40c19a2309 Add some forgotten #ifdef M68060 to make gcc -Wall happy. While I'm here,
add the _kernel_text symbol for libkvm.
1996-05-19 14:55:27 +00:00
mrg
0e4623e2f7 set the console struct winsize to the values given in the prom (sun4c/sun4m)
or the eeprom (sun4) when opening the console.  (note:  sun4 code untested
but jason claims it will `Just Work').
1996-05-19 13:00:43 +00:00
oki
a273dd586c include $S/arch/m68k/060sp/Makefile.inc, similar to amiga. 1996-05-19 12:29:20 +00:00
oki
30bc3379a6 'unlock' label is used for #ifndef DEBUG, my previous change
is bogus.
1996-05-19 12:20:54 +00:00
oki
36a323b483 Added 'unlock' label for #ifdef DEBUG, 1996-05-19 11:37:20 +00:00
veego
3a44d948a6 Another -Wall fix. 1996-05-19 09:13:56 +00:00
phil
386ecdc658 Prototype dk_establish. 1996-05-19 05:34:25 +00:00
phil
8d6d309bf0 Minor fixes from Matthias Pfaller.
ncr.c => add parity disable code.
1996-05-19 05:32:09 +00:00
briggs
4029840249 Ooops. cut 'n' pasto. splzs should 4, not 2. 1996-05-19 04:30:32 +00:00
jonathan
a67936cc04 Declare mips_elf_makecmds(), not pmax_elf_makecmds(). 1996-05-19 04:15:37 +00:00
mrg
fae3ba5c32 disable prom sync in romboot() and romhalt(), rather than before calling them. 1996-05-19 04:12:53 +00:00
jonathan
2b1cdb9535 Include <machine/locore.h>, to force all MIPS cpu-model specific
locore calls to go via a locore-entry jumptable.

Use the mips/mips/mips_machdep.c code to initialize locore state,
exception vectors, and the locore entry vector, instead of doing
it all in mach_init().

Update dumpsys() to use new-style signatures for dump routines,
even though the pmax SCSI drivers don't actually support dumping kernel
memory.
1996-05-19 02:03:38 +00:00
jonathan
bce6b88e9a Include <machine/locore.h>, to force all MIPS cpu-model specific
locore calls to go via a locore-entry jumptable.

Cast the (int) arguments  to MachTLBUpdateEntry() to avoid
warnings.  Variables TLB entries are still type-punned as either structs
or ints, without any regard, when the pmax-specific VM code passes
them as arguments to functions.
1996-05-19 02:00:58 +00:00
jonathan
6bb09a3781 Include <machine/locore.h>, to force all MIPS cpu-model specific
locore calls to go via a locore-entry jumptable.

Use mips_btop(), mips_round_page, mips_trunc_seg() instead
of pmax_btop(), pmax_round_page, pmax_trunc_seg().

Add Per's software-readonly-bit mechanism, since the r2000 and r4000
hardware TLB entries are  very different, and the r4k has no space for
software bits in TLB entries.  That is, this pmap code still won't work
on r4000 machines. Some other solution, like another jump table for
clients of the  pmap code, is necessary.
1996-05-19 01:58:35 +00:00
jonathan
b4c4b28e43 Include <machine/locore.h>, to force all MIPS cpu-model specific
locore calls to go via a locore-entry jumptable.

Declare  r2000- and r4000-specific exception-handler functions, to which
trap() and interrupt() dispatch exceptions. Initialize r2000- and r4000-
specific exception-handler vectors, when CPU_R4000 and CPU_R2000 are
defined.

Update the stack-traceback code (partially) to understand and print
the new low-level exception-handler code, via which machine exception-vectors
send exceptions to call trap() or interrupt(). This needs  more work.
1996-05-19 01:54:49 +00:00
jonathan
a52871e690 Avoid calling autoconfigure() to configure the CPU.
It just causes a kernel panic, and will until the rest of the pmax
autoconfiguration is redone to use a bus-specific probe and attach
argument, or until KN01 devices are no longer attached to the mainbus.
1996-05-19 01:47:15 +00:00
jonathan
a671ada4b8 Change block comment where each line began with "/*", to use the KNF
block comment style. Also passes gcc -Wall.
1996-05-19 01:44:45 +00:00
jonathan
562ae556d9 Add closing-comments to commented-out #defines. to avoid -Wall complaining
about comments-inside-comments.
(The #defines for the IOCTL asic should arguably be mereged with
NetBSD/Alpha in any case.)
1996-05-19 01:42:54 +00:00
jonathan
35050a83c5 Declarations for KN01 (Decstation/Decsystem 2100/3100) baseboard "bus". 1996-05-19 01:40:35 +00:00
jonathan
5a890607de Define the conventional pmax locore entry-point names to be calls through
an vector (struct) of function pointers.  Add prototype declarations for
each vector entry.
Add declarations for the r2000 (MIPS-I) and r4000 (MIPS-III) locore
versions of the relevant functions.
1996-05-19 01:32:56 +00:00
jonathan
7429b65f3c Add declarations for the locore variables cpu_id and fpu_id, compatible
with the Pica r4000 locore. These variables  are now used
by the cpu-identification routines in mips/mips/mips_machdep.c.
1996-05-19 01:28:47 +00:00
jonathan
eaafcae007 Add prototyped declarations for the static bt431 chipset code.
Add explicit "int" return types to functions.
Change MachEmptyWriteBuffer() to wbflush().
1996-05-19 01:18:57 +00:00
jonathan
cb77e53644 more cleanups for -Wall:
update the 4.3bsd/Ultrix-compatible qvss-style mmap'ed framebuffer/input-event
code to use mips_round_page() et.al., not pmax_round_page().
Add explicit "int" return types to functions.  Add prototyped forward
declarations.
1996-05-19 01:16:18 +00:00
jonathan
33fcef8a24 more cleanups for -Wall:
Fix the the  definitions of dtop cdevsw entry point functions to match
    their  declarations. Add explicit "int" declarations to functions.
    Add prototyped declarations for all local functions.
    Return zero from dtopstop().
    Include the external declarations from dtopvar.h.
1996-05-19 01:12:40 +00:00
jonathan
fe392301cd more cleanups for -Wall:
Fix the the  definitions of cdevsw entry point functions to match their
    declarations. Add explicit "int" declarations, and fix the type
    of rconsmmap().
1996-05-19 01:06:14 +00:00
jonathan
fe111dde22 more cleanups for -Wall:
Fix lk201 driver to include lk201var.h.
1996-05-19 01:03:00 +00:00
jonathan
9bdcc60e97 more cleanups for -Wall:
Fix generic framebuffer (X-server interface)  cdevsw entry points to match
    declarations.
1996-05-19 01:01:10 +00:00
jonathan
50dd608c3b more cleanups for -Wall:
Fix dc driver cdevsw entry points to match declarations.
    Change MachEmptyWriteBuffer() to wbflush().
1996-05-19 00:58:03 +00:00
jonathan
153ec93cf9 Create device-driver external declarations for the following pmax drivers:
lk201 in-kernel keyboard decoder (lk201var.h)
1996-05-19 00:53:43 +00:00
jonathan
cce901c20c Create device-driver external declarations for the following pmax drivers:
qvss/pm-compatible  framebuffer ioctl()s (qvssvar.h)
	MAXINE desktop bus driver (dtopvar.h)
	3100/2100 pm framebuffer low-level driver ( pmvar.h)
	MAXINE baseboard framebuffer (xcfbvar.h)

which should compile with -Wall.
1996-05-19 00:48:43 +00:00
pk
d292da40b2 Remove obsolete HWTOSW/SWTOHW macros.
VA2PA: flush TLB before proceeding with L2 probe (per the manual) [4m].
More KNF.
1996-05-19 00:32:15 +00:00
jonathan
0064a12f68 Create mips_machdep.c, which contains Mips-specific functions common
to all mips ports.

So far, this consists of code to initialize a vector, or jump-table, of
pointers to locore functions that require different definitions on different
Mips CPUs (eg., r2000/3000 and r4000); a generic wrapper for setting up
CPU-specific exception vectors; and CPU and FPU identification code.
1996-05-19 00:31:57 +00:00
pk
98a9570a8e Make sure DELAY(0) returns within an hour.. 1996-05-19 00:25:16 +00:00
jonathan
503d421a0a Add alternate "mips_r2000_<XXX>" entry points for the r2000/r3000-specific
locore functions.  The new names are used by C code to construct a jump-table,.
making it less infeasible to have a single kernel image work on both
r3000 and r4000 systems.
1996-05-19 00:25:14 +00:00
thorpej
f969979dea Back most (not all) of the previous delay-related changes now that
delay is calibrated properly.
1996-05-18 23:56:59 +00:00
thorpej
62f7f3ad57 Implement a real delay calibration routine, adapted from Chuck Cranor's
mvme68k delay calibration algorithm.
1996-05-18 23:30:09 +00:00
briggs
2635a9c602 Serial driver with interface to a slightly modified version of the machine-
independent z8530 driver.  When that driver is updated, the local copy
of those files may be removed.  From Bill Studenmund.
Compiler warnings fixed by me.
1996-05-18 18:53:50 +00:00
briggs
78c78f916e Fixup a few prototypes and put 'em in their place. 1996-05-18 18:52:41 +00:00
christos
8c29c79939 - remove cpu_exec_prep_oldzmagic and use exec_aout_prep_oldzmagic 1996-05-18 16:01:00 +00:00
christos
52d3532adb - remove cpu_exec_aout_prep_oldzmagic and use exec_aout_prep_oldzmagic 1996-05-18 15:58:07 +00:00
christos
15ac7da805 - remove cpu_exec_aout_prep_oldzmagic and use exec_aout_prep_oldzmagic
- add exec_aout_prep_oldnmagic and exec_aout_prep_oldomagic. Now we support
  all BSDI executable formats.
1996-05-18 15:54:59 +00:00
mrg
9ce523cca7 disable the prom `sync' command before calling romboot() or
romhalt() (idea from OpenBSD).
1996-05-18 12:36:49 +00:00
mrg
4cba75e24a put promdev definition into <machine/bsd_openprom.h>.
also, minor KNF.
1996-05-18 12:35:18 +00:00
mrg
b6988904e0 put promdev definition into <machine/bsd_openprom.h>. 1996-05-18 12:27:40 +00:00
mrg
d7bc39fad1 don't set tmp twice. 1996-05-18 12:22:49 +00:00
mrg
68b2ff1bdb use __P 1996-05-18 12:19:14 +00:00
thorpej
a8c7148dd2 XXX set up alldevs and allevents so that vmstat -i will work. 1996-05-18 01:39:57 +00:00
thorpej
63f4ec3e41 Put the vector table back in the text segment; putting it in the data
segment breaks doboot() on my 319 (but worked on my 380...bleh!)
1996-05-18 00:52:53 +00:00
cgd
4145f89f54 TurboChannel bus_mem_* functions. bus_mem_{read,write}_8, and
bus_mem_read_{1,2} are not yet supported for sparse space.
1996-05-18 00:00:51 +00:00
cgd
0307c36933 bus_io_* functions. These have no meaning on the TurboChannel, since
it's a memory-mapped bus and has no I/O space.  They all are
fancy wrappers around panic().
1996-05-17 23:59:31 +00:00
cgd
84b37ec80d set up a bus_chpiset_tag_t, and pass it to the TC code 1996-05-17 23:58:43 +00:00
cgd
e49dcae424 add files for the implementation of the TC 'bus' mem & I/O functions 1996-05-17 23:44:02 +00:00
cgd
a78f16f702 moved to ../tc 1996-05-17 23:41:36 +00:00
pk
da5c96baa1 Correct an oversight and a silly past-o in last change. 1996-05-17 22:54:40 +00:00
mark
a1ac79c69f Added r_neg bit and removed r_copy bit from relocation_info_arm6 structure.
General tidy up of the code style in file.
1996-05-17 21:58:07 +00:00
chuck
6d472208c0 bump 1996-05-17 21:20:11 +00:00
chuck
056791c7fa sync with openbsd. [includes if_ie made to work on 16x by Theo de Raadt] 1996-05-17 21:18:07 +00:00
chuck
bd3c8260d8 sync with openbsd. [includes if_ie made to work on 16x by Theo de Raadt] 1996-05-17 21:17:58 +00:00
chuck
3df32569f8 Makefile: update from OpenBSD
boot.c: update from sun3 port, with changes for my new boot code put in.
conf.c: config from openbsd, by Theo de Raadt
dev_net.c: update from openbsd (standard dev_net with changes from theo)
dev_net.h: proto from openbsd
1996-05-17 21:08:25 +00:00
chuck
d14981d7b7 bugdev.c: from Dale Rahn (bug device access)
exec_mvme.c: from sun3 port, adapted by me.   I also fixed a bug that
	prevented ZMAGIC kernels from running.
libsa.h: new file by me
parse_args.c: by Theo de Raadt from OpenBSD with slight revisions from by me
	to make it fit the new format.
1996-05-17 20:59:53 +00:00
chuck
23ee5c7500 replace with code to use libbug rather than access directly 1996-05-17 20:54:50 +00:00
chuck
86a71fe9e7 complete revise of sun3 SRT0 so that it works with bugcrt by me. 1996-05-17 20:53:49 +00:00
chuck
3430ad6211 update for my reorg 1996-05-17 20:52:37 +00:00
chuck
d2da5a2153 remove files no longer needed due to reorg. 1996-05-17 20:49:23 +00:00
chuck
36079d8909 update for new boot stuff 1996-05-17 20:45:48 +00:00
chuck
75dfdfdab4 bootxx: import from sun3 port, adapt to mvme68k by me. 1996-05-17 20:11:31 +00:00
pk
05379d078e Add `_kernel_text' symbol for kvm_mkdb(8). 1996-05-17 20:07:53 +00:00
chuck
ccc9ad0d6c fix comment 1996-05-17 20:07:36 +00:00
chuck
62a58e8eaa bootst: from Dale Rahn. 1996-05-17 20:06:45 +00:00
chuck
008b8c0664 bootsd: import from sun3 port, adjust for mvme68k port by me 1996-05-17 20:04:46 +00:00
chuck
bee8cda103 installboot: from sun ports 1996-05-17 20:00:52 +00:00
chuck
671b4023a4 wrtvid by Dale Rahn. 1996-05-17 19:58:53 +00:00
chuck
89a5edba69 prtvid (print out a VID block). by Dale Rahn. 1996-05-17 19:54:57 +00:00
chuck
94e848e819 update for libbug.h, console I/O 1996-05-17 19:50:10 +00:00
chuck
a48f9896dd fix -I 1996-05-17 19:43:48 +00:00
gwr
a0d3ad800b Add the version line. 1996-05-17 19:39:30 +00:00
chuck
71c9b6faad pull in a set of changes I forgot to include in initial version 1996-05-17 19:37:59 +00:00
gwr
50ecbc1c84 Rename cs_pclk_div16 to cs_brg_clk to clarify the fact that the
Baud Rate Generator (BRG) clock is not necessarily PCLK/16.
1996-05-17 19:32:06 +00:00
chuck
eabb97da52 libbug from Dale Rahn. Revisions by Theo de Raadt and myself. 1996-05-17 19:31:46 +00:00
chuck
1bd98e4d83 bugcrt from Dale Rahn. With modifications from myself and Theo de Raadt. 1996-05-17 19:26:43 +00:00
cgd
eda3fcd053 fix declaration of main() 1996-05-17 18:29:41 +00:00
abrown
d9277a9036 Add Sun4m power0 power status/control register to GENERIC configuration 1996-05-17 18:02:56 +00:00
phil
04241dc8eb Add _kernel_text. 1996-05-17 16:38:24 +00:00
thorpej
03fc26050d Put the vector table _after_ the temp stack. 1996-05-17 16:32:28 +00:00
mark
d7ef096470 Probe for both Atomwide and ANT ether3 podules. 1996-05-17 16:24:03 +00:00
mark
8a9255ea4b Recognise ANT ether3 podules. 1996-05-17 16:17:21 +00:00
thorpej
503413590e Changes for the new delay() function. 1996-05-17 15:38:08 +00:00
thorpej
91cb72e7ea remove the now unused MHz constants, add a declaration for vectab[],
and document some globals.
1996-05-17 15:37:07 +00:00
thorpej
a5d6cd3a32 Move the vector table to the data segment. 1996-05-17 15:33:52 +00:00
thorpej
d845719070 Add a new function, hp300_calibrate_delay(), which sets the delay constant
based on a model's known CPU speed.  cpuspeed value is now in MHz
instead of (MHz / 8).
1996-05-17 15:32:26 +00:00
thorpej
33e1caaf99 Couple of changes:
- New delay() function, modeled after sun3/mvme68k delay,
	  calibrated with a model's known cpu speed.
	- Use the defined constants for machineid and ectype
	  when determining what kind of machine we have, rather
	  than their expanded equivalents, for clarity.
	- Move the vector table to the data segment so that it
	  can be patched at run-time.
1996-05-17 15:27:26 +00:00
thorpej
bbc04e2011 Define the machineid and ectype constants. 1996-05-17 15:20:55 +00:00
thorpej
b20981c51d Remove cpuspeed from here. 1996-05-17 15:19:02 +00:00
thorpej
3ad552e74b Adjust for new DELAY() ... s/DELAY(1)/DELAY(5)/ and lengthen some
timeouts.
1996-05-17 15:15:29 +00:00
thorpej
c3fc839395 Change "DELAY(1)" to "DELAY(5)". This is basically equivalent to how
the old implementation of DELAY() behaved with small values.
1996-05-17 15:12:30 +00:00
thorpej
f708ced3a3 Adjust for the new values of cpuspeed. 1996-05-17 15:09:39 +00:00
thorpej
be71c11843 Add 2 missing ";"s ... they weren't noticed before because of the
old implementation of DELAY().
1996-05-17 15:08:13 +00:00
is
0ffd802ca1 Make "options DRACO" kernels boot on Amiga mainboards, too:
- don't change the _lev2intr and _lev6intr entry points in static code
- set the level 2, 5, 5 and 6 interrupt autovectors from initcpu() on DraCo.
1996-05-17 12:56:49 +00:00
oki
6cab72d789 Add a "_kernel_text" symbol, for libkvm. From Gordon Ross. 1996-05-17 12:22:22 +00:00
mark
c2af4f7f17 add 'kernel_text' symbol, for use by kvm_mkdb 1996-05-17 11:00:45 +00:00
chuck
0b05acfe0a add _kernel_text 1996-05-17 04:38:02 +00:00
briggs
e9d5ab8b3a Set _kernel_text as recommended by Gordon--set before vector table. 1996-05-17 02:11:47 +00:00
thorpej
7d279a797f Add a "_kernel_text" symbol, for libkvm. From Gordon Ross. 1996-05-16 23:53:10 +00:00
pk
2d2098c11b Check for `configuration parent' differently: compare against "sbus"
rather than "ledma".
1996-05-16 22:57:32 +00:00
cgd
93bc248f7c add 'kernel_text' symbol, for use by kvm_mkdb 1996-05-16 22:54:30 +00:00
pk
b9f70e90d8 Add `flags' to the esp entries: disable disconnect & synch negotiation
by default until further notice.
1996-05-16 22:47:47 +00:00
pk
e509f9aaeb Change attributes of dma', espdma' and `ledma' (the attributes on the latter
two didn't seem to make much sense anyway..) to allow `esp' devices to be
attached to one of `sbus', `dma' and `espdma'.

Remove the wildcarded `espdma?' and `ledma?' attachments of `esp' and `le'
respectively, in favour of `dma?' and `lebuffer?' (but the latter is not
yet implemented), which seems to better match reality: additional SBus
SCSI/Lance boards call themselves `dma' and `lebuffer'.
1996-05-16 22:38:04 +00:00
pk
3f1283a92f Re-arrange code that looks for the esp driver to allow for the fact that
any "dma" device (i.e. not just "espdma") can have an OBP child. This is
the case with (at least some) SBus SCSI boards.
1996-05-16 21:45:35 +00:00
pk
50e92fd71d Use configuration file flags to disable reselection and/or sync negotiation,
on a per target basis (until the driver can sort things out on its own).

Test against "sbus" in stead of "espdma" to find out where in the
configuration tree we are: an esp can be the child of a "dma" on SBus
add-on boards.
1996-05-16 20:31:28 +00:00
is
16465b6509 merge. 1996-05-16 20:18:01 +00:00
leo
c4b5129d5d Add edahdi to the subdirs. 1996-05-16 20:03:53 +00:00
leo
9e086936f3 Remove files commited in the wrong directory. Sorry. 1996-05-16 20:02:33 +00:00
leo
15f7f8dcfd edahdi, an AHDI partition-id editor 1996-05-16 19:51:25 +00:00
mark
4a03434386 Increased delay time while waiting for acknowledgement following the
sending of a keyboard reset code. This fixes a problem on some machine
where the reset code ends is a long loop continually trying to reset the
keyboard.
1996-05-16 19:32:25 +00:00
pk
0b59ea6fbd Replace a couple of (*foo_p)()'s with direct calls. All instances occurred
within in functions that were already mmu-arch specific.

Some formatting nits.
1996-05-16 19:19:33 +00:00
mark
525cc1eebc Fixed the printing of the podule description from the chunk directory
for unrecognised podules.
1996-05-16 19:05:35 +00:00
thorpej
a9bd225c1c Remove duplicate definitions of the "le" device .. "oops" 1996-05-16 19:00:06 +00:00
mark
0d476cb7d0 bus memory and I/O space access functions/macros, to be used by
machine-independent code for more sane access to bus resources.
Defines:
        bus_{io,mem}_{map,unmap}
        bus_{io,mem}_{read,write}_{1,2,4,8}
        bus_io_{read,write}_multi_{1,2,4,8}
functions, and several types to go with them.
Note: The bus_io_*_8 functions are not supported.
1996-05-16 18:08:40 +00:00
chuck
7e8ebd0628 add code so that we can generate a valid disklabel without help from
wrtvid.
1996-05-16 17:59:57 +00:00
chuck
0f68df580b import Theo's prom.h from OpenBSD. includes my recent changes. 1996-05-16 17:55:54 +00:00
chuck
6c21c38077 add some comments to explain what is going on here
also add enough info to enable the kernel to create
a valid disklabel without help from wrtvid.
1996-05-16 17:52:51 +00:00
is
d0bd068b17 cleanup comment. 1996-05-16 17:52:22 +00:00
is
ee807dac4c Correct a -Wall correction. 1996-05-16 17:50:25 +00:00
mark
f38ec079c3 Removed definitions of mouse buttons. These should be obtained from
iomd.h and do not need to be duplicated here.
1996-05-16 17:45:10 +00:00
is
eced298a2b - tell new version of assembler to still accept 851/030 opcodes when compiling
with -m68060
- add -Wall -Wstrict-prototypes
1996-05-16 17:07:08 +00:00
is
d3ad3efef5 3 more constants for 68060 access error trap stack frames. 1996-05-16 16:51:30 +00:00
is
9546c59d96 Only declare setconf() #ifdef GENERIC. 1996-05-16 16:10:11 +00:00
oki
a104ff9340 spl0 prototype. 1996-05-16 16:03:35 +00:00
is
d5793c310d add DCIA prototype. 1996-05-16 16:02:15 +00:00
oki
347edbdf91 fixed gcc -Wall warning. 1996-05-16 15:57:32 +00:00
abrown
4bbf23d04c Copyright police (s/Harvard University/Harvard College/). 1996-05-16 15:56:54 +00:00
is
5b2b46b306 Fix for unused var warnings in compiler problem workaround. 1996-05-16 15:53:02 +00:00
is
3b8b982891 Naive translation of text to assembler had caused some assembler syntax
errors. Fixed them. Thanks to Bernd Ernesti for the early report.
1996-05-16 15:37:49 +00:00
abrown
fe454d89f3 Implement a hack to give pmap a better chance of working on SS10's with
no external L2 cache.
XXX this is ugly and will go away when cpu_softc gets done for the 1.3 release

Also, copyright police (s/Harvard University/Harvard College/).
1996-05-16 14:30:54 +00:00
thorpej
81ba0732e0 Document the "flags" for the si and sw controllers. While I'm here,
do some re-arrangement (cleanup), and document which devices exist on
which machines, so that people can be better informed when they trim
down their kernels.  There are a LOT of comments in this file now!
1996-05-16 03:13:27 +00:00
thorpej
81b0485bfe These haven't been kept up to date. 1996-05-15 23:57:50 +00:00
thorpej
5179f14567 This hasn't been kept up to date. 1996-05-15 23:52:44 +00:00
thorpej
31526bc8e8 These haven't been kept up to date... 1996-05-15 23:50:30 +00:00
is
8fea0bb1e5 fix typo 1996-05-15 21:16:44 +00:00
is
317ba427c1 Now that we imported the 68060 software support package and committed the
glue code for it, activate this again.
1996-05-15 21:10:57 +00:00
is
89e428b280 Initial commit of the machine independend part of the glue code for
the 68060 software support package.
1996-05-15 21:06:18 +00:00
is
0a68161069 RCS ID police 1996-05-15 19:47:31 +00:00
is
508069c020 Initial import of the Motorola M68060 Software Package Production
Release, revision P1.01.
1996-05-15 18:17:45 +00:00
oki
34a55c3e59 fixed gcc -Wall warning. 1996-05-15 16:12:48 +00:00
leo
4001987d06 Make a BOOTX(tra) config file. It suits more people than BOOT and it allows
me to keep the BOOT config small.
1996-05-15 12:57:32 +00:00
leo
b4ca145026 Get in sync with the mac68k version of the 5380 driver. Also increase
the maximum values of wait_req_xx() functions so some old (slow) scsi-1 drives
will work.
1996-05-15 09:21:29 +00:00
leo
b0db2f6250 French keyboard map (Cedric Moreau). 1996-05-15 09:15:14 +00:00
leo
be7b319e1b Fix "might be used uninitialized" warnings. 1996-05-15 07:31:55 +00:00
leo
dd8fd30935 Prototype + -Wall fixes. 1996-05-15 07:28:51 +00:00
briggs
df57030b9c Add register use constraints to a bunch of asm() statements. 1996-05-15 03:23:10 +00:00
briggs
1350f9fb7d print the failure if we do not correctly determine the amount of RAM
on the ethernet card.
1996-05-15 03:20:22 +00:00
briggs
65b1980d5a Invalidate the pte for the peeked va in bus_peek(). 1996-05-15 02:51:00 +00:00
briggs
22637072e3 Set mac68k_vidphys outside of get_mapping() so the II and others will
get the default value correctly.
1996-05-15 02:34:33 +00:00
mrg
9ad87ec76e remove some RCS id's we don't need. 1996-05-15 02:13:39 +00:00
mrg
16b514adc6 KNF some debug statements. 1996-05-14 13:57:29 +00:00
leo
5f0e599c40 Remove a line of debugging code. 1996-05-14 10:25:01 +00:00
leo
de6b7f34fc Make dk_establish() a void function. 1996-05-14 10:23:29 +00:00
leo
c1381aa33f Document some more interesting options. 1996-05-14 10:21:48 +00:00
leo
1dd829a703 Update to make this work correctly when using an obj-directory. 1996-05-14 10:16:13 +00:00
briggs
df2dde6eb0 Some updates from Bob Nestor <rnestor@metronet.com> to get the Performa 550
working again.  I broke it when I moved the ROM mapping so it was no
longer mapped on a friendly address boundary.  Some cleanup.
1996-05-14 04:00:48 +00:00
briggs
ce096d50d5 Add a short comment. 1996-05-14 03:57:32 +00:00
thorpej
ebafcd57c2 Remove some comments in eeprom_uio() now that they're no longer relevant.
Add some whitespace to eeprom_take().
1996-05-13 21:39:53 +00:00
mycroft
b3d8a261b9 Make imask[] larger, to match other changes. 1996-05-13 06:11:28 +00:00
thorpej
1a79065f9f Enable DMA by default on the 4/100 "sw" controller; the DMA bugs appear
to have been fixed.
1996-05-13 01:53:45 +00:00
mycroft
635c72115c Add multiple-inclusion protection. 1996-05-13 01:35:06 +00:00
mycroft
417bb90896 Move spl*() and soft interrupt definitions into intr.h. For now, include it
from psl.h.  XXX Will change after release.
1996-05-13 01:28:01 +00:00
mycroft
db4ceee7f8 Remove the PCVT_SLOW_INTERRUPT option. It is required. 1996-05-12 23:33:32 +00:00
mycroft
f7624a5fd1 Use intr.h. 1996-05-12 23:24:47 +00:00
mycroft
eda98d375d Use intr.h. 1996-05-12 23:11:54 +00:00
mycroft
a8e2ce97e4 Implement IPL_HIGH. 1996-05-12 23:06:06 +00:00
mycroft
9f8f77f8f6 Move IPL_* and IST_* constants into intr.h. 1996-05-12 22:52:23 +00:00
mark
cf31abcc16 Minor changes to the configuration of some devices. 1996-05-12 21:54:37 +00:00
mark
b7105daa51 Updated boot0() to leave the processor in 32 bit data/address space mode
when jumping back into the ROM at 0x00000000.
1996-05-12 21:54:05 +00:00
mark
db208e96e3 Addition of configuration file for RC7500 development board. 1996-05-12 21:49:01 +00:00
mark
169f7f2a06 Fixed the vt220 printing bug.
Fixed the 'loss of console output while X is switched in' bug.
1996-05-12 21:42:44 +00:00
mark
8a3097c984 Fixed panic strings with %i in them where it should have been %s. 1996-05-12 21:40:21 +00:00
mark
6ad1b0f567 Added the es ethernet driver. 1996-05-12 21:37:47 +00:00
mark
95ee0f849a Initial commit of the SMC91C9X ethernet driver found on RC7500
motherboards.
1996-05-12 21:35:07 +00:00
mark
05ae98d7ed Fixed the order of the machine includes. 1996-05-12 21:33:18 +00:00
mark
0efacab0e1 Removed some lurking experimental code that does not work relating
to CDROM devices.
1996-05-12 21:30:15 +00:00
mark
267415c841 Define FLT_ROUNDS properly. Guard #defines with #ifndef / #endif 1996-05-12 21:27:52 +00:00
mark
62b52adc0e Definitions of various contants and types for arm32 IEEE float point. 1996-05-12 21:26:20 +00:00
oki
afed73e5a8 fixed for gcc -Wall warning. 1996-05-12 20:49:57 +00:00
oki
611a9dc5c7 x68k mouse has no hardware flow control. 1996-05-12 20:46:33 +00:00
thorpej
645664c6f1 In bus_mem_unmap(), pass kernel_map to kmem_free(), rather than
kmem_map (the VA space is allocated from kernel_map).

In both bus_mem_map() and bus_mem_unmap(), adjust some arithmetic to
avoid wasting a page of VA space per call to bus_mem_map().
1996-05-12 19:02:19 +00:00
thorpej
e64215c6f4 Oops, I accidentally commented out the "le" attach directive. Thanks,
veego!
1996-05-12 16:17:19 +00:00
is
2a8a23a622 Disable .include of arch/m68k/060sp/Makefile.inc for now. 1996-05-12 13:36:02 +00:00
mhitch
70b7922d41 Use new format for dumpfile and include chip memory in dump.
Fix another -Wall warning (from '060 integration).
1996-05-12 04:10:15 +00:00
mhitch
8afe5318ba Used by the new libkvm and kernel coredump. 1996-05-12 02:47:46 +00:00
mhitch
b3186217c2 Use dumpconf() to set dumplo instead of directly setting it. 1996-05-12 02:41:00 +00:00
mhitch
177ffe3ea4 Fix yet another -Wall warning. 1996-05-12 02:38:23 +00:00
mhitch
caf4c8f158 Remove old-style disk instrumentation now that iostat, systat, and
vmstat are fixed.
1996-05-12 02:26:03 +00:00
thorpej
ea8aad3319 Use <machine/bus.h> ... on the right track to making this an MI driver. 1996-05-12 01:37:02 +00:00
mycroft
540f9550c0 Make `make depend' work for libraries. 1996-05-11 16:11:30 +00:00
briggs
468b8f30c6 Get rid of the NuBus Superspace kludge--it should no longer be necessary
or even desirable.
1996-05-10 20:53:31 +00:00
is
d6ea9eae71 Cleanup the mess I left when committing yestereve's changes; in this case,
an unused variable.
1996-05-10 15:36:05 +00:00
is
e138ae4f38 Clean up the mess I left over from my yestereve's commit: partially unused
variables left over from color background debugging, partially wrong #ifdefs
making some variables unused in non-M68060 kernels.
1996-05-10 14:30:53 +00:00
is
93b32419b8 Back out last change, which was caused by a wrong way merge at home.
Sorry for the inconvenience.
1996-05-10 13:02:33 +00:00
mhitch
82b89f1181 Finally convert the pv_entry allocation to match the hp300 pmap.c.
This should reduce the possibility of a panic when unable to allocate
a new pv_entry under low memory conditions.
Changed a couple of kmem_free() calls to kmem_free_wakeup() as in the
hp300 pmap.c.
-Wall cleanup: unused variable when M68060 not defined.
1996-05-10 01:47:45 +00:00
cgd
3393d0e53b a few more minor ecoff-header-related tweaks. 1996-05-10 00:15:04 +00:00
cgd
56017a3c1e update to include <sys/exec_ecoff.h>, rather than the alpha-specific
(and redundant) coff.h file (which has now been removed).
1996-05-09 23:54:07 +00:00
cgd
491ab6c2ed remove redundant header, now that ECOFF_SEGMENT_ALIGNMENT macro for
<sys/exec_ecoff.h> is fixed.
1996-05-09 23:52:19 +00:00
cgd
d5b0482bb9 update for changed ecoff headers. minor consistency changes for the
ecoff functions, as well.
1996-05-09 23:48:47 +00:00
cgd
2daf9d8f3b change structure member names to be in line with what various ECOFF
documentation I have calls them, and update for new definitions in
sys/exec_ecoff.h.  Also, fix ECOFF_SEGMENT_ALIGNMENT macro so that it
actually returns the right alignment.
1996-05-09 23:47:25 +00:00
cgd
b10c43013d change structure member names to be in line with what various ECOFF
documentation I have calls them, and update for new definitions in
sys/exec_ecoff.h.
1996-05-09 23:46:18 +00:00
scottr
6bd0d2c7eb Prototyping-related changes I missed the last time, from Thorsten
Frueauf.  Closes PR 2378.
1996-05-09 21:26:08 +00:00
scottr
a7b314774d doboot() takes no arguments (from Thorsten Frueauf) 1996-05-09 21:17:04 +00:00
thorpej
dedd4cceab Fix typo, noticed by Curt Sampson <curt@portal.ca>. 1996-05-09 21:15:47 +00:00
thorpej
2de85463e2 Correct typos, PR #2382. 1996-05-09 21:11:47 +00:00
chuck
3482bd961d shift code a bit to move "start" to the front of .text [using openbsd ordering] 1996-05-09 21:09:14 +00:00
is
f6ab1073c8 First part of M68060 and DraCo support.
* for the M68060 part: store buffer and branch target cache aren't
  enabled yet (this needs cleanup of lots of locore.s code which is a
  maze of little passages, all a little different) (and it wasn't yet
  tested in an accellerated Amiga, only in the DraCo).

  I've included a workaround for 2 of the CPU bugs in chips with Masks
  1F43G and earlier, but didn't bother to deal with the can of worms
  in the [0-3]D11W chips. Be sure to get "68060 rev. 1" or more
  reported at kernel startup time, or at least mention it (or the mask
  revision, if available) when reporting problems.

* for the DraCo: only machines with a CIA timer.

  I assigned machine id 32000+nn (0x7Dnn), where n is the machine
  readable Quicklogic custom chip revision (also printed at boot
  time).  "Guaranteed to work" up to rev. 3, newer DraCo's aren't
  guaranteed to have any CIA (we don't have a driver for the new timer
  yet).

  Supported are:

  - MF-II keyboards on the native interface and A3000 keyboards via
    the CIA.
  - builtin SCSI interface (yet another instance of siop)
  - CIA timer.
  - Zorro II devices which don't do DMA (don't get mapped to Zorro II
    address space in the DraCo)
  - "local bus" devices which are autoconfigured by the boot rom
    (should be all); only an Altais driver is there (looks like a Retina Z3)

  Not yet supported are:

  - native timer of newer machines.
  - Real Time Clock.
  - serial, parallel + floppy on the SuperIO chip (that is also: no mouse)

  XXX You need an enhanced boot loader, which will committed in a few days.

  XXX std.draco should and will go away.
1996-05-09 20:30:30 +00:00
oki
4781b7d291 binary file. (PR#2383) 1996-05-09 16:11:56 +00:00
mark
8eddcbfbd2 Added needs-flag to the podulebus driver.
Tidied up the file a bit and added some extra comments.
1996-05-09 14:03:18 +00:00
jtc
0edf3579f4 Revert last change.
Changing types from unsigned {long,short} to u_int{32,16}_t causes problems
in a lot of userlevel code because those types aren't defined when machine/
endian.h is included.  And IMO including sys/types.h in machine/endian.h
is clearly wrong.

XPG4.2 defines new types in_addr_t and in_port_t for the {h,n}to{n,h}{l,s}
functions.  But we don't have time to figure out the implementation issues
given the current release schedule.
1996-05-08 20:00:38 +00:00
scottr
5b680d94ba Make this compile if DEBUG is defined. 1996-05-08 15:14:53 +00:00
scottr
e93e429cc5 Note that rtclock_intr() could be tweaked, but why it isn't. 1996-05-08 15:13:22 +00:00
briggs
8321085213 Minor fix to last patch--from Taras. 1996-05-08 13:36:41 +00:00
thorpej
fe4b70fd58 RCS id police. 1996-05-08 05:55:04 +00:00
briggs
2b2cd22c69 Minor update from Taras Ivanenko <ivanenko@ctpa03.mit.edu>. 1996-05-08 04:00:44 +00:00
scottr
99e86ac209 Remove some gross hacks that were added due to interrupt grossness that
has been partially fixed.  Also, add a new flag (which rearranges them
a bit, unfortunately) to use PDMA for polled transfers.
1996-05-08 03:44:56 +00:00
chuck
a6ac580ad1 don't assume MAXPARTITIONS is 16. 1996-05-08 01:45:46 +00:00
briggs
bfd10277d3 Wrap rtclock_intr in splclock()/splx() to make sure that hardclock is running
at splclock.  Passed along from Gordon via Scott.
1996-05-08 01:08:48 +00:00
briggs
bcdf813a97 Initial cut at some ROM entry points for the MacTV. 1996-05-08 01:06:31 +00:00
thorpej
d8c7327dd3 Fix typo. 1996-05-08 00:15:48 +00:00
chuck
3b6dd2f647 change maxpart to 8 to be compat with prev binaries 1996-05-07 23:23:34 +00:00
briggs
40454f9798 A MacTV owner says that the MacTV is a repackaged Performa 550. Note this. 1996-05-07 21:21:11 +00:00
mark
779d7709c5 Separated mouse initialisation code out into a separate function.
Added a watchdog timer to reset to reinitialise the mouse if it dies.
1996-05-07 21:04:08 +00:00
mark
09aabb30f7 Merged in changes from the isa wd driver. 1996-05-07 21:00:09 +00:00
scottr
652b291390 - Rewrite scrollup(), scrolldown(), and clear_screen() to move/clear only
visible screen memory.  This results in a considerable performance win
  at all depths.
- Correct clear_screen() behavior when clearing to the top and bottom of
  screen; start at current cursor position, not current cursor row.
- Add local prototypes, and other KNF.
1996-05-07 15:52:19 +00:00
briggs
38b11e7c82 Get rid of some old, now meaningless macros. 1996-05-07 03:13:40 +00:00
briggs
8ed57c561e Clean up an error printf() and use proper macro. 1996-05-07 03:12:12 +00:00
thorpej
42cbc82043 Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 02:35:07 +00:00
briggs
f56c26b14e No mac has a VAC. 1996-05-07 01:45:22 +00:00
thorpej
69351e2be6 Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 01:35:48 +00:00
thorpej
0584bf86a8 Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 01:32:31 +00:00
thorpej
eadc4bd43f Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.
1996-05-07 01:30:18 +00:00
thorpej
ac9df157aa Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 01:28:28 +00:00
thorpej
ae87feee24 Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 01:27:26 +00:00
thorpej
0e0d4f1ec2 Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.
1996-05-07 01:24:48 +00:00
thorpej
c3c4b6f9f3 Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 01:23:31 +00:00
thorpej
b97689cdfb Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.
1996-05-07 01:16:36 +00:00
thorpej
ccc18dd2ae Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 01:12:53 +00:00
thorpej
2dea8dc101 Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 01:10:53 +00:00
thorpej
6de4db6bbc Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 01:08:15 +00:00
thorpej
3fd8e58e67 Add the DEC DEFPA FDDI interface to the catch-all kernel configs. 1996-05-07 00:59:53 +00:00
thorpej
a331638311 Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.
1996-05-07 00:58:36 +00:00
thorpej
7ebfa3c7fc Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 00:57:58 +00:00
thorpej
090191b3aa Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.
1996-05-07 00:56:51 +00:00
thorpej
748810b06d Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 00:46:37 +00:00
thorpej
17033bca9c Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 00:35:07 +00:00
thorpej
c98492db67 Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.
1996-05-07 00:34:17 +00:00
thorpej
fe64460341 *** empty log message *** 1996-05-07 00:33:35 +00:00
briggs
af19dd53a3 This code has not been used in ages and there are at least 2 better 5380
drivers in the tree, now.
1996-05-06 22:34:09 +00:00
briggs
1d8ac2ad92 Update to something closer to the atari port. 1996-05-06 22:26:26 +00:00
gwr
0f9ef81648 Fix "prototype disagrees about inline" error. 1996-05-06 20:05:24 +00:00
scottr
aef8f5c3bb Update for renamed sbc driver files 1996-05-06 06:40:03 +00:00
scottr
c846476845 Update several comments. 1996-05-06 06:19:33 +00:00
briggs
18021dad20 Move grf0 at obio? from std.mac68k to the config files. Not all machine
have internal video.
1996-05-06 03:33:06 +00:00
briggs
03a7fd15ca grf0 -> grf* 1996-05-06 03:32:33 +00:00
briggs
314dd5b20b Set sc_slot--we need it later. 1996-05-06 03:27:20 +00:00
briggs
6026c5dfd7 Ooops. Remove debugging printf(). 1996-05-06 03:27:06 +00:00
briggs
042a16abd0 Add 1 page slop to the video length. Only reset mac68k_vidlog if non-zero. 1996-05-06 03:25:40 +00:00
briggs
db495102be Do not depend on the nubus being mapped in one huge segment. 1996-05-06 01:08:24 +00:00
briggs
1b475d6b74 Do not print out the nubus ranges. We only use them for finding wierd
internal video locations.  Perhaps we can get rid of that in the future,
too.
1996-05-06 01:06:57 +00:00
briggs
333d8a1deb Do not allocate NuBus space at boot time. Do allocate enough space for
the console video, though.
1996-05-06 01:04:58 +00:00
mark
f194862b11 Updated declaration of dk_establish() to match prototype. 1996-05-06 00:57:10 +00:00
mark
928d9a1842 Fixed compiler warnings generated with -Wall. 1996-05-06 00:52:35 +00:00
mark
dbf4689e65 Fixed -Wall compiler warnings.
Implemented ESC [g sequence.
1996-05-06 00:47:20 +00:00