Commit Graph

17252 Commits

Author SHA1 Message Date
tsubai
bdf1b68276 iMac support (not complete yet). 1998-12-29 06:27:59 +00:00
tsubai
8a5e34f28a Fix a bug of last change. 1998-12-29 05:17:27 +00:00
tsubai
d5fc963f0e Add USB. 1998-12-29 04:40:19 +00:00
mark
058cf2a88c Apply patch from PR port-arm32/6357 to make the wdc attachment to the
RiscPC mainbus work correctly.
From Richard Earnshaw.
1998-12-28 09:40:28 +00:00
mark
767af4d82c Add a check for r8 equal to 0 and do a quick exit if it is. 1998-12-28 09:39:02 +00:00
ross
509315b9e0 We don't call prom_open() here anymore, so don't call prom_close() either! 1998-12-28 09:12:52 +00:00
tsubai
2ad7314a82 Configure only one wskbd/wsmouse. 1998-12-28 00:50:44 +00:00
tsubai
e7e9a2e0e1 Use "interrupt" property if "AAPL,interrupt" is not found. 1998-12-28 00:38:18 +00:00
nisimura
fe061a7ae4 - Eliminate dead code in TLB miss handler. Fortunately it has never been
executed.  Once execunted, the result would be castrophic because it has
addressing error.
1998-12-28 00:31:03 +00:00
dbj
ba3bedf25e After some experimentation, now allow dma start alignment to be 4.
Removed separate alignment constant for ethernet since it appears to
be unnecessary.
1998-12-27 09:03:14 +00:00
is
bc72f5a29c Make it table-driven. Besides making adding more devices easier, the resulting
code is 14% smaller (alas, for this file only).
1998-12-26 22:22:58 +00:00
dbj
ea8f01b987 Continued experimentation on SCSI driver.
Added nextdma_debug variable to control debug printouts in nextdma driver
when ND_DEBUG is defined.
1998-12-26 06:17:44 +00:00
tsubai
468355c5f0 Make configurable with no frame buffer. 1998-12-26 00:53:49 +00:00
msaitoh
7c25d335bf s/are are/are/ 1998-12-25 16:52:10 +00:00
itohy
172852517b Switch x68k port to UVM by default.
Mach VM and even old contig and non-contig codes are still alive.
1998-12-23 23:01:44 +00:00
christos
c7f9823bf0 C_LABEL has no _ if __ELF__ 1998-12-23 15:09:48 +00:00
tron
b471830935 Sync with GENERIC. 1998-12-23 09:46:07 +00:00
mrg
9ec7c3c814 move sun3 to UVM by default. only pica/arc & x68k left. 1998-12-23 06:00:03 +00:00
fair
7a738d840b Make gcc happy by changing %x to %lx hiding in a DEBUG. 1998-12-23 04:53:44 +00:00
tsubai
86a0b96c10 Search "interrupts" property if "AAPL,interrupts" is not found. 1998-12-22 19:46:28 +00:00
tsubai
89e0cc0a86 Display frame buffer type when attached. 1998-12-22 19:38:35 +00:00
tsubai
1e7ee2d117 Determine the address of interrupt register at runtime.
(iMac has different address)
1998-12-22 19:35:49 +00:00
scottr
84af636530 vm_offset_t -> {paddr_t, vaddr_t} 1998-12-22 08:47:05 +00:00
scottr
da48906a74 Update for present reality. 1998-12-22 08:25:34 +00:00
mrg
12d0e6e8f7 move sparc{,64} installboot.8 back to src/share, to avoid splitting sources for users who dont get everything. 1998-12-22 02:34:09 +00:00
tsubai
07c96d75d6 Wait one second before powerdown. 1998-12-21 21:58:19 +00:00
pk
fc6df8006b Make sure we don't spuriously detect more than one boot device (as the
previous patch but extended to all devices).
1998-12-21 11:25:39 +00:00
thorpej
795321b030 Make pmap_collect() actually do something useful. If called with a user
pmap, forget all of the mappings for the user address space for that pmap.
This causes the PT pages to be freed so that they can be reclaimed by the
VM system. [*]

