Commit Graph

19807 Commits

Author SHA1 Message Date
drochner 353a512c22 create "machine" symlink 1999-10-25 20:27:48 +00:00
drochner 7a63478423 make the code which decodes the MAKEBOOTDEV()-style boot device
(as passed by the pre-1.3 bootloader) optional
1999-10-25 17:26:05 +00:00
drochner 0bd36d187b EXEC_ELF32 is already defined in std.i386 1999-10-25 17:13:45 +00:00
itojun 44a06d35fa use "options \t" instead of "options\t\t" to avoid change in column
when you comment an option out.
1999-10-25 16:47:03 +00:00
drochner 4cc6f12c09 Don't let loadfile_machdep.h make it to /usr/include - the i386
stand Makefiles already set up the compile environment so that
machine/loadfile_machdep.h can be found.
1999-10-25 15:12:16 +00:00
leo c9a3053200 correct second argument of bus_space_unmap(). 1999-10-25 14:52:55 +00:00
drochner e5f51da9de -mask interrupts w/o a handler
-update PIC _after_ the interrupt handler is linked into the chain
This fixes problems with dynamically installed interrupt handlers:
Interrupts were enabled before the handler was installed under some
circumstances (esp. on faster machines), leading to endless interrupt
handling.
1999-10-25 14:49:41 +00:00
kleink c1e3cb4761 Wrap an otherwise unused variable inside #ifdef DIAGNOSTIC; from Ben Mesander
in PR port-mac68k/8513.
1999-10-25 14:31:50 +00:00
kleink 522cbf0248 Update to match new SVR4-style definition names in <sys/exec_elf.h>. 1999-10-25 13:55:06 +00:00
simonb 249879ba34 Begone with some garish Mach_StructureNames.
Add a comment about the bootblock structure.
1999-10-25 02:29:45 +00:00
simonb 690672a81d Don't let loadfile_machdep.h make it to /usr/include - the pmax
stand Makefiles already set up the compile environment so that
machine/loadfile_machdep.h can be found.

XXX: Not done for i386, mmeye or sparc - I can't test these at the
     moment.  It should be as simple as making a machine symlink
     pointing to .<some number of ../'s>./include in the objdir...
1999-10-25 00:17:27 +00:00
ad ae033a895f Add missing entry in chrtoblktbl[]. 1999-10-24 23:57:23 +00:00
mark 1d1283b4c0 Make this build again. 1999-10-24 22:19:47 +00:00
thorpej b2d8bf4680 Next sweep: stack pointers, FP regs, and several control registers. 1999-10-24 19:12:44 +00:00
thorpej 6ac32cdbc5 Next sweep of adding register prefix: %d0 - %d7. 1999-10-24 18:35:25 +00:00
ad ef0cc9a3f4 - Re-arrange the control map that is exported to user space. This map now
includes the STIC poll registers.
- Don't bother enabling ISR driven packet queueing on device open. It doesn't
  work for the PXG due to severe dainbramage on the part of DEC and doesn't
  work properly on the 3min due to the spl stuff being a mess.
