Commit Graph

29588 Commits

Author SHA1 Message Date
minoura 26b74e1082 Handle T_ILLINST in kernel mode.
This occurs in fpu_probe() when the FPU is not installed on the system.
Because of this, FPU_EMULATE wouldn't work at all.
1999-04-18 14:39:10 +00:00
minoura 4fcf23e9b0 Handle F line emulation correctly when FPU_EMULATE is enabled. 1999-04-18 14:37:09 +00:00
ad fe72ae262f Rebuilt from 'isapnpdevs'. 1999-04-18 13:21:01 +00:00
mrg a3b0c3845d fix some comments. 1999-04-18 10:54:23 +00:00
mrg 8b70f01b60 use LINKFLAGS=-X to avoid stripping out per-file debugging info (idea from chuck@netbsd.org) 1999-04-18 10:52:31 +00:00
minoura 8eb1fd77e9 Do not memcpy to the bouncebuffer in datain. 1999-04-18 00:38:58 +00:00
minoura aae9b1588b Typo fix. 1999-04-18 00:36:36 +00:00
ad 690bd69d3e Add Diamond Supra 336i to device list. 1999-04-18 00:35:30 +00:00
kleink ea8f9b570f Inclusions are already relative to the root of the kernel source tree, no need
to traverse the path all the way up again.
1999-04-17 21:26:59 +00:00
ws 5423093850 Modify syncicache on PowerPC from an inline to a real function.
Support different cache line sizes with the same object code in userland.
While here, move the function to implementation name space.
1999-04-17 21:16:45 +00:00
kleink 17f5893b79 Indentiation oversight in previous. 1999-04-17 21:00:09 +00:00
kleink 9dc5fdfdf0 s/ushort/unsigned short/ as the former isn't available in an _XOPEN_SOURCE
environment.  XXX should change the interface to use uid_t/gid_t/mode_t
1999-04-17 20:55:45 +00:00
chs b3d919281a update one last call to uvm_pagealloc(). 1999-04-17 20:03:39 +00:00
mhitch 70d16931bd Correct the way I was using the transfer length for ATAPI commands. ATAPI ZIP
drives are now usable.
1999-04-17 19:49:24 +00:00
is 3faf133984 Cut-down kernel for miniroot installation.
Leave everything out that isn't needed.
1999-04-17 19:05:19 +00:00
mhitch 46f5ce02e0 Do a REQUEST SENSE when ATAPI operation returns an error. This is needed to clear
the Unit Attention status, i.e. after a media change on a CDROM.
1999-04-17 17:08:12 +00:00
ragge d80adac6a7 Only allocate QDSS memory if there is a QDSS as console.
QDSS should also work on KA650 now. (untested)
1999-04-17 17:02:49 +00:00
drochner 2519327c42 oops - forgot half of it 1999-04-17 16:52:06 +00:00
drochner 9684e9a613 disable the "aria" sound board per default until the problems with its
"probe" functions are solved (gives false positives)
1999-04-17 16:50:26 +00:00
drochner 7694cc18a5 wsconsio.h is gone 1999-04-17 13:00:04 +00:00
simonb cbd32a724f Sync with rev 1.9 of sys/arch/i386/stand/lib/loadfile.c:
another nit in error handling: don't try to print out a NULL
	filename (which means "use default" and is dealt with properly
	by open())
1999-04-17 11:24:16 +00:00
drochner 982c55e22c another nit in error handling: don't try to print out a NULL filename
(which means "use default" and is dealt with properly by open())
1999-04-17 11:18:36 +00:00
ragge e9689cc9bd Use "access_type" in pmap_enter() more intelligent.
Allocate device register space bigger than the logical page size
from the kernel map, thus decreasing the pre-allocated page table memory.
1999-04-17 00:01:18 +00:00
abs c28fffe947 Fix enet_vendor entries for Compex Linkport Enet B (PR 7238) 1999-04-16 22:35:49 +00:00
thorpej e49833cd68 Now that we have direct-mapped pool pages, we can garbage-collect VM_MBUF_SIZE
and don't need to allocate mb_map.
1999-04-16 21:47:11 +00:00
thorpej 4b603c180a Use the same hack as pmap_zero_page() and pmap_copy_page() to provide
direct-mapped pool pages.
1999-04-16 21:45:19 +00:00
thorpej 3b29e1e158 Clean up the Rawhide interrupt code some more:
- Actually display the kn300 irq, not the MCPCIA irq, in the interrupt
  string.  Also, don't bother displaying device/pin on strays, since
  it doesn't play will with shared interrupts that would happen due to
  a PCI-PCI bridge.