[*] Actually, in the current implementation, it merely causes the wiring
count on the PT pages to drop to 0, which allows them to be reclaimed by
the pagedaemon.  Handling of PT pages needs to be completely rewritten.
1998-12-21 09:02:43 +00:00
thorpej
d6bc370c2d Use a memory pool for pmap structures. 1998-12-21 08:51:39 +00:00
thorpej
43b82d559c Improve pmap_copy_page() and pmap_zero_page(). Don't use pmap_enter()/
pmap_remove() for the temporary addresses.  This is completely unnecessary
as the temps are used ONLY for these routines, and we have better control
over the mapping by manipulating the PTE ourself.  On VAC systems, cache-
inhibit the mapping to prevent wasting a cache load.

These routines are now significantly faster.

Add a DIAGNOSTIC check in pmap_enter() for kernel pmap and (CADDR1 or CADDR2);
nothing should be adding mappings there via that interface.
1998-12-21 06:58:39 +00:00
thomas
6c040077b9 Install kbdreg.h. The Xserver needs it. 1998-12-20 23:17:48 +00:00
nathanw
4d2e9f8e9d Add "pcic0 at pci?". 1998-12-20 17:56:18 +00:00
nathanw
788ff053de Fix up support for PCI attachments of pcic devices on i386 in general,
and the Cirrus Logic CL-PD6729 in particular.

