Commit Graph

31491 Commits

Author SHA1 Message Date
bjh21 f47cb92e18 audio -> audiobus rename. 2002-04-24 17:52:48 +00:00
thorpej fda6669861 Use esiop. 2002-04-24 17:45:55 +00:00
thorpej 2c0a144aa4 * pmap_clean_page(): Clean up a comment.
* pmap_protect(): write back the range when doing a r/w -> r/o
  transition.  (Still leave the block concerned with this in
  pmap_clean_page() disabled, for now.)
* pmap_pte_init_xscale(): Disable read/write-allocate for now, until
  we figure out why sometimes cache lines of NULs get deposited into
  file data.  Also, make sure ECC protection of page table access is
  disabled for now.
* xscale_setup_minidata(): Make sure the mini-data cache is configured
  write-back with read/write-allocate.
2002-04-24 17:35:10 +00:00
kleink a5a0fd620b Add ex(4). 2002-04-24 09:46:15 +00:00
lukem 2c1cfc8e8c - in <bsd.files.mk>, don't clear FILES after using it, as that prevents
make -V FILES
  from being useful (and given that every other variable can be
  extracted using make -V, the behaviour was unusually inconsistent
  given that the original reason for clearing it doesn't seem to be
  relevant anymore)
- use <bsd.prog.mk> instead of directly including <bsd.files.mk>
  (and possibly <bsd.man.mk> or <bsd.own.mk>)