- Shave a few more cycles out of the interrupt dispatch routine.
1999-04-16 21:29:47 +00:00
thorpej 48a53c250d Add a stub pciide_machdep_compat_intr_establish() for Power Macintosh.
Power Macintoshes with PCI IDE (e.g. the new Blue G3) don't have them
wired to compatibility mode, so just return a NULL cookie.  We still have
to have this routine for the PCI IDE driver to link.
1999-04-16 21:15:29 +00:00
perseant 4427f80b15 Other half of the ufs_hashlock locking fix (oops) 1999-04-16 16:23:46 +00:00
pk cd6eaa20b1 Print register contents before we modify it. 1999-04-16 13:35:41 +00:00
kleink 5e7ff129c8 Normalize path of files.sunos. 1999-04-16 11:13:38 +00:00
pk 0a737db1c7 `oldmon' proms need `putstr()' too. 1999-04-16 08:55:37 +00:00
ross 74de38f9a9 Really say goodbye to old wscons. 1999-04-16 07:24:13 +00:00
mhitch bb2b8c8586 Change reading the ATAPI IDENTIFY data: a ZIP drive responds differently than my CDROM
and will cause the drive to hang on boot.  The ZIP drive still does not work, but the
system no longer will hang,
1999-04-16 03:29:49 +00:00
thorpej d38cab08e5 Add SGMAP stuff for Window 2, and rename Window 0's SGMAP stuff to indicate
its use.
1999-04-16 02:18:07 +00:00
explorer 6f9b6a2f1a remove BUFPAGES= line for now (commented out) 1999-04-16 01:11:22 +00:00
explorer 927ebf9949 sync to the currently installed kernel 1999-04-16 01:09:25 +00:00
perseant 2d12a2d41d Fix locking panic on ufs_hashlock 1999-04-16 00:41:58 +00:00
mjl 6224c1beda Correct wrong board IDs (used ID definition from FreeBSD) 1999-04-15 23:51:44 +00:00
thorpej 1ddebc8444 Fix a silly bug present since rev 1.1; the direct-mapped window is
supposed to be Window 1, but a cut'n'paste error made it stomp over
Window 0, thus breaking ISA DMA.  Fix this.  (Confirmed to work with
floppy driver.)

While I'm here, do something I've been meaning to do for a while: change
Window 1 from a 1G at 2G to a 2G at 2G direct-mapped window, and add
a Window 2 of 1G at 1G SGMAP-mapped.  Chain Window 2 to Window 1, and
use it as a fall-back for PCI DMA if the system has more than 2G of RAM.
1999-04-15 23:47:52 +00:00
thorpej 31c4e50d3a - Change the "savunit[]" and "savirqs[]" arrays to ints, rather than chars.
The access is more efficient this way (and this was done in the interrupt
  dispatch code, so some cycles are actually shaved), and gcc gets annoyed
  when chars are used as array subscripts.
- Adjust for the fixed Rawhide console initialization.
- When mapping a PCI interrupt, don't always map device 1 to IRQ 16.  Device
  1 is only the internal 53c810 on MID 5, and is an invalid device number
  on any other MID.
- Adjust for change mcpcia_config/mcpcia_softc structures.
- Nuke the kludgy linked list of mcpcia_softc structures.  Instead, just
  use savunit[v] to index into mcpcia_cd.cd_devs[] to find the MCPCIA
  which has the stray interrupt.
- Some other minor cosmetic cleanup.
1999-04-15 22:37:25 +00:00
thorpej 592cdd4bda Adjust for new register access arguments, and make one slight cosmetic
change.
1999-04-15 22:32:21 +00:00
thorpej f2368c1301 CHIP_EX_MALLOC_SAFE() now must pay attention in class. 1999-04-15 22:31:16 +00:00
thorpej 279f30928f Add support for a single statically-allocated MCPCIA configuration structure,
which holds state of the MCPCIA to which the console is attached.

- All MCPCIA info is now stored in the mcpcia_config structure; the
  mcpcia_softc only contains a struct device and a pointer to one of these.
- If attaching the console MCPCIA, use the static configuration, else allocate
  the substructure.
- Rename mcpcia_init() to mcpcia_init0(), and make it take a "mallocsafe"
  argument.
- Implement a new mcpcia_init(), which looks for the MCPCIA which has the
  EISA bridge attached.  Initialize this MCPCIA as the console MCPCIA (the
  console on the Rawhide is only allowed on this MCPCIA; firmware rule).
- Eliminate the kludgy linked listed of mcpcia_softcs.  Just use mcpcia_cd
  to find all configured instances.

Separate bug fix: Actually clear the MCPCIA error mask after probing for
PCI (and ISA) devices, don't just clear it twice in mcpcia_init0().

Some other slight cleanup.
1999-04-15 22:27:40 +00:00
thorpej 9af474a62c - Add a comment explaining why we probe for MCPCIAs in the shuffled
MID order.
- Export the shuffled MID order; other files now need it.
- Don't derive the GID from the unit number of the mcbus.  A user could
  render his kernel non-bootable by using a different unit number in the
  kernel config file.  We (and the hardware) only support one MCBUS, so
  simply use instance 0.  Note that this will need to be adjusted if there
  are even any multiple-MCBUS systems.
1999-04-15 22:19:52 +00:00
thorpej 9a4a0a3c81 DEC_KN300 no longer uses PROM console. 1999-04-15 22:15:38 +00:00
thorpej 1287bb8599 Always call the platform's cons_init routine (note, it may not do anything,
but it's a very handy place to put console-related debugging code in,
even if we're still using the PROM console).
1999-04-15 22:15:05 +00:00
thorpej f3314e93e8 Add an empty dec_kn8ae_cons_init(). 1999-04-15 22:13:41 +00:00
thorpej 02aa04c89e Massive cleanup of the AlphaServer 4100 console initialization code.
Instead of using the PROM console until autoconfiguration is complete (at
which time we called dec_kn300_cons_init() directly!), make this work like
basically all of the other systems which have PCI attached consoles.  That
is, initialize the PCI chipset which holds the console early, and perform
console initialization at the correct time.

This should make both PCI and ISA display consoles with PC keyboards work
(i.e. the deskside workstation version of the Rawhide).
1999-04-15 22:11:57 +00:00
thorpej 0df038ccb1 - Use the CTB_TURBOSLOT_* macros from rpb.h.
- Don't assume bus/slot == ISA display.  Instead, test for TYPE_ISA.
- Some cosmetic (whitespace, mostly) cleanup.
1999-04-15 22:06:47 +00:00