1999-10-24 15:33:45 +00:00
takemura 073652d612 Fix argument type. 1999-10-24 08:43:59 +00:00
takemura 5a30c20715 Wsdisplay and wskbd are supported as a console device. 1999-10-24 08:37:28 +00:00
ragge b8706b65a3 Detect SCSI as boot device. 1999-10-23 14:56:05 +00:00
ragge 362ef7b498 Use romread() routines if we are booted from SCSI disks. 1999-10-23 14:42:21 +00:00
ragge 08cf6bea89 Boot block code fixed to 1) understand SCSI disks and 2) read from a
ustar filesystem (used in installation).
1999-10-23 14:40:38 +00:00
takemura 780633e2af Change winblk.c because hpcmips/include/disklabel.c was modified.
Add E-100/E-500 entiries to boot menu.
1999-10-23 03:26:19 +00:00
ragge 16a09f9b9c Remove the vmapbuf()/vunmapbuf() routines. They are quite unneccessary
on a machine that has MMU for its I/O devices.
1999-10-22 21:14:34 +00:00
ragge db3857cbb6 DMA support for the NCR 5380-equipped vs3100's. 1999-10-22 21:12:20 +00:00
ragge 4021578d6e Add routines to copy to/from a user process from/to the vsbus DMA area. 1999-10-22 21:10:12 +00:00
leo 8c73075593 Limit the io-region mapped by this driver to the part actually used.
Otherwise, it conflicts with the wd-driver.
1999-10-22 08:50:59 +00:00
msaitoh d478b71746 print a trap type in hexadecimal instead of decimal. 1999-10-21 22:50:53 +00:00
thorpej 2375e365bc First sweep of adding register prefix: %a0 - %a7. 1999-10-21 21:10:24 +00:00
ragge ae7e9d1571 Protect against multiple includes. 1999-10-21 20:01:36 +00:00
leo 48ddedb4e8 Fix pci-interrupt handling. It was broken by the latest slot numbering
changes.
1999-10-21 15:38:54 +00:00
leo e1b938443f Ouch! Correct bus_space_unmap() call parameter usage. 1999-10-21 15:33:49 +00:00
leo 64f9129eff Add prototype of isa_intr_alloc(). 1999-10-21 15:32:08 +00:00
leo 6b31bde1bb Implement at least a bit of isa_intr_alloc(). 1999-10-21 15:26:57 +00:00
leo 2c1b82026b implement DIOCSDINFO. 1999-10-21 15:03:28 +00:00
pk fbfe8a4407 Comply with recent MI scsi changes. 1999-10-21 13:46:06 +00:00
ragge f1d4772434 Clear proc0 uarea, otherwise subsequent processes will inherit the
virtual timers and get unwanted signals. This has been around since
long time back...
1999-10-20 20:42:29 +00:00
simonb f72818160a Remove unused variable. 1999-10-20 14:21:10 +00:00
is bb5c4fff2a Make this compile without booting support for P568k+PPC boards 1999-10-20 06:40:26 +00:00
thorpej d3c33c1744 Program the 53c96's interrupt routing info into the VIA before doing
anything that might cause an interrupt (e.g. the SCSI bus reset in
ncr53c9x_attach()).  If we don't do this, the initial interrupt is
lost, thus causing the state machine to never enter IDLE state, thus
causing SCSI commands to never be executed.

Fixes kern/8544, reported by Erik Bertelsen <erik@mediator.uni-c.dk>.
1999-10-19 17:00:41 +00:00
fvdl 67eefde8f0 bdevvp returns a locked vnode, so vput it. From Bill Studenmund. 1999-10-18 19:37:28 +00:00
soren 72b75dc0b8 Shorten fpuname for built-in FPUs. 1999-10-18 17:23:00 +00:00
soren 6bae30b8f8 Make it compile with DEBUG. 1999-10-18 17:17:09 +00:00
enami 5d2feb3813 Remove options FIFO and MULTICAST. They aren't optional. 1999-10-18 09:42:12 +00:00
tsubai b9d51debd3 Rearrange splxxx (from pmax). Closes PR 8445. 1999-10-17 15:06:45 +00:00
jdolecek 12eea21c72 include opt_ddb.h so that symbol DDB gets defined appropriately and right
thing happens WRT Debugger()
call Debugger() only when DDB is defined
1999-10-17 09:40:49 +00:00
jdolecek ded7bf0c50 include opt_ddb.h, so that symbol DDB actually get's defined appropriately
kill local definition of Debugger() - <sys/systm.h> DTRT
don't assume Debugger() is always available and put the call inside #ifdef DDB

Second part of a fix to PR #8637 by Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>.
1999-10-17 09:32:14 +00:00
jdolecek 492bb4b0a6 include opt_ddb.h, so that symbol DDB actually get's defined appropriately
si_intr(): consmetic change to the code calling Debugger()

