Commit Graph

702 Commits

Author SHA1 Message Date
augustss eb9736c09a Add uscanner. 2000-11-14 19:52:04 +00:00
tsubai e3ae93dfd4 Add hfs support. Currently this layer simply throw the request to the OF
(and the OF recognizes HFS).
2000-11-14 11:25:34 +00:00
hannken 0ba0592864 Pull in dev/i2o/files.i2o. 2000-11-10 17:09:15 +00:00
tsubai eef7148644 Enable HID0_BTIC on 750 and 7400. 2000-11-09 11:58:09 +00:00
tsubai a88f368787 defopt L2CR_CONFIG. 2000-11-08 17:53:46 +00:00
wrstuden 10c4684193 Use wdc_print_modes() so that we get to see what DMA modes
are used with a drive.
2000-11-08 17:50:44 +00:00
matt 4feeea4377 Reduce maxusers to 12 (this is a single user kernel after all).
Remove COMPAT_13 since it's not needed.
2000-11-07 17:37:07 +00:00
matt c62b76ce87 Switch from the old yucky ncr to the new good siop driver for 53c8xx. 2000-11-07 17:01:33 +00:00
tsubai 532d1c33c2 Enter ddb after ddb_init() if -d is specified. 2000-11-06 12:35:21 +00:00
tsubai 7bfead48b0 Rearrange console selection code.
Now usb keyboard is preferred to adb.
2000-11-06 12:33:07 +00:00
matt 5a55a6ac60 Add files.ieee1394 2000-11-05 23:19:41 +00:00
wrstuden 029bdd3185 Adjust to change in tty line discipline handling. 2000-11-03 18:50:49 +00:00
tsubai 3d213115f4 Don't match if nintr > 12 (more than 3 cells). 2000-11-03 12:26:06 +00:00
tsubai bcb05a2f55 Get 6 interrupt cells from OF. 2000-11-03 12:20:55 +00:00
tsubai 2fe4478f19 Don't assume 12x22 font. 2000-11-02 14:25:51 +00:00
eeh 8c3f6a0d10 Adapt to new line discipline scheme. 2000-11-02 00:37:56 +00:00
tsubai 08e43d95ca Don't set M_HASFCS flag twice. 2000-11-01 20:21:58 +00:00
mycroft 204e210aef Enable DDB history by default. 2000-11-01 06:57:56 +00:00
mycroft 94abfa5119 Actually attach the audio device... 2000-11-01 05:28:09 +00:00
mycroft e964414bc8 (Oops. There's no other audio support in this config.) 2000-11-01 04:34:41 +00:00
mycroft 105e2e4e4d Add awacs. 2000-11-01 04:31:20 +00:00
tsubai b4b571ccb9 Match "chrp,mesh0". 2000-10-31 16:57:07 +00:00
tsutsui 51d748392f Switch to sys/dev/md_root.c. Tested on an INSTALL kernel. 2000-10-29 01:39:19 +00:00
tsubai 784da8d158 Use "doze" power-saving mode on 750 and 7400. 2000-10-28 21:57:43 +00:00
garbled b7c07855f6 make -> ${MAKE} 2000-10-28 15:41:25 +00:00
tsubai 251bc81879 Change ofwboot entry address to 0x600000. 2000-10-24 12:18:33 +00:00
tsubai 756f954ef1 Fix Conner CFP1080 problem (pr 7612) and add debugging messages. 2000-10-23 21:04:27 +00:00
matt b30ca78c9b Packets have the FCS append so set M_HASFCS. 2000-10-18 05:43:13 +00:00
tsubai 03251ccf07 Pass correct packet length to the upper layer. 2000-10-17 15:57:51 +00:00
tsubai 5d6a22ffea Use VNODE_OP_NOINLINE. 2000-10-14 19:14:06 +00:00
wrstuden 07a9408ae6 Move ofwboot to 600000 hex. Should make loading better (less likely to
run into OF internals).
2000-10-13 00:19:30 +00:00
abs 2824f4906d Ensure all INSTALL* kernels have two ptys, and a note explaining why:
pseudo-device  pty             2       # pseudo-terminals (Sysinst needs two)
(Some installers may not be using sysinst, in which case this just reduces
the number of ptys from 16 that are not used to 2 that are not used)
For i386 conf files, no change other than comments.
2000-10-02 18:43:34 +00:00
thorpej 7ca3fb9ef0 Move the check for "promisc + unicast + not for us" into ether_input(),
and change Ethernet drivers to always pass all received frames to
ether_input() (with a few exceptions, which are documented in the
code).
2000-10-01 23:32:39 +00:00
tsubai 442b9b5df2 Get the correct OF node of the screen because PowerBooks have two screens
in one PCI device.
2000-10-01 19:08:30 +00:00
tsutsui cdb3d9df80 Add sip* at pci. 2000-09-29 14:45:59 +00:00
tsubai e256cfb9ec Fix a bug that prevents the kernel from detecting the root device. 2000-09-29 10:14:20 +00:00
abs 3ef92f0bdb Use "options<SPACE><TAB>" not "options<TAB>" - noted by simonb.
Move VNODE_OP_NOINLINE and NFS_V2_ONLY into '# Filesystem options' section.
Consistently label '# Filesystem options' and '#File systems' sections.
2000-09-25 13:54:50 +00:00
abs ccf1c822a6 Ensure all INSTALL config files have (at least) COPTS="-Os", cincluding bebox
based on it working already for macppc.
Also add commented out:
#options        VNODE_OP_NOINLINE       # Don't inline vnode op calls
#options        NFS_V2_ONLY             # Exclude NFS3 and NQNFS code
as suggestions for additional savings
2000-09-25 11:46:37 +00:00
tsubai 5836de14e4 Fix a bug introduced in BOOT_FLAG change. 2000-09-24 16:16:37 +00:00
jdolecek b1f94e26ab don't specify number of ptys if >= 16 (current default initial number)
pty comments: normalize and g/c what is no longer relevant
2000-09-24 15:59:26 +00:00
jdolecek 49c105ffdb add new macro BOOT_FLAG() (defined in <sys/boot_flag.h>) - this
maps standard boot flags to corresponding RB_* values
use BOOT_FLAG() in port's MD code as appropriate

as discussed on tech-kern, add new boot flags -v, -q for booting
verbosely or quietly, and corresponding AB_VERBOSE/AB_QUIET
boot flags; also add FreeBSD-compatible bootverbose macro and
NetBSD-specific bootquiet macro

for hpcmips, use new bootverbose instead of it's own hpcmips_verbose

Tested on i386, and to limited extend (compile of affected files) also for
mvme68k, hp300, luna68k, sun3.
2000-09-24 12:32:31 +00:00
augustss e9a2baa2ff Grab a major # for USB scanners. 2000-09-23 04:30:08 +00:00
thorpej 72a24b4eae Add an align argument to uvm_map() and some callers of that
routine.  Works similarly fto pmap_prefer(), but allows callers
to specify a minimum power-of-two alignment of the region.
How we ever got along without this for so long is beyond me.
2000-09-13 15:00:15 +00:00
tsubai a0cf020afb Configure L2 cache if it is not enabled by the firmware. 2000-09-12 14:47:38 +00:00
tsubai dfcd3bca08 On G3 and G4, display short message if L2 cache is not enabled. 2000-09-05 15:29:28 +00:00
tsubai 2e72bb2b72 Add fr key layout. (From Manuel Bouyer, modified by me) 2000-09-01 16:00:38 +00:00
tsubai f671e87235 Add an argument to need_resched macro. 2000-08-28 11:52:59 +00:00
tsubai 077c9ca312 Enable hash filter mode. 2000-08-28 11:27:44 +00:00
tsubai 308d7eb3e4 Add (experimental) awacs audio driver. Output (play) only. 2000-08-25 12:44:42 +00:00
wrstuden 4678e2bb87 Correctly spell DRIVER. Noted by Tsubai. :-) 2000-08-23 19:15:25 +00:00
tsubai 5558e41363 New PowerBook (firewire) seems to use edge-triggered interrupt.
XXX cannot hot-plug yet
2000-08-23 12:18:17 +00:00
thorpej 58e7a6954b Add spllock(). See spl(9) for details. 2000-08-22 19:46:26 +00:00
tsubai 365ec2aa42 Scheduler locking changes. 2000-08-21 18:46:03 +00:00
thorpej 23a7f255d4 Make sure we provide splsched() as described in spl(9). 2000-08-21 02:06:31 +00:00
tsubai 31ec486214 Correct asm parameter to avoid gcc uninitialized warning. 2000-08-20 07:48:45 +00:00
tsubai 1267826d5d Increase stack size. 2000-08-20 07:04:59 +00:00
tsubai 58aaeaae7f In decr_intr(), update lasttb only when clock interrupt is not masked. 2000-08-20 07:02:41 +00:00
tsubai d832bf8e95 Add "type" argument to openpic_enable_irq(). 2000-08-20 06:56:42 +00:00
wrstuden 17c0d4d853 Add some new partition types, and flags. Have the Apple Partition Map
code ignore the new partition types, and look for the new "USR" partition
flag.

From SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp> with slight changes by me.

Closes PR port-macppc/10046
2000-08-18 22:40:28 +00:00
itojun 85dda25e94 move "options PULLDOWN_TEST" into sys/sys/mbuf.h (in #ifdef _KERNEL),
as it is no wthe default setting for everyone.

the reason we still use the name "PULLDOWN_TEST" while it is now default:
kame code sharing.
2000-08-13 01:31:15 +00:00
tsubai eef346a5ec Don't try to change subordinate bus number if pchb != grackle (for now). 2000-08-02 09:02:46 +00:00
tsubai 43b5c0039c Enable rnd. 2000-08-01 08:23:37 +00:00
tsubai 5f1e746912 Remove duplicated entry 22 in chrtoblk table.
Pointed out by Greg Kritsch on port-macppc mailing list.
2000-07-30 07:17:27 +00:00
tsubai 46ab3e89fb Use libsa alloc(). 2000-07-25 06:26:18 +00:00
tsubai dd54c272e5 Add ofwboot.{mrg,xcf} to CLEANFILES. 2000-07-25 06:22:05 +00:00
tsubai 8dc7633036 Make this compile again. 2000-07-25 06:18:23 +00:00
tsubai 13f68a994d Enable console in initppc(). 2000-07-25 05:44:27 +00:00
tsubai 7cf89e2181 Allocate temporary buffer to copy OF page table dynamically
rather than static variable.
2000-07-25 05:41:30 +00:00
wrstuden e651decb55 We don't need to include the # VIA VT82C686A integrated AC'97 Audio as it
is integrated into the Southbridge on a number of i386 motherboards - we
won't be seeing that in a mac. :-)
2000-07-25 02:33:30 +00:00
wrstuden a6d6bce652 Add a bunch of pci audio drivers. Most are commented out as they haven't
been tested on macppc. But I tested the eap for playback and it's fine.
2000-07-25 01:39:22 +00:00
tsubai a943e81da4 Delete kernfs. 2000-07-24 10:04:10 +00:00
jdolecek 20933708ec switch to sys/conf/newvers_stand.sh for generation of version file
slighly adjust the Makefile WRT vers.c and SRCS & CLEANFILES
2000-07-21 21:42:25 +00:00
wrstuden 0eb897823b There is no music device - g.c. its cdev_decl. 2000-07-17 16:57:19 +00:00
tsubai 500013914e Make timebase frequency value adjustable. 2000-07-14 05:53:31 +00:00
tsubai fba6fe287b * Redo previous; set PIR on 604 and 7400 only.
* printf clean-up.
2000-07-08 07:23:17 +00:00
tsubai 446c144ae3 Set PIR only if MULTIPROCESSOR is defined. 2000-07-07 13:22:06 +00:00
tsubai 059d5818cf include "opt_multiprocessor.h". 2000-07-06 23:27:29 +00:00
tsubai 9ad1103d98 Make it compile with "options MULTIPROCESSOR". 2000-07-06 22:56:22 +00:00
dmcmahill db5c144019 make sure ofwboot.xcf gets installed 2000-07-06 19:42:55 +00:00
tsubai 73db3f2b79 First attempt to spin up the secondary processor on 180MP and 200MP.
XXX Need more work.
2000-07-05 16:02:38 +00:00
tsubai b513be4daa s/#include/include/ 2000-07-04 22:25:06 +00:00
wrstuden 168faa04b6 Oops.. Forgot to grow chrtoblktb[]. Pointed out by tsubai. 2000-07-04 05:48:36 +00:00
cgd a5c13f9ad4 Kwality control:
* put #includes of opt headers and headers to get protos used by
  net/netisr_dispatch.h in net/netisr.h (if !defined(_LOCORE)) (rather than
  in netisr_dispatch.h itself, and potentially nowhere, respectively).
* require netisr.h to be included before netisr_dispatch.h.
* minor additional cleanup of both netisr.h and netisr_dispatch.h.
* clean up uses to remove now-unnecessary header file inclusions, and
  local prototypes of the fns.
* convert netisr dispatch implementations which didn't use
  netisr_dispatch.h (pc532) to use it.
2000-07-02 04:40:33 +00:00
wrstuden cbb53d3ebd Add audio, midi, and sequencer devices. Copied from ports alpha and i386.
Note: this does not mean internal audio's working. :-( It means I'm trying
to get my eap card to work.
2000-07-01 21:25:11 +00:00
itojun d738f90fd7 raise MSIZE from 128 to 256.
- for sizeof(void *) == 8 arch, this is mandatory.  MHLEN is too small
  already (less than 80) and there are chances for unwanted packet loss due
  to m_pullup restriction.
- for other cases, the change should avoid allocating clusters in most cases
  (even when you have IPv4 IPsec tunnel, or IPv6 with moderate amount of
  extension header)

portmasters: if your arch chokes with the change (high memory usage or
whatever), please backout the change for your arch.
2000-06-30 17:55:11 +00:00
itojun d76ae83df8 add PULLDOWN_TEST for all the platforms.
XXX should be moved to somewhere else when stabilized
2000-06-30 17:10:15 +00:00
mrg 28d898391b remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:10:45 +00:00
kleink e695f72a2e Add <machine/int_types.h>, which provides namespace-pure definitions
of exact-width integer types.
2000-06-26 15:42:16 +00:00
mrg 4c698e84f6 <vm/vm_param.h> -> <uvm/uvm_param.h> 2000-06-26 14:58:58 +00:00
mrg 2f159a1bac remove/move more mach vm header files:
<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
2000-06-26 14:20:25 +00:00
simonb 889c658b5b Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes.  Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
2000-06-26 04:55:19 +00:00
fvdl 1ee7d22c0b Remove prefix construction for softdeps. Add SOFTDEP option to GENERIC. 2000-06-22 20:27:49 +00:00
tsubai 1155f3af58 Allow mmap of frame buffer registers. 2000-06-19 19:35:20 +00:00
tsubai ce3ea53415 Remove "options NFS_BOOT_BOOTPARAM" to fit 1.4M floppy.
(still have NFS_BOOT_DHCP)
2000-06-17 21:44:46 +00:00
tsubai 96964a6455 Use ether_crc32_le(). 2000-06-16 14:18:55 +00:00
tsubai 2931ec17b7 Forgot to commit this. 2000-06-15 19:09:15 +00:00
tsubai 736d4273e2 Implement multicast address filter. (Stolen from hme.c) 2000-06-15 18:36:52 +00:00
veego 223d7455c7 Remove the obsolete config fragments for kernel crypto, because the IPsec
crypto code is now in the kernel source tree.
2000-06-14 22:02:13 +00:00
matt 232461e6be Add TLP_MATCH_*. Remove gm*. 2000-06-11 23:29:29 +00:00
tsubai 1bfa0fc6b6 Add cpu_counter(). 2000-06-11 16:32:42 +00:00
tsubai 94db0b8a37 Enable DMA transfer on obio IDE. 2000-06-11 10:56:16 +00:00
tsubai 521233859b Add cy* at pci. 2000-06-09 17:14:06 +00:00
tsubai dd703bc6f8 Add cy. 2000-06-09 17:11:30 +00:00
wrstuden 3d410a6c74 Add commented-out entry for Cyclades-Z pci serial ports. 2000-06-09 16:57:37 +00:00
wrstuden a7bea09941 Add support for Cyclades-Z PCI tty's. 2000-06-09 16:56:51 +00:00
tsubai a29bb9db7b Add all RAM regions to battable.
This should support > 512MB memory.  (untested, though)
2000-06-09 10:54:48 +00:00
tsubai 649f6d3838 Sync with mac68k. 2000-06-08 22:10:45 +00:00
matt d3336b64a1 Squeeze a few more bytes so the INSTALL kernel will fit on a floppy.
Use tlp instead of de.  Add in gm[ac].  Remove slip and Gallant 22x12 font.
Compile ofwboot.elf -Os.
2000-06-08 17:35:47 +00:00
tsubai 4c15219d3b * Access hardware directly in zscn* instead of calling OF.
* Clean up.
2000-06-07 17:37:07 +00:00
nisimura 4371d91433 Have MI ncr53c9x_attach() the 2nd and 3rd arguments for scsipi_adater
and scsipi_device respectively, with size reduction of ncr53c9x_softc.
Specifying NULL instructs the driver to use default adapter and default
device codes. Every target port has ncr53c9x_attach(sc, NULL, NULL) anyway.
2000-06-05 07:59:50 +00:00
cgd cffb580806 Implement the more flexiable `evcnt' interface as discussed (briefly) on
tech-kern and now documented in evcnt(9).
2000-06-04 19:14:14 +00:00
matt dca520b4a6 Add fixcoff so an obj dir can be created 2000-06-01 18:33:43 +00:00
matt c9aff328d9 Make booted_device global (and booted_parition for consitency).
Eliminate it from header files and other extern definitions.
2000-06-01 00:49:49 +00:00
cgd 47449a63d2 kill __P in these files. (I had to look at them anyway with an eye for
adding some protos... and adding them with __P seems wrong, but mixing
__P and not __P in the same file seems wrong too, so...)
2000-06-01 00:04:50 +00:00
thorpej 8c2d00aaeb Add a comment about needing to initialize p_cpu when multiple
processors are supported.
2000-05-31 05:09:14 +00:00
thorpej a7d0570e67 First sweep at scheduler state cleanup. Collect MI scheduler
state into global and per-CPU scheduler state:

	- Global state: sched_qs (run queues), sched_whichqs (bitmap
	  of non-empty run queues), sched_slpque (sleep queues).
	  NOTE: These may collectively move into a struct schedstate
	  at some point in the future.

	- Per-CPU state, struct schedstate_percpu: spc_runtime
	  (time process on this CPU started running), spc_flags
	  (replaces struct proc's p_schedflags), and
	  spc_curpriority (usrpri of processes on this CPU).

	- Every platform must now supply a struct cpu_info and
	  a curcpu() macro.  Simplify existing cpu_info declarations
	  where appropriate.

	- All references to per-CPU scheduler state now made through
	  curcpu().  NOTE: this will likely be adjusted in the future
	  after further changes to struct proc are made.

Tested on i386 and Alpha.  Changes are mostly mechanical, but apologies
in advance if it doesn't compile on a particular platform.
2000-05-26 21:19:19 +00:00
thorpej 8964c35eca Introduce a new process state distinct from SRUN called SONPROC
which indicates that the process is actually running on a
processor.  Test against SONPROC as appropriate rather than
combinations of SRUN and curproc.  Update all context switch code
to properly set SONPROC when the process becomes the current
process on the CPU.
2000-05-26 00:36:42 +00:00
tsutsui 56dfe42d8d Add epic* at pci. 2000-05-26 00:22:06 +00:00
tsutsui 4a42668b31 Add fxp* at pci. 2000-05-25 09:09:28 +00:00
tsubai 06d1fe06b3 Remove __BROKEN_DK_ESTABLISH. 2000-05-23 13:27:16 +00:00
tsubai f12221a5f5 Modify DMA access timings. 2000-05-23 13:20:58 +00:00
thorpej 071aed40ac A foolish consistency; most parts of the kernel use bp->b_data, so
change these from bp->b_un.b_addr to bp->b_data, as well.  This also
allows us more flexibility to experiment with other data buffer types
hung off of struct buf.
2000-05-19 18:54:22 +00:00
thorpej 463931b3ba Nuke dk_establish() from orbit except from those ports which still use
it to determine the boot device: mvme68k, pc532, macppc, ofppc.  Those
platforms should be changed to use device_register().  In the mean time,
those ports defined __BROKEN_DK_ESTABLISH.
2000-05-16 05:45:44 +00:00
hubertf 9f48bba3ae Add "install" target, so "make install" after building the kernel
does something useful.  The target can be redefined by putting a
install-kernel-${MACHINE_NAME} target that fits your needs into
/etc/mk.conf.
2000-05-09 00:56:21 +00:00
thorpej 6a33c86623 HAVE_GCC28 -> HAVE_EGCS, and make it match gcc 2.9 as well. Also,
make the use of -Wno-uninitialized explicit, don't rely on a compiler
hack to do it for us.
2000-05-09 00:32:19 +00:00
augustss 3a6e3a4670 Add (sometimes commented out) MIIVERBOSE option. 2000-05-08 13:49:44 +00:00
mycroft 26d692df9e Use DHCP, not BOOTP. At least with dhcpd, the root path gets dropped due to
lack of space in the reply when using BOOTP.
2000-04-29 22:18:31 +00:00
thorpej f51470a514 Require that each each MACHINE/MACHINE_ARCH supply a lock.h. This file
contains the values __SIMPLELOCK_LOCKED and __SIMPLELOCK_UNLOCKED, which
replace the old SIMPLELOCK_LOCKED and SIMPLELOCK_UNLOCKED.  These files
are also required to supply inline functions __cpu_simple_lock(),
__cpu_simple_lock_try(), and __cpu_simple_unlock() if locking is to be
supported on that platform (i.e. if MULTIPROCESSOR is defined in the
_KERNEL case).  Change these functions to take an int * (&alp->lock_data)
rather than the struct simplelock * itself.

These changes make it possible for userland to use the locking primitives
by including <machine/lock.h>.
2000-04-29 03:31:45 +00:00
tsubai 151b83e2e1 Add ex* at pci and rtk* at pci. 2000-04-25 16:05:06 +00:00
haya 784977f319 Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.
2000-04-19 08:44:31 +00:00
itojun 3be41bae18 add stf pseudo interface (commented out due to possible security risks) 2000-04-19 06:50:27 +00:00
tsutsui 7865e586d3 Typo in comments. (Zilog 8350 -> 8530) 2000-04-14 13:29:57 +00:00
tsubai dd83a9aa4f Make this compile. 2000-04-14 10:22:06 +00:00
tsubai 2ca39ceddf Make this compile again. 2000-04-07 14:35:58 +00:00
augustss 9a31a8c77f Add atapibus* at umass? 2000-04-03 00:03:28 +00:00
tsubai b18b370715 Make sure color rgb:0/0/0 is black. 2000-04-02 12:53:05 +00:00
tsubai 7df13bfec7 Enable wdc1 (needed on StarMax). 2000-04-02 12:36:38 +00:00
tsubai e352cada4b Make this compile again. 2000-04-02 12:03:04 +00:00
kleink 230876cf26 Merge parts of chs-ubc2 into the trunk:
* Remove the casts to vaddr_t from the round_page() and trunc_page() macros to
  make them type-generic, which is necessary i.e. to operate on file offsets
  without truncating them.
* In due course, cast pointer arguments to these macros to an appropriate
  integral type (paddr_t, vaddr_t).

Originally done by Chuck Silvers, updated by myself.
2000-03-26 20:42:21 +00:00
tsubai ffdaae73e0 Enable gmac ethernet. 2000-03-26 09:16:01 +00:00
tsubai f8a898cb1d Use ring buffer on tx side, too. 2000-03-26 09:15:17 +00:00
tsubai 5684221bbd esp declaration was moved to conf/files. 2000-03-26 08:34:20 +00:00
tsubai d806694e39 Fix typo. 2000-03-26 08:29:12 +00:00
ws b7570cae85 Update several ports to at least work again without IPKDB
after the update of that.
Sorry for breaking this with my last changes :-(.
Fixes PR#9671 by Lennart Augustsson.
2000-03-24 17:05:30 +00:00
thorpej 7b918b4088 New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 06:40:33 +00:00
cgd 7c35662066 add commented out option PCI_CONFIG_DUMP whever there's a PCIVERBOSE. 2000-03-22 00:58:16 +00:00
tron e86957458a Install "machineendian_machdep.h". 2000-03-17 22:36:31 +00:00
mycroft 9e21b6555a In the `MY THAT'S GROSS' department...
Eliminate the recursive include of machine/endian.h from sys/endian.h.
2000-03-17 00:09:18 +00:00
oster 1bad2e1909 Add the RAIDframe device major to the machine-dependent config files
so that the right entries get added to dev_name2blk[].  Needed for / on RAID.
(Whoops!  I missed checking these in when adding the RAID_AUTOCONFIG stuff.)
2000-03-14 15:56:51 +00:00
soren 95054da1a1 Fix doubled 'the's in comments. 2000-03-13 23:52:25 +00:00
thorpej 0bcbafe0ee Correct the number of arguments to wsdisplay_set_cons_kbd(), for the
changes I made for cnbell().
2000-03-09 18:59:27 +00:00
thorpej a183d34f04 - Implement cnbell() -- ring the console bell. The cn_bell entrypoint
is optional.
- Add cn_bell to statically allocated consdevs as appropriate.
2000-03-06 21:36:05 +00:00
tsubai 30370336dc Use ring buffer on tx side, too. 2000-03-04 11:17:00 +00:00
simonb 4eb55e447c Do the "<space><tab>" thing with the RAID_AUTOCONFIG option. 2000-02-29 06:32:20 +00:00
tsubai 0468fe97e4 Don't use hardcoded speed value when this is a console. Instead, read
from zs.  (because OF-3.x uses 57600 bps)
2000-02-27 20:31:57 +00:00
tsubai f101e8315f Add gmac. (commented out) 2000-02-27 18:06:43 +00:00
tsubai 6f4bb03178 Initial version of gmac ethernet driver.
XXX doesn't work well yet.
2000-02-27 18:00:55 +00:00
oster d9c47013b2 Defopt 'RAID_AUTOCONFIG'. Adding 'options RAID_AUTOCONFIG' turns on
the component auto-detection and auto-configuration of RAID sets.
Also, add "#options RAID_AUTOCONFIG" to the GENERIC config files.
2000-02-26 17:35:33 +00:00
erh 8f03b9a04a Define the DONETISR macro and use netisr_dispatch.h. This is to cut down on code duplication and to standardize the available NETISRs across all ports. 2000-02-21 20:38:46 +00:00
tsubai 0b8b55beaf Add uninorth. Now iMac DV and Power Macintosh G4 should run NetBSD. 2000-02-14 14:57:52 +00:00
tsubai 2750c23cdd Add minimal support of openpic. 2000-02-14 12:45:52 +00:00
tsubai 2aafd71ec7 Reduce NKMEMPAGES_MAX_DEFAULT. 2000-02-13 17:01:47 +00:00
thorpej dded044fc2 Update for the NKMEMPAGES changes. 2000-02-11 19:25:12 +00:00
tsubai d696094217 Change ICU_LEN to 64. 2000-02-11 13:15:43 +00:00
tsubai 1dc2d9d399 Don't display "NetBSD disklabel". This message appears too many times
if more than two or three disks exist.
2000-02-10 12:33:45 +00:00
tsubai 502ad73200 Add wsfont options. 2000-02-09 13:10:15 +00:00
tsubai dcb9f03bd3 Use dev/rasops instead of dev/rcons. 2000-02-09 13:08:35 +00:00
shin 7f5a7c00ac fix include file.
<netinet6/ip6.h>	->	<netinet/ip6.h>
2000-02-09 05:48:26 +00:00
tsubai a62753d0b7 Make OF-2.x can also find root device. 2000-02-08 20:02:13 +00:00
tsubai b933f19ea2 Flush cache before rebooting to preserve msgbuf. 2000-02-08 12:57:11 +00:00
tsubai d97ae29629 Enter power saving mode in idle loop on 603, 750, and 7400.
603 uses doze mode, 750 and 7400 use nap mode.
2000-02-08 12:49:06 +00:00
tsubai 9cba8a13d1 Use -Os -mmultiple to reduce size.
Add cbb and pcmcia/cardbus devices.
Nuke BUFPAGES=800 kludge.
2000-02-08 12:13:50 +00:00
tsubai c7d216c2da Add missing locators.
Add tlp at cardbus.
2000-02-08 12:10:56 +00:00
tsubai 45fe0e4077 Fix typo. 2000-02-08 08:08:43 +00:00
tsubai b9ff560bcc Don't print "... not configured" message for non real devices
like escc-legacy.
2000-02-07 20:30:05 +00:00
tsubai cf532aa7eb Move CFLAGS and CPPFLAGS to {bootxx,ofwboot}/Makefile to compile installboot
without -D_STANDALONE.
2000-02-07 16:26:59 +00:00
tsubai c343256107 Make the new findroot code work on PowerMac 9600 (OF-1.0.5). 2000-02-04 18:29:15 +00:00
tsubai 6bfa70b9c6 Remove an unused variable. 2000-02-04 07:48:11 +00:00
tsubai a09eb087b6 Treat "chaos" like a bandit. 2000-02-04 03:40:42 +00:00
tsubai e29a886cd6 * Split bandit and grackle.
* Add UniNorth support.

Now pcibus is attached like:
  bandit0 at mainbus0
  pci0 at bandit0 bus 0
  ...
2000-02-03 19:27:43 +00:00
thorpej eed75dbc26 Don't dry to diving MIIF_NOISOLATE in the PHY drivers. Instead, pass
flags down from the parent to child vi mii_attach().
2000-02-02 17:09:38 +00:00
danw 9cf3b29a57 Make the device_register code work on machines with multiple PCI bridges
with the same bus number (like the new G4s). Also, don't hardcode the
size of the pci_bridges array.
2000-02-02 16:41:56 +00:00
thorpej 84dc99fdea Bring some order to the chaos which was the MII code function naming
"conventions".
2000-02-02 08:05:26 +00:00
tsutsui 11c8f56d48 Revert STRIPPROG -> STRIP 2000-02-01 05:25:24 +00:00
danw 33051e5117 Use device_register to find the boot device more reliably. Should now work
on anything it's possible to boot from that we have a driver for.
2000-02-01 04:04:17 +00:00
tsubai 22a3504708 Make this work on the G4 too. 2000-01-27 17:39:20 +00:00
tsubai ecd94f5ee0 s/NUMODEM/NUCOM/ 2000-01-27 15:41:19 +00:00
drochner 8eb798e603 define a "BUS_SPACE_MAP_PREFETCHABLE" flag which basically means that
device accesses are idempotent (but should not be cached by the CPU)
2000-01-25 22:13:17 +00:00
tsubai 14bc6c9eb8 Add PHYs. 2000-01-25 14:43:49 +00:00
tsubai 6b26a49ee9 Use MII device layer.
XXX still 100Mbps receive side is very slow...
2000-01-25 14:38:39 +00:00
augustss 85fcd0b58d Update for the ucom(4) addition. 2000-01-25 08:31:56 +00:00
tsubai 05ceaaaad5 Add UniNorth. 2000-01-25 07:19:11 +00:00
tron 04eb110431 Add "dependall" target for comfort. 2000-01-24 20:36:06 +00:00
hubertf 7e5ff67457 Add commented out "ident"-command 2000-01-23 23:46:04 +00:00
mycroft 7b49d242ce Clean up the machine symlink stuff ever so slightly. Needs to be
standardized between files.
2000-01-23 17:04:03 +00:00
tsubai 969c226b5b Match "keylargo". 2000-01-23 10:01:44 +00:00
tsubai 2d0426d8d2 Recognize MPC7400. 2000-01-21 18:49:52 +00:00
tsubai 16ea7fbbbb Match "keylargo-ata". 2000-01-21 18:45:14 +00:00
wrstuden 87e1b0f9b7 Add overlay to kernel configs. 2000-01-20 19:12:28 +00:00
thorpej a0397a2573 Move callout initialization to a single location; no need to duplicate
that code all over the place.
2000-01-19 20:05:30 +00:00