From danw@mit.edu in PR port-i386/6436.
1998-12-20 17:53:28 +00:00
thomas
75c4b3bf70 Changed grf mmap that it is closer to XFree. VGA memory on et4000/et6000
is now at offset 0xa0000.
1998-12-20 14:32:34 +00:00
thomas
051cc552ae New code to enable PCI devices. 1998-12-20 14:24:52 +00:00
thorpej
51d0670371 Clean up a whole load of comments, making many of them truthful, and
indicating which functions are INTERFACE vs. which aren't.
1998-12-20 01:15:52 +00:00
thorpej
80e50e26a8 Unclutter a bit. Use a PMAP_DPRINTF() macro where possible, getting rid
of loads of #ifdef DEBUG ... stuff.
1998-12-19 23:51:47 +00:00
thorpej
6659e7174e In pmap_testbit(), if we end up traversing the PV list, cache a hit on the
bit to speed future tests.
1998-12-19 23:21:51 +00:00
thorpej
97f422e85b Make pmap_changebit() take bits to set and a PTE mask, rather than a bit
and a boolean.
1998-12-19 23:01:47 +00:00
scottr
3de0336b7c Protect a keyup event for ADBK_3 in the mouse button emulation code with
ALTXBUTTONS, so as to not cause trouble with some non-US English
keyboards.  From SUNAGAWA Keiki, PR 6613.
1998-12-19 21:41:13 +00:00
thorpej
d36a60d9cb G/c PMAPSTATS. It's unneeded clutter right now. 1998-12-19 21:11:14 +00:00
ragge
6036a3463e Fix bufpages miscalculation. At the same time, make bufpages configurable
att compile time.
1998-12-19 20:06:36 +00:00
he
a127a479d7 Add 'ex' driver and various mii stuff, from GENERIC. 1998-12-19 20:06:30 +00:00
thorpej
459052a0fb Wire down some SCSI disk units. 1998-12-19 20:05:19 +00:00
ragge
75c1333e8e A "return 1" should be "return 0". Caused machine to crash as soon as
it started paging.
1998-12-19 20:03:23 +00:00
he
bdafd9591e Add "ustarfs" as a recognized boot file system type, and bump version number. 1998-12-19 19:44:56 +00:00
he
2cfee96f35 Implement -b option, similar to on alpha, required for ustar floppy support. 1998-12-19 19:17:23 +00:00
drochner
dafe2a2b81 Some BIOSes return occasionally with carry set from APM_CPU_IDLE/BUSY
calls, without setting a defined error code. This leads to annoying
output. Put the printout inside APMDEBUG.
1998-12-19 14:46:10 +00:00
dbj
db8bf6a623 Revamped DMA interface to unify chaining and non-chaining dma sequences.
Updated ethernet driver to work with new interface.
Continue work on esp driver.
1998-12-19 09:31:44 +00:00
thorpej
3bd57bb34b Correct a panic message. 1998-12-18 19:52:11 +00:00
drochner
52c16cf83a get "opt_compat_svr4.h" out of <sys/conf.h> 1998-12-18 16:55:39 +00:00
drochner
0f6572f2b1 COMPAT_xxx option review: add missing opt_compat_netbsd.h 1998-12-18 15:49:40 +00:00
kleink
fec2cc52f3 T_SVR4_GETHRESTIME returns a nanosecond quantity in %o1. 1998-12-17 22:26:02 +00:00
gwr
271b8ff5ba Sync with GENERIC 1998-12-17 06:46:55 +00:00
gwr
ec630d208f Fix some "unused variable" warnings (if !HAVE_CACHE) 1998-12-17 06:17:45 +00:00
tron
67693a18b7 Sync with "GENERIC" and fix description. 1998-12-17 00:07:08 +00:00
minoura
72bcdb203b Synced with GENERIC. 1998-12-16 14:10:38 +00:00
christos
5b07a26bc4 Add a commented out entry for tcom. 1998-12-16 11:42:07 +00:00
kleink
1b6a24c1d4 Support for compound statements enclosed in parenthes to appear as
expressions is a GNU C extension; mark as such them with __extension__ to
suppress portability warnings.  Addresses kern/3562 and misc/6185, as suggested
by Dave Sainty <dave@dtsp.co.nz>.
1998-12-16 11:11:02 +00:00
itohy
36416d8500 Added options COMPAT_LINUX and EXEC_ELF32 as comments
to GENERIC configuration files.
1998-12-15 19:50:00 +00:00
itohy
c05dadc113 Added COMPAT_LINUX support. 1998-12-15 19:36:36 +00:00
christos
a6406e330a 1000000000 nsec != 2^32 nsec. (from kleink). Also had eax and edx backwards. 1998-12-15 16:10:42 +00:00
christos
9a2a015957 1000000000 nsec != 2^31 nsec (from kleink) 1998-12-15 16:06:15 +00:00
is
920aad33e4 Support for Hypercom 3+ / 4+. Untested yet, but its only some additional
entries in a table.
1998-12-14 20:33:45 +00:00
itohy
643e0d4cc2 Added intr.h 1998-12-14 19:04:58 +00:00
kleink
342b5e5134 Also need to initialize the queue length of a newly allocated fpstate. 1998-12-14 16:18:46 +00:00
itohy
b40f2a1c88 Make egcs happy. 1998-12-14 15:22:04 +00:00
christos
80f51bcef4 Add an entry point for the solaris 2.6 fast trap vectors, used by the
high resolution timer calls.
1998-12-13 19:31:26 +00:00
christos
4959a9fca6 Add defines for the fast trap vectors. 1998-12-13 19:27:51 +00:00
kleink
a2aacaedde Add -Werror and -Wmissing-prototypes, like most other ports do. 1998-12-13 19:19:38 +00:00
kleink
adddbfb644 obio_find_mapping(): int -> vaddr_t where appropriate. 1998-12-13 19:08:43 +00:00
kleink
58f85c298a Printf format warning cleanup: the type of the result of a shift operation is
that of the promoted left operand.
1998-12-13 18:14:30 +00:00
christos
885e96c95e Correct problem with UESP, still does not work properly. 1998-12-13 18:07:27 +00:00
kleink
072888839b Printf format warning cleanup. 1998-12-13 18:00:10 +00:00
kleink
1bf1bbfc56 xdc_piodriver: sync function definition with declaration; also eliminates
the use of a char as an array subscript.
1998-12-13 17:57:19 +00:00
minoura
6aa085a693 Splitted out the interrupt handling code to a separate file.
Disallow getting down the interrupt level by splXX.
1998-12-13 15:04:01 +00:00
is
2b1c171400 appease egcs-1.1.1. 1998-12-12 20:05:07 +00:00
mycroft
b28c62f40d Run async_update() even if something is select()ing. 1998-12-12 17:29:39 +00:00
mycroft
b3c9835be1 r13-r15 -> sp, lr, pc 1998-12-12 17:28:05 +00:00
drochner
be595f36c4 document support for Intel 82557/82558 1998-12-12 15:51:49 +00:00
drochner
6f71e420f3 add support for the Intel 82557/82558 fast ethernet chip 1998-12-12 15:47:05 +00:00
gwr
02b9dc7632 Switch to MACHINE_NEW_NONCONTIG (Yea! Finally!:) 1998-12-12 05:28:24 +00:00
gwr
e7810fa812 Fix MACHINE_NEW_NONCONTIG support (UVM works now:)
thanks to Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Closes PR#6540
1998-12-12 05:25:01 +00:00
thorpej
ebd6430388 Add some brackes to make EGCS happy. 1998-12-11 18:46:18 +00:00
mrg
f3e2980d41 note thta installboot.8 is built in share/man. move installboot.8 back to the same place the sources are, just build it in an MI location. 1998-12-11 12:18:46 +00:00
mrg
30964865f6 change -d (debug) to -n (nowrite) as they have the same effective meaning, but -n is what sparc uses. use partition c as that will generally be what the user wants. 1998-12-11 12:15:44 +00:00
mrg
a73ed687d6 add an installboot man page, based on the old sparc on but with large bits ripped out 1998-12-11 12:14:53 +00:00
mrg
29a68943af note installboot.8 is built in share. 1998-12-11 12:14:22 +00:00
mrg
7a39c6352a - exec the command
- exit 0 if we don't run it
- look for the disk in /dev/${disk} /dev/${disk}a as well as ${disk}
- look for the bootblock in /usr/mdec.
- exit if we can't find either the bootblock or disk.
1998-12-11 11:46:54 +00:00
tsubai
c232b5d803 Add wdc. 1998-12-10 20:49:17 +00:00
tsubai
b517a9d3d8 Add wd and atapi. 1998-12-10 20:21:28 +00:00
tsubai
ef27ffc3de Add ata/atapi disk support. 1998-12-10 20:10:03 +00:00
augustss
e481435c53 Add sv driver. 1998-12-10 19:01:41 +00:00
ragge
5fb70e2fcc Use vt100 console emulation instead of sun. :-) 1998-12-10 18:24:52 +00:00
leo
bfd59f416b Another patch from 'maximum entropy':
* Add to copyright notice.
* Replace the bad probe that caused your problem in the first place
  with a better one.  This probably means we could do away with the
  type hints you added, but it won't hurt to leave them.
* Improve performance by not wasting a memory access in the buffer
  copy/zero routines.
1998-12-10 15:55:25 +00:00
augustss
3334421666 Comment out sv audio device, the driver is not in the tree yet. 1998-12-10 15:46:20 +00:00
ragge
3a8728fa4f Fix deadlock bug. Pointed out by maximum entropy. 1998-12-09 19:02:31 +00:00
leo
a4fea93ff3 Make sure that my Riebl card (with empty battery) is not detected
as an BVME410...
1998-12-09 08:51:12 +00:00
leo
5335909035 BVME410 ethernet driver by 'maximum entropy'. 1998-12-09 07:33:59 +00:00
augustss
8398f3a4db Add ugen, a generic USB driver. 1998-12-08 15:52:31 +00:00