First part of fix to PR #8637 by Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>.
1999-10-17 09:27:21 +00:00
shin cff2720381 fix message in vr_device_register() 1999-10-16 12:27:55 +00:00
is 26bb1d3915 regenerate 1999-10-15 21:54:43 +00:00
is 6e077cd004 Reboot support for P5PPC+68K boards, compiled in by "options P5PPC68KBOARD".
Without this, at least cyberppc+040 boards won't reboot, but just hang when
down.
The method is similar to what LinuxPPC/APUS does, but without EIEIO.
1999-10-15 21:50:34 +00:00
augustss 12cebe3298 Add ohci at cardbus. 1999-10-15 13:16:42 +00:00
tsubai 3e373da88d Enable com* at pcmcia. 1999-10-15 12:27:06 +00:00
tsubai b67b49b7db Support com* at pcmcia. 1999-10-15 12:24:36 +00:00
tsubai c1a7ea14a3 Add cardbus support. 1999-10-15 07:55:08 +00:00
tsubai 849421ec54 Add RCS ID.
Disable debug messages.
1999-10-15 07:20:42 +00:00
tsubai 26cb48e441 Fix typo. 1999-10-15 07:16:16 +00:00
haya 6b911855eb add NetBSD ID tag. 1999-10-15 06:43:06 +00:00
tsubai 3499cf35ad Define fdc, because dev/pcmcia needs it. 1999-10-15 06:43:05 +00:00
haya e5cc414836 add NetBSD ID tag. 1999-10-15 06:42:21 +00:00
haya 4eee111127 This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
  o Conform to the KNF more strictly.
  o Be unified with pcmcia code as much as possible.
  o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

	sys/arch/i386/conf/files.i386
	sys/arch/macppc/conf/files.macppc
	sys/conf/files
	sys/dev/ic/elinkxl.c
	sys/dev/ic/elinkxlvar.h
	sys/dev/ic/i82365.c
	sys/dev/ic/i82365var.h
	sys/dev/isa/i82365_isasubr.c
	sys/dev/pci/files.pci
	sys/dev/pcmcia/pcmcia.c
	sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

	sys/arch/i386/conf/CARDBUS
	sys/arch/i386/include/rbus_machdep.h
	sys/arch/i386/i386/rbus_machdep.c
	sys/arch/macppc/include/rbus_machdep.h
	sys/arch/macppc/macppc/rbus_machdep.c
	sys/dev/cardbus/if_ex_cardbus.c
	sys/dev/cardbus/Makefile.cardbusdevs
	sys/dev/cardbus/cardbus.c
	sys/dev/cardbus/cardbus_map.c
	sys/dev/cardbus/cardbusdevs
	sys/dev/cardbus/cardbusdevs.h
	sys/dev/cardbus/cardbusdevs_data.h
	sys/dev/cardbus/cardbusvar.h
	sys/dev/cardbus/cardslot.c
	sys/dev/cardbus/cardslotvar.h
	sys/dev/cardbus/devlist2h.awk
	sys/dev/cardbus/files.cardbus
	sys/dev/cardbus/if_fxp_cardbus.c
	sys/dev/cardbus/pccardcis.h
	sys/dev/cardbus/rbus.c
	sys/dev/cardbus/rbus.h
	sys/dev/pci/pccbb.c
	sys/dev/pci/pccbbreg.h
	sys/dev/pci/pccbbvar.h
