Commit Graph

672 Commits

Author SHA1 Message Date
matt
25b977c685 print out irq on unconf devices. 2001-02-27 03:47:02 +00:00
wiz
0a4ef18ab8 add handling for the input channel selection/volume (no recording yet,
just the mixer interface)
2001-02-26 21:07:51 +00:00
matt
af212d3fda Use common switch / setfault / trampoline code. (except amigappc because
it doesn't use trap_subr.S either).
2001-02-25 20:34:24 +00:00
matt
e7811ad9b6 Move cpu_sysct and dump{mag,lo,siz} & cpu_dumpconf to powerpc_machdep.c.
dumpsys is still port-specific for now.  XXX dumpsys is still a stub
on all powerpc ports.
2001-02-24 22:39:16 +00:00
matt
45f666cb9d Remove setregs since it now lives in powerpc/powerpc/powerpc_machdep.c 2001-02-24 04:35:33 +00:00
matt
e7db94d39f if we panic to a bad/illegal irq, at include the invalid irq value in
the panic message.
2001-02-23 23:07:15 +00:00
cgd
8a986b2e96 convert to use getprogname() 2001-02-19 22:48:57 +00:00
matt
ab4ef9dcf6 Add devsw entries for "ld" (logical disks). 2001-02-18 04:55:37 +00:00
briggs
2f624f78d6 Share a single pio.h instead of having 4 nearly-identical copies. 2001-02-05 19:33:54 +00:00
briggs
e96035c57c Tsubai has convinced me that openpic_init() should remain machine-dependant
as the details might differ between archs, and passing the various options
leads to some clutter.
2001-02-05 19:22:23 +00:00
briggs
863805b4d8 Correct previous. Call openpic_init() correctly. 2001-02-04 17:46:33 +00:00
briggs
e560b86e0b Adapt to new openpic_init() parameters. 2001-02-04 17:36:08 +00:00
briggs
0ce1220246 For now, all macppc will get OpenPIC 2001-02-04 17:33:42 +00:00
briggs
9150a401ba No longer needed 2001-02-02 06:12:34 +00:00
briggs
044caccfff Split OpenPIC support into powerpc so ports only need minimal custom
configuration.  openpic_init() now takes a single argument that is the
base of the OpenPIC register space.
2001-02-02 06:11:52 +00:00
tsubai
d0a3070c40 Generate key press event and key release event when capslock is pressed.
Now capslock key works correctly on X11.
2001-01-25 14:08:55 +00:00
wiz
ec35b8d060 Make output selection work -- you can use lineout now instead of the
internal loudspeakers.
2001-01-25 13:39:22 +00:00
jmc
c97a56563e Turn on NFS_V2_ONLY as the kernel has gotten too big for the ramdisk otherwise. 2001-01-24 06:10:09 +00:00
manu
3c98a504b9 Added previously created files for powerpc Linux compatibility to the kernel
config system
2001-01-19 01:51:16 +00:00
tv
e58532a4bf No-op commit to force update to a non-"-kk" revision. 2001-01-18 17:47:58 +00:00
fvdl
c7f1462f3e Add machdep file for procfs. Currently only used for linux-style
/proc/cpuinfo (only active when procfs is mounted with -o linux).
For ports other than the i386 this currently produces an empty
string.
2001-01-17 00:07:18 +00:00
augustss
46130fb7e5 Add uyap. 2001-01-16 03:38:22 +00:00
thorpej
d74e432ed3 Make softclock a generic soft interrupt of the API is available,
adding the requisite void * argument to softclock().
2001-01-15 20:19:50 +00:00
martin
a261276f16 The i4b raw b-channel devices actually do have an ioctl routine,
so better add this to the cdevsw entry.
Noted by Bruno Achauer.
2001-01-14 11:17:28 +00:00
thorpej
d85a75f583 Make sure everybody has an splvm() and equate it with splimp() (splimp()
is the historical name for this interrupt level, and the historical name
is going to go away in the near future).
2001-01-14 02:00:37 +00:00
martin
5d0c67c603 When adding isdn devices I forgot to check chrtoblktbl.
Fix this know for the affected archs.
2001-01-09 20:51:04 +00:00
tsubai
3efddcd88e Configure PCI_INTERRUPT_LINE on the other side of the pci-bridge on OF3 too. 2001-01-09 08:04:53 +00:00
martin
f53c899649 Add isdn devices to all archs that seem to support at least one of the
necessary busses. Sync comments with reality for archs that already had
the devices.
2001-01-08 21:46:33 +00:00
nathanw
5af86c93fb The "#auvia" line was removed from this config; remove the "#audio* at
auvia?" line as well.
2001-01-08 17:35:29 +00:00
tsubai
0374c83129 Fix lost-software-interrupt bug. 2001-01-04 15:01:25 +00:00
tsubai
ad6af0a61b Make lasttb and tickspending per-CPU. 2001-01-01 05:28:54 +00:00
tsubai
b3982b810e Allocate intstk and spillstk for cpu0. 2001-01-01 05:23:17 +00:00
tsubai
61096678a3 Forgot to commit this... 2001-01-01 05:17:15 +00:00
tsubai
6c4981f735 Switch to the idle stack before releasing the sched_lock (rev 1.31 was
wrong).
2001-01-01 05:16:12 +00:00
tsubai
9a7bf182cd MP support in external interrupt handler. 2001-01-01 05:01:11 +00:00
tsubai
26914e2bcf Make want_resched and astpending per-CPU.
Add some per-CPU variables to cpu_info.
2001-01-01 04:33:39 +00:00
sommerfeld
851de295eb Change pci_intr_map to get interrupt source information from a "struct
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".

This both simplifies the driver api, and allows for alternate PCI
interrupt mapping schemes, such as one using the tables described in
the Intel Multiprocessor Spec which describe interrupt wirings for
devices behind pci-pci bridges based on the device's location rather
the bridge's location.

Tested on alpha and i386; welcome to 1.5Q
2000-12-28 22:59:06 +00:00
tsubai
3102ae2c25 Work around of "trap type 700 at ff8099b8".
It seems to work for me but I'm not sure...
2000-12-25 02:15:52 +00:00
wiz
7ae9423d3b Honour SCSI command timeout -- fixes problems with SCSI commands that take
longer than 10s and were falling into a timeout, e.g. fixating.
2000-12-24 02:42:04 +00:00
tsubai
8ba01dd213 Fix bus_space_write_multi_N.
(From der Mouse <mouse@Rodents.Montreal.QC.CA>)
2000-12-21 23:17:32 +00:00
tsutsui
6018d57cfa Add tlp at pci.
"options TLP_MATCH_21?4?" are still commented out.
2000-12-21 13:54:09 +00:00
tsutsui
bddc90bbc3 Add atapibus at pciide. 2000-12-20 12:05:40 +00:00
matt
a0319e43fd Add pciide 2000-12-20 00:12:19 +00:00
bouyer
c71f40d166 Add pseudo-device vlan 2000-12-19 10:42:02 +00:00
tsubai
a255931f5c Remove unnecessary casts. 2000-12-19 03:13:40 +00:00
tsubai
438b1e68e0 Add support for Kensington Turbo Mouse. 2000-12-19 02:59:23 +00:00
tsubai
0f4768af30 Sync with mac68k. 2000-12-19 02:50:11 +00:00
tsubai
9812c28653 Clean up unused variables. 2000-12-17 23:24:25 +00:00
tsubai
600a78f5a5 Move variable tickspending to clock.c; it's used in only clock.c. 2000-12-17 23:16:22 +00:00
tsubai
00940e9045 Switch to the idle stack in the idle loop. 2000-12-17 22:57:35 +00:00
jdolecek
cacec11253 delete obsolete comment 2000-12-17 15:52:39 +00:00
mycroft
3418812d3c Partial syscall cleanup, as per other ports. 2000-12-14 10:33:42 +00:00
mjacob
af2807f9f7 Finally fix this driver to be sensible about the ENDIAN dance. It's not
quite simply a question of the Qlogic being little endian and having
to have stuff swapped on big endian machines- it also has to do with the
fact that the SBus and PCI DMA layouts are wierd with respect to this.

At any rate, now finally fixed- works on Mac G4, tested it on a SS10
for sparc, checked on alpha to see if I've broken anything, and as
soon as I get another spare afternoon I'll finally install a sparc64
version which should just work (as it'll be like the Mac).
2000-12-09 08:06:31 +00:00
mycroft
73e35a46eb Increase all of the limits. 2000-12-08 21:51:35 +00:00
tsubai
1b4a9cb335 Move INTSTK and SPILLSTK definitions to locore.[Ss] to allow allocation of
them in early startup.
2000-12-04 17:05:50 +00:00
kei
4389b3cbed fix a typo in the printf message. 2000-12-01 18:09:01 +00:00
kei
b134a87a76 fix a typo in comment. remove a whitespace at the end of line. 2000-12-01 18:07:11 +00:00
tsubai
e4bfefe7bd Make spl functions no-inline. This saves size and even it runs faster on
some systems.
2000-11-29 17:55:52 +00:00
tsubai
0562490a63 Change base address to 0x800000. 2000-11-27 14:41:47 +00:00
tsubai
e5c94432d1 Reduce PAGER_MAP_SIZE to 4MB. 2000-11-27 11:37:33 +00:00
soren
66864e1f05 Removed increased BUFCACHE/BUFPAGES. 2000-11-27 08:55:41 +00:00
tsubai
2fb7179aaf Add KERNEL_LOCK (et al.) to run MULTIPROCESSOR kernel on a single cpu system. 2000-11-25 15:49:43 +00:00
chs
c62d17a551 rationalize the use of b_flags for geteblk() buffers.
rather than assigning to the whole field, set or clear individual flags,
which implies that the B_BUSY and B_INVAL flags will remain set.
this allows us to make the assertion in brelse() that B_BUSY is set,
which is the purpose of all this.
2000-11-20 08:24:08 +00:00
matt
9dd26cf7c4 It's hfs.c, not hfs. Add -I${.CURDIR} for objdirs. XXX hfs.c should
be integrated into libsa.
2000-11-16 07:36:04 +00:00
thorpej
d96bb89daf Use <powerpc/powerpc/trap_subr.S> 2000-11-16 05:34:03 +00:00
thorpej
b84f740be0 Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach(). 2000-11-15 01:02:11 +00:00
matt
dbe8de94a8 back out my change powerpc/conf/files.ofw. Enable the inclusion of
dev/ofw/files.ofw on macppc.  Add openfirm to ofppc/conf.c
2000-11-15 00:39:31 +00:00
matt
8ba706bdfd Add rnd & openfirm to POWERMAC
Add openfirm and commmented-out firewire stuff to GENERIC
2000-11-14 22:33:24 +00:00
matt
ca735c9a04 Add initial support dual-CPU G4. At least finds 2nd CPU. 2000-11-14 21:55:25 +00:00
matt
6e88c0d0d6 Add a openfirm entry to conf.c 2000-11-14 21:46:09 +00:00
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