Commit Graph

182 Commits

Author SHA1 Message Date
tsubai
b736ff678e Use machine/bat.h rather than powerpc/mpc6xx/bat.h. 2001-06-10 15:32:57 +00:00
tsubai
8b0b4ecd3f Forgot to commit this; s/offb/ofb/. 2001-06-10 13:56:13 +00:00
tsubai
4911bdc582 Use ofb_softc again. 2001-06-10 11:38:21 +00:00
tsubai
27c2892f13 Enable color! call in ofb_putcmap again.
Matt, please don't remove codes silently without confirmation.
(At least, leave a log message!)
2001-06-10 10:34:27 +00:00
matt
d2f0c68d47 Make macppc compile by default with -Wall -Wmissing-prototype in addition
to its currently enabled warnings.  For the lack of a better place, most
global function prototype wound up in <machine/autoconf.h> unless there
was a better place for them.  ofb_* structs renamed to offb_* to avoid
conflict with ofb_softc in <dev/ofw/openfirm.h>
2001-06-08 00:32:01 +00:00
matt
695e5e7ab5 Changes new pmap, common param.h, vmparam.h, and moved includes. 2001-06-06 17:50:14 +00:00
lukem
d84d2c6c85 add missing #include "opt_kgdb.h" 2001-05-30 15:24:23 +00:00
mrg
67afbd6270 use _KERNEL_OPT 2001-05-30 11:57:16 +00:00
tsubai
9b368d61a4 Add AirMac frontend. 2001-05-16 10:56:42 +00:00
scw
2963ff5c58 Add l_poll' to struct linesw' and provide an xxxpoll() entry point
in each tty driver to indirect through it.

This allows tty line-disciplines to handle poll(2) system calls.
2001-05-02 10:32:08 +00:00
tsubai
75dbde785b Remove spaces at EOL. 2001-04-26 15:27:05 +00:00
bouyer
937a7a3ed9 Pull up the thorpej_scsipi branch to main branch.
This is a completely rewritten scsipi_xfer execution engine, and the
associated changes to HBA drivers. Overview of changes & features:
- All xfers are queued in the mid-layer, rather than doing so in an
  ad-hoc fashion in individual adapter drivers.
- Adapter/channel resource management in the mid-layer, avoids even trying
  to start running an xfer if the adapter/channel doesn't have the resources.
- Better communication between the mid-layer and the adapters.
- Asynchronous event notification mechanism from adapter to mid-layer and
  peripherals.
- Better peripheral queue management: freeze/thaw, sorted requeueing during
  recovery, etc.
- Clean separation of peripherals, adapters, and adapter channels (no more
  scsipi_link).
- Kernel thread for each scsipi_channel makes error recovery much easier
  (no more dealing with interrupt context when recovering from an error).
- Mid-layer support for tagged queueing: commands can have the tag type
  set explicitly, tag IDs are allocated in the mid-layer (thus eliminating
  the need to use buggy tag ID allocation schemes in many adapter drivers).
- support for QUEUE FULL and CHECK CONDITION status in mid-layer; the command
  will be requeued, or a REQUEST SENSE will be sent as appropriate.

Just before the merge syssrc has been tagged with thorpej_scsipi_beforemerge
2001-04-25 17:53:04 +00:00
tsubai
af50ac4b06 Make sure free rx buffers have GMAC_OWN set. 2001-04-24 11:04:11 +00:00
matt
2297e41241 After finishing with the received descriptor, make sure to "eieio" to make
sure the OWN gets back to the gmac in the proper order.  This reduces (and
maybe even fixes) the gm0 out-of-order problem.
2001-04-20 01:18:47 +00:00
tsubai
b672929b7f Support uni-north based models. (XXX not complete) 2001-04-05 19:55:01 +00:00
tsubai
a9e0aabf3f Correct input volume settings. 2001-04-05 14:21:31 +00:00
tsubai
85dc2162fb Correct vBufA offset. (currenly not used) 2001-04-01 15:14:36 +00:00
tsubai
158796407f Adjust timing for pmu99. Internal keyboard of recent PowerBooks
should work now.
2001-04-01 10:40:45 +00:00
tsubai
6386dedebe When attached, do not change brightness if the value is zero. 2001-03-29 17:44:50 +00:00
petrov
1c9cc1b092 use NCR_F_DMASELECT instead of ncr53c9x_dmaselect 2001-03-29 03:30:19 +00:00
tsubai
e679c63257 Accept 8000Hz (XXX). 2001-03-15 19:55:16 +00:00
tsubai
5eab0287fb Use write-through caching for video ram. (Disabled by default, for now.) 2001-03-15 19:48:04 +00:00
tsubai
4382a59d64 Add ulinear16 support.
Return EINVAL if specified rate is not available.
2001-03-15 19:42:42 +00:00
tsubai
9f1a6e07a4 Round up block size to at least NBPG bytes. 2001-03-12 15:41:52 +00:00
tsubai
22961fea9b Enable CD and microphone sound input on paddington based systems. 2001-03-02 20:36:00 +00:00
tsubai
86f265568f Back out previous change. It was harmful on my PowerBook G3. 2001-02-28 18:49:29 +00:00
matt
702b27ec2c Back out change to print irq. 2001-02-27 07:34:15 +00:00
matt
2184b08f72 Enable a fix so that PowerBook(FireWire) keyboards work. This
should also work on iBooks and PowerBook(WallStreet).  And if
we're really lucky, on the new G4 laptops.
2001-02-27 07:33:17 +00:00
matt
c09a88dca3 Be a bit more defensive. 2001-02-27 05:16:33 +00:00
matt
22d63778fc Add a gpio device to handle the gpio device & extint-gpio1
interrupt.  (think ibook/powerbook)
2001-02-27 05:15:03 +00:00
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
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
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
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
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
thorpej
b84f740be0 Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach(). 2000-11-15 01:02:11 +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
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
tsubai
b4b571ccb9 Match "chrp,mesh0". 2000-10-31 16:57:07 +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