1999-10-15 06:07:17 +00:00
is e4dbf8998d Remove now superfluous prototype definitions (of the m68k cache operations). 1999-10-14 21:40:05 +00:00
scottr e70fd63845 Be less noisy about collision errors. From Dave Huang, closes PR 8605. 1999-10-14 20:58:18 +00:00
phil 54eed2bc37 Add in the Coda file system and pseudo device. 1999-10-14 16:09:31 +00:00
phil 15ef719178 Add a psuedo-device for coda. 1999-10-14 00:08:45 +00:00
tsubai 956c00aaf3 Change kernel segment base to 0xf00000. Some PM9500s won't boot with the
old value (0xfffff0).
XXX I don't know why...
1999-10-13 04:01:06 +00:00
tsubai bc7211f403 Use battable to map obio space rather than using bat1 registers statically. 1999-10-13 03:51:32 +00:00
tsubai 9f58dd36d0 Change char *bootpath to char bootpath[]. 1999-10-13 03:27:47 +00:00
wrstuden 7478ef04eb Catch up with sys/disklabel_mbr.h. 1999-10-12 19:40:51 +00:00
wrstuden 52d0d8e1d9 Make symlink for powerpc@. 1999-10-12 19:40:27 +00:00
jdolecek 7f589dba84 rename the MD Debugger() to cpu_Debugger()
add MI Debugger() which switches to console if wscons is used prior
to calling cpu_Debugger()
1999-10-12 17:08:56 +00:00
wrstuden 7e6f0456f6 Catch up with rev. 1.5 of ../include/cpu.h where we added a new routine
w/o adding a fake_ initializer for it. :-(
1999-10-12 00:34:21 +00:00
mrg cb6e315ab0 make this work again. 1999-10-11 16:08:47 +00:00
shin 5bad90bb3f sync with i386 (MBR) 1999-10-11 05:29:04 +00:00
shin 359347c965 fix mips3 TLB printf format 1999-10-11 05:11:02 +00:00
eeh 793cc7a41b Update to post 1.4. 1999-10-11 01:57:43 +00:00
drochner 6b98862760 forgot to comment out the orphaned "scsibus" 1999-10-08 13:53:00 +00:00
sato 6afd48d017 fix typo about checking RB_POWERDOWN. 1999-10-07 22:15:22 +00:00
ad 0d7e968d86 Enable large cursor by default (at least on i386 for the moment), in
response to result of poll on tech-kern.
1999-10-06 23:01:45 +00:00
fvdl a4e89ca2a1 Define CPU_FPU_PRESENT sysctl value. 1999-10-06 20:04:53 +00:00
fvdl 7c0b0a7b1c Add machdep.fpu_present sysctl. 1999-10-06 20:04:26 +00:00
fvdl 7bae87cae4 Set variable i386_fpu_present to 1 if a functional FPU was detected. For
later retrieval by sysctl.
1999-10-06 20:03:51 +00:00
drochner 724d0011ed comment out "ncr* at isa?" (NCR 53C80 - cheap SCSI) in the standard
config files. The probe funktion gives false hits and steps onto
other hardware. (PR port-i386/8361 by cgd and my own experience)
1999-10-06 12:21:43 +00:00
msaitoh 3c51010f6a - unset RS/CS flow control bit from default setting
- GC
1999-10-06 09:19:46 +00:00
itohy 245053a1af Add "opl at ym" and "mpu at ym".
Fix typos.
1999-10-06 08:13:17 +00:00
tron 7d4a18b335 Use long int format in calls to db_printf() where required. 1999-10-05 12:34:32 +00:00
eeh ff994dd772 Make this compile again. 1999-10-05 03:46:30 +00:00
eeh f1deb2c3ac Make broken versions of gas happy by using sethi/or instead of set for
(negative) addresses.
1999-10-05 03:40:50 +00:00
eeh cb2f2c8f26 Add RODATA() macro. 1999-10-05 03:34:41 +00:00
mycroft f233c16c58 Sync with reality. 1999-10-05 03:31:43 +00:00
hubertf 467dda98ab Sync usage with the manpage (add -s) 1999-10-05 03:18:32 +00:00
jun aa11952de6 kernel configuration for IPv6/IPsec. should be in GENERIC in the future. 1999-10-05 02:22:14 +00:00
jun 311b40f89a GENERIC.v6 -- IPv6 variant of GENERIC. should be in GENERIC. 1999-10-05 02:17:25 +00:00
tsubai eb1c1bdb92 Make media-bay CD detachable. 1999-10-04 22:58:10 +00:00
ross b18cdd3e4e Add transition-flag -S, to regenerate alpha/sparc harmonized checksums. 1999-10-04 21:22:15 +00:00
is 21d10126ed Make this compile with -DDEBUG again. 1999-10-04 20:28:01 +00:00
ross f67733aa38 s/_ARM32_DISKLABEL_H_/_MACHINE_DISKLABEL_H_/
This aligns arm32 with all the other ports and fixes a cross-compile problem.
1999-10-04 19:31:05 +00:00
pk 8800f180c3 Call find_cpus() much earlier so we can use the result while bootstrapping
all that pmap stuff.
1999-10-04 19:27:04 +00:00
pk de22be977a Since a context table is now pointing at the correct per-CPU region table
at all times, we can dispense with the hackery that patches the magic entry
at context-switch time.
1999-10-04 19:23:49 +00:00
ross 9648d2fcd6 Merge from my i386 source tree: make this build on i386 (and others) 1999-10-04 19:23:19 +00:00
ross 722e1970eb Completely replace the logic used for sparc/alpha checksum harmonization. 1999-10-04 19:19:11 +00:00