- remove obsolete NOPROG
2002-04-24 08:18:45 +00:00
lukem 86caccc77b convert from "bbinfo.h" to <dev/sun/sun_boot.h> 2002-04-24 01:40:25 +00:00
kleink 3626919f4c Oops, swapped mtsrin operands in previous. 2002-04-23 17:14:45 +00:00
tv 7da1186e67 Use ${INSTALL_FILE} to move /boot.atari into place so it is seen by an
UNPRIVED build.
2002-04-23 17:04:31 +00:00
uch 14fff32a83 remove duplicated SH3, SH4 define. 2002-04-23 13:59:03 +00:00
kleink 3a03930d13 Add a third argument to pmap_bootstrap() which platform-specific
initialization can use to specify additional segment registers to be set
up in the kernel pmap.
2002-04-23 12:41:04 +00:00
pk ebe575d3ca BUS_ADDR(): avoid signed conversions. 2002-04-23 07:17:29 +00:00
manu c7dcec33a1 Added IRIX /dev/usema and dev/usemaclone (void driver for now, will be
filled later)
2002-04-23 06:48:46 +00:00
kleink 0b463cc8f9 Express tempsave and disisave addresses using the symbolic names of the
exception handlers which they are `borrowed' from.
2002-04-22 23:20:08 +00:00
fredette 5c3869c64c Removed the old installboot, we now use the new /usr/sbin/installboot.
Now install a raw binary version of bootxx, since that's what this
new installboot expects.
2002-04-22 21:15:40 +00:00
fredette 3b190a12d6 To make things build correctly, rely totally .PATH and never
have source files be explicit paths.
2002-04-22 21:13:34 +00:00
ad 9a09578e25 Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.
2002-04-22 21:05:19 +00:00
uch d1b9873090 make these compile with gcc -O0 2002-04-22 18:57:43 +00:00
kleink 0b82377f11 Fix a swapped register pasto(?) introduced in rev. 1.17. 2002-04-22 18:31:11 +00:00
augustss 7f7ab48604 Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.
2002-04-22 09:41:19 +00:00
msaitoh 3e139496d2 remove unused option 2002-04-22 08:24:02 +00:00
gmcgarry e99aada22c Bump ramdisk size. 2002-04-22 06:10:16 +00:00
msaitoh 9121727bf6 increase _INTR_N from 7 to 11 (count both SCI and SCIF) 2002-04-22 02:05:33 +00:00
kleink 884898e332 Convert the spill stack frame to use symbolic offset names; inspired by
a conversation with Matt Thomas.
2002-04-21 22:05:45 +00:00
ragge 2d53738484 Cast some args to unsigned long (used with pointers). 2002-04-21 21:00:29 +00:00
ragge f2996b0e79 Add dkbad, from 4.4. 2002-04-21 20:56:33 +00:00
thorpej c3050006aa * Defflag the SH3 and SH4 options.
* In <sh3/cputypes.h>, always define both SH3 and SH4 if _LKM is defined.
2002-04-20 19:59:11 +00:00
kleink a641861ab8 Rig pmap_print_mmuregs() for the 601. 2002-04-19 20:56:56 +00:00
heinz 47141ed0bf Add missing CVS tag 2002-04-19 16:43:38 +00:00
heinz 9f8fa51b2d Removed the files after renaming to kf_iso8859_1_* (in agreement with
is@netbsd.org).
2002-04-19 16:38:13 +00:00
heinz 3c56e1f6a3 Add options for console fonts 2002-04-19 16:30:27 +00:00
heinz 691273a308 Add options for iso8859-1 and -2 kernel fonts and change the file selection
for kernel fonts (in agreement with is@netbsd.org)
2002-04-19 16:29:17 +00:00
heinz 34da823975 regen after GENERIC v1.178 2002-04-19 16:14:01 +00:00
heinz deadec2d40 Add options for console fonts 2002-04-19 16:11:26 +00:00
wiz bc768c8abb Remove unneeded cdev_decl(pms). 2002-04-19 02:15:59 +00:00
wiz 440337fdce Remove (commented out) pms cdev_decl. 2002-04-19 02:12:00 +00:00
wiz 8aedc259f8 Don't cdev_decl(pms). 2002-04-19 02:10:17 +00:00
wiz b430d917cf Complete renaming of opms to opms (was mostly pms internally).
Mechanical change, tested by cross-compiling GENERIC from i386.

Approved by christos.
2002-04-19 01:43:48 +00:00
simonb f09098b78b Add a newline to a debug printf. 2002-04-19 01:14:17 +00:00
wiz d79f4782b6 Complete renaming of opms to opms (was partly named pms, externally and
internally).  Move arm/iomd/pms* to arm/iomd/opms*. Mechanical change,
tested by cross-compiling a kernel from i386.

Approved by christos.

XXX: What are arm/arm32/conf.c and arm/include/conf.h good for?
2002-04-19 01:04:38 +00:00
kleink 99d4b7c71f Unused; already implemented in libkern. 2002-04-18 21:42:36 +00:00
leo 1913310c9e Handle uninitialize warning. 2002-04-18 20:12:01 +00:00
matt 66c475ca19 Use a common genassym.cf for all the PPC_MPC6XX ports. Add a makeoptions to
std.foo to indicate the directory to get genassym.cf from.  Add an intrframe
to <powerpc/frame.h> and make trap_subr.S use symbolic offsets into it.
2002-04-18 20:08:05 +00:00
kleink de339ffb8a Alpha-sort/cosmetics. 2002-04-18 19:48:41 +00:00
eeh c54358008e Remove unused file. 2002-04-18 17:24:09 +00:00
eeh 4acff51bdc Cleanup a bit and get rid of unnecessary cache flushes. 2002-04-18 17:19:12 +00:00
eeh 55bcc7df8b Don't include cpuvar.h. 2002-04-18 16:37:26 +00:00
eeh bb8f4cc510 Calculate NBPG from PGSHFT. 2002-04-18 16:31:47 +00:00
wiz 95bc0b09e2 Remove opms(4) for bebox (superseded by pms(4)).
Approved by christos.
2002-04-18 15:44:20 +00:00
bouyer ca16b3dee1 Add libsa's files.c to list of sources, so that files[] exists. 2002-04-18 15:39:02 +00:00
tsutsui e5c1c88d93 Add version strings by newvers_stand.sh to secondary boot. 2002-04-18 14:54:38 +00:00
briggs 29e436c9e8 Enable new option SIOP_SYMLED 2002-04-18 14:32:57 +00:00
wiz 5b79e27a96 This port never even had opms -- remove line referencing it. 2002-04-18 13:18:29 +00:00
wiz c6dc851f64 Remove opms(4) and its device, /dev/pms0, from the i386 port, because
it has been obsoleted by pms(4).

Reviewed by fvdl and christos.
2002-04-18 12:54:09 +00:00
kleink eb225418ed Don't do random replacement in isitrap601; just like isitrap. 2002-04-18 12:33:26 +00:00
bouyer 618e11b77d Add (commented out) options SIOP_SYMLED 2002-04-18 12:06:11 +00:00
thorpej 0f3cb4bcae Add a standalone routine for fetching the memory size from the
core module on an ARM Integrator board.
2002-04-18 05:30:45 +00:00
gmcgarry 36adeea7c2 Don't frob MCR_IEN bit if on a 425e. Problem initially reported
by Christoph Badura:

It looks to me like the 425e uses reverse polarity of the MCR_IEN bit with
respect to the other 4xx models.  That could be because it doesn't have
an inverter wired behind the IEN(OUT2) output of the UART.

Fix is inspired by change in OpenBSD.  Serial console input is
confirmed working on 425e by Thilo Manske.
2002-04-17 23:31:24 +00:00
hubertf 0ee29be147 add appropriate description 2002-04-17 23:23:49 +00:00
gmcgarry b3dae2b4b6 Regen: "digital audio" 2002-04-17 20:51:11 +00:00
gmcgarry c4ab5a6201 typo in previous 2002-04-17 20:50:45 +00:00
gmcgarry 5123c61682 device id 0x13 is "digital audio" as reported by Thilo Manske. 2002-04-17 20:49:06 +00:00
gmcgarry e25ab469b9 Attach apci console as an intio device, not a dio device.
Fixes console attach on 425e noted by Thilo Manske.
2002-04-17 20:40:30 +00:00
thorpej a7a582e392 * Call board_init() rather than mem_init() (board_init() will take
care of that for us).
* Call board_fini() right before jumping to the kernel entry point.
2002-04-17 17:38:58 +00:00
thorpej a400421fe8 Add board_init() and board_fini() routines for IQ80310 and IQ80321
eval boards.
2002-04-17 17:37:52 +00:00
rafal 7a25d8c7ba Add event counter for zs interrupts and attach and use it; also, get the
zs major number out of the cdevsw table rather than hardcoding it in zs.c.
2002-04-17 13:49:54 +00:00
mycroft f61e8b1c43 Per PR 13668, add tlp at pci. 2002-04-17 11:52:47 +00:00
mycroft 8de6aa0fbc This file is redundant now. 2002-04-17 02:27:14 +00:00
mycroft a03e2b5e1e Remove TLP_MATCH_* options. 2002-04-17 02:26:48 +00:00
mycroft 558b4fb278 Switch from de to tlp by default. 2002-04-17 02:22:41 +00:00
mycroft 332493e8b7 These machines are gone. 2002-04-17 02:04:26 +00:00
heinz cc1422920f Change name of console fonts kf_8x8.c and kf_8x11.c 2002-04-17 00:59:07 +00:00
heinz 89a0c77ff9 Add East European (iso8859-2) console fonts 2002-04-17 00:52:13 +00:00
heinz 77a6abbbed Renamed kf_8x8.c and kf_8x11.c to kf_iso8859_1_8x8.c and kf_iso8859_1_8x11.c 2002-04-17 00:51:05 +00:00
eeh 8c0f10ff03 Add icache_flus_page() to go with dcache_flush_page(). 2002-04-16 23:13:13 +00:00
eeh 690711542d We want pages modulo 16K not modulo 32K. 2002-04-16 23:11:20 +00:00
eeh cd1c5cd9c5 Make lots of routines profile-friendly and get rid of some cruft. 2002-04-16 23:09:37 +00:00
bjh21 12282dd258 Regen. Remove pppoe from FALCON kernels. 2002-04-16 22:44:26 +00:00
bjh21 0884ac3b9e Don't include pppoe in FALCON kernels, since they don't include any Ethernet
devices.
2002-04-16 22:42:55 +00:00
thorpej eedd94475c * Move the mii_bitbang attribute into dev/mii/files.mii
* Pull in dev/mii/files.mii from conf/files, rather than playing
  the magic "files include order" dance in N machine-dependent
  configuration definitions.
2002-04-16 20:50:16 +00:00
thorpej f23ba7637c Add Application Accelerator Unit registers. 2002-04-16 17:36:06 +00:00
uch 5f10da67a7 Define all CPU types if _LKM is defined. 2002-04-16 17:33:56 +00:00
wiz 5040dc6d7d Remove last(?) traces of pmsi. 2002-04-16 11:49:54 +00:00
kleink b1a7e54209 pmsi(4) is gone. 2002-04-16 07:42:19 +00:00
thorpej bbdbd9ab37 Add i80321 DMA controller registers. 2002-04-16 04:50:14 +00:00
thorpej d533e315ee Fix a typo and an omission in last. 2002-04-15 17:27:39 +00:00
bjh21 1f1695ddff Build the keymap-generating programs as hostprogs, since they're only run
on the host system and never installed.

Install the generated keymaps using <bsd.files.mk> rather than by hand, so
that all the UNPRIVED magic can work.
2002-04-15 17:27:33 +00:00
bjh21 5178253d62 Only include opt_*.h #ifdef _KERNEL_OPT. 2002-04-15 17:05:13 +00:00
thorpej bc6522fb34 Add bits for the XScale Auxillary Control Register. 2002-04-15 16:34:32 +00:00
mycroft 69bae7ce64 Add wm. 2002-04-15 15:00:18 +00:00
tsutsui 2168ee307b Remove (commented-out) pmsi entries. 2002-04-15 14:47:03 +00:00
skrll 6024d2c603 Nuke pmsi 2002-04-15 12:52:28 +00:00
leo 6b640fdcec Fix PR-16305. Make the 'end' symbol local. 2002-04-15 09:29:56 +00:00
mhitch 77b771d03b Don't copy boot.amiga to ${DESTDIR}/ - it is now done by the install/update
script, sysinst, or manually when the bootblock is installed.
2002-04-15 08:38:55 +00:00
briggs 0c4a264e40 Really nuke pmsi 2002-04-15 02:05:10 +00:00
briggs 9d121c1c24 Nuke pmsi 2002-04-15 01:43:35 +00:00
manu 33d1091e95 Removed the IRIX signal trampoline, which is useless now we use the signal
trampoline provided by IRIX libc.
2002-04-14 21:52:25 +00:00
thorpej cff1953dae Fix typo in last (luckily, search/replace makes the same typo everywhere). 2002-04-14 21:32:24 +00:00
thorpej 302ea396c3 iq80310_do_pending -> iq80310_do_soft, to accurately describe what's
actually going on there.
2002-04-14 21:30:19 +00:00
thorpej a9e4c1a943 * Delcare COUNTER_MASK properly.
* Restructure timer_read() so that the compiler generates better code.
2002-04-14 19:47:03 +00:00
lukem fdc8fec66f allow default colours to be overridden by
PCCONS_DEFAULT_FG PCCONS_DEFAULT_SO_FG
	PCCONS_DEFAULT_BG PCCONS_DEFAULT_SO_BG
2002-04-14 14:20:33 +00:00
tsutsui d539066478 Set COPTS="-Os -mmemcpy" 2002-04-14 12:51:17 +00:00
takemura e63e3c0ed4 Added bus probing to avoid bus error. 2002-04-14 07:59:56 +00:00
tsutsui a1124f0f2a Enable spifi SCSI. 2002-04-14 07:37:58 +00:00
takemura c9cb463127 Print bad address in interrupt handler. 2002-04-14 07:34:20 +00:00
takemura ab452aef6c Fixed 8bpp problem of mq200. 2002-04-14 06:07:40 +00:00
tsutsui 55c1bc5448 Expand MEMORY_DISK_ROOT_SIZE to 2.5Mbytes. 2002-04-14 02:30:22 +00:00
mycroft 92719d60d8 The functionality of pmsi has been implemented in pms, so it's time for pmsi
to go back where it came from.
2002-04-14 01:42:52 +00:00
briggs 301eca907d Enable ext2fs and RAIDframe. 2002-04-13 23:33:16 +00:00
thorpej 71123e8747 Gah, correct editor mistake in last. 2002-04-13 22:42:39 +00:00
thorpej 755369ecb1 * Eliminate some redundant masking.
* Don't run the snake if the board doesn't have a 7-segment display.
2002-04-13 22:41:46 +00:00
bjh21 b5d40b188c Remove bogus dependency on options HPCARM. 2002-04-13 19:15:52 +00:00
briggs 652b9e4c7b Fixes and changes from Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>.
* Clean up after briggs@ changes to support bus_dma.
* Add support for reading sMemory resources from nubus cards.
* Add support for old cards with only the board rsrc (NatSemi NB-GPIB, e.g.)
* Add a few more card identifiers.
2002-04-13 17:49:41 +00:00
tsutsui f1cd70e3dc Add -DLIBSA_USE_MEMCPY and -DLIBSA_USE_MEMSET to CPPFLAGS. 2002-04-13 17:48:10 +00:00
matt 54d0dedd0c Cleanup the debug prints in pmap_enter. 2002-04-13 15:58:30 +00:00
bjh21 34aad0d131 Only include opt_compat_svr4.h ifdef _KERNEL_OPT. 2002-04-13 14:20:29 +00:00
tsutsui df16ac88cd Use "-Os -mmultiple". 2002-04-13 13:44:48 +00:00
tsutsui c7a7330ca9 Add "cleanlibdir" target. 2002-04-13 13:35:23 +00:00
tsutsui c58dce575b Set USE_LIBSA_MEMCPY and USE_LIBSA_MEMSET to save a few bytes. 2002-04-13 13:31:40 +00:00
simonb 506b9316a4 Remove commented out "options EXEC_ELF_CATCHALL", and note that
COMPAT_1{1,2} provide this (renamed) functionality.
2002-04-13 12:08:46 +00:00
manu c56e133974 More comments on the new signal frame/trampoline 2002-04-13 10:52:59 +00:00
takemura 090be59325 Fixed dev/hpc/hpcfb.c to set RI_BSWAP flag in 8bpp for rasops8.c
and backout changes 'fix LCD byte-order setting':
        arch/hpcsh/dev/hd64461/hd64461video.c   Rev. 1.7 to 1.8
        arch/hpcmips/dev/plumvideo.c            Rev. 1.23 to 1.24
        arch/hpcmips/tx/tx3912video.c           Rev. 1.24 to 1.25
2002-04-13 09:29:53 +00:00
tsutsui 97538862ad Add -b option for contiguous secondary boot on ustarfs. 2002-04-13 08:14:07 +00:00
tsutsui b29a332627 Add ustarfs support and changedisk_hook(). 2002-04-13 08:04:41 +00:00
tsutsui 3369f7b337 Add some ioctl() definitions to eject floppy. 2002-04-13 07:56:02 +00:00
tsutsui 894a4f24e2 Add getchar(). 2002-04-13 07:53:53 +00:00
tsutsui d5dd9411f6 bcopy() -> memcpy() 2002-04-13 07:34:41 +00:00
tsutsui 10720920d5 bzero() -> memset() 2002-04-13 07:34:17 +00:00
tsutsui c69f6fde96 Rename halt() -> rom_halt(), and declare it in romcall.h. 2002-04-13 02:43:43 +00:00
tsutsui 5e64969e37 Build SA libs with -mmemcpy and set LIBSA_USE_MEMSET and LIBSA_USE_MEMCPY. 2002-04-13 02:30:30 +00:00
tsutsui 9d95be4e68 Add -mmemcpy to CFLAGS. 2002-04-13 02:29:08 +00:00
mycroft d4a9baf2b1 Add IR support. 2002-04-13 02:25:27 +00:00
thorpej 5358f38f8b Add an install kernel for the Npwr. 2002-04-13 00:51:18 +00:00
tv 43df8ed28f Add host-OS tools for i386, which end up in the "installation/misc"
directory of the release tree.
2002-04-12 23:11:58 +00:00
leo 9485827587 Regen. 2002-04-12 22:37:21 +00:00
leo d7f7c55a74 Move USERCONF to GENERIC.in and trim the phy-list. 2002-04-12 22:34:13 +00:00
leo df30bb7f3d Oops, remove some unintended changes. 2002-04-12 22:29:14 +00:00
leo c3e3c2c718 Add some PCI ethernet/audio cards for the Hades and the Milan. 2002-04-12 22:22:25 +00:00
leo f94a8b4d29 Don't bail out when /netbsd is not present. We don't really need it
anyway.
2002-04-12 22:11:33 +00:00
leo cbe57bbd7c Make the exitcode != 0 when the ioctl fails. 2002-04-12 22:09:28 +00:00
thorpej 10c0c20ad4 Default all XScale core processors to the read/write-allocate write-back
cache mode.  Add a new XSCALE_CACHE_WRITE_THROUGH option for people who
are paranoid about the cache-related errata (you *do* have to line up
the planets correctly to trip them, but having the option is useful).
2002-04-12 21:52:45 +00:00
thorpej 60e10382d5 Add a "netbsd-sd0" configuration. 2002-04-12 21:45:13 +00:00
thorpej 3d6043053d * Add the ability to display .'s on the 7seg display.
* Display . . when halted.
2002-04-12 20:50:26 +00:00
thorpej 09eacc7061 Set COM_HW_NO_TXPRELOAD. The IQ80321's UART doesn't lose without
this, but it works fine with it, and this serves to broaden the
testing field of the flag.
2002-04-12 19:35:17 +00:00
thorpej 4a0ee23b99 Set COM_HW_NO_TXPRELOAD. 2002-04-12 19:34:24 +00:00
thorpej ff7306cf44 * Add a new hwflag, COM_HW_NO_TXPRELOAD, which tells comstart() to
not pre-load the chip's Tx buffer, but instead waits for the Tx Ready
  interrupt to transmit the first chunk of data.
* On the IOP310, set COM_HW_NO_TXPRELOAD, rather than COM_HW_TXFIFO_DISABLE.

This solves the "UART hangs" problem on the Npwr in a nicer way (i.e. we
get to use the FIFO, whee).  The COM_HW_NO_TXPRELOAD happens to match the
Linux 16550 driver's Tx algorithm, and the "UART hang" was never observed
on the Npwr running Linux.

Eventually, we might want to eliminate the COM_HW_NO_TXPRELOAD, and simply
always use its algorithm.  But it should be tested on more 16x50 variants
before we do that.

Kudos to Valeriy Ushakov <uwe@netbsd.org> for pointing out this solution
(which also happens to fix the stray UART interrupt issue on the Krups
Javastation), and to Allen Briggs <briggs@netbsd.org> for experimenting
with various methods of fixing this.
2002-04-12 19:32:30 +00:00
thorpej f56b432a79 Use the bus_space_generic bus space ops. 2002-04-12 19:12:31 +00:00
thorpej 80146a5185 Use the bus_space_generic bus space ops. 2002-04-12 19:02:30 +00:00
thorpej 79303779d8 Add some generic bus_space ops, which are pulled in by the
"bus_space_generic" configuration attribute.
2002-04-12 18:56:57 +00:00
thorpej 32a0860797 Centralize ARM CPU configuration information by adding a new header
file, <arm/cpuconf.h>, which pulls in "opt_cputypes.h" and then defines
the following:
* CPU_NTYPES -- now many CPU types are configured into the kernel.  What
  you really want to know is "== 1" or "> 1".
* Defines ARM_ARCH_2, ARM_ARCH_3, ARM_ARCH_4, ARM_ARCH_5, depending
  on which ARM architecture versions are configured (based on CPU_*
  options).  Also defines ARM_NARCH to determins how many architecture
  versions are configured.
* Defines ARM_MMU_MEMC, ARM_MMU_GENERIC, ARM_MMU_XSCALE depending on
  which classes of ARM MMUs are configured into the kernel, and ARM_NMMUS
  to determine how many MMU classes are configured.

Remove the needless inclusion of "opt_cputypes.h" in several places.
Convert remaining users to <arm/cpuconf.h>.
2002-04-12 18:50:29 +00:00
manu 5ee554064d Reworked IRIX signal delivery so that ucontext is used instead of sigcontext
when SA_SIGINFO is used. The IRIX process will hence find the expected
information using the third argument of the signal handler.

We do not provide code and siginfo yet.
2002-04-12 18:44:57 +00:00