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
tsutsui
e61f177ab1
STRIP -> STRIPPROG
2000-01-19 16:29:54 +00:00
danw
83cfcdd15a
Add a special trap handler for EXC_ALI that saves dsisr and dar
2000-01-19 03:28:21 +00:00
msaitoh
0b9af6bdce
check whether tv_usec >= 1000000
2000-01-19 02:52:16 +00:00
thorpej
1de974fc2e
Use PCI products defined in pcidevs.h
2000-01-18 20:05:23 +00:00
thorpej
8201b36ca0
Use b_cylinder as defined in sys/buf.h
2000-01-18 19:43:02 +00:00
augustss
f7145f672e
Add USB-Ethernet adapters.
2000-01-17 17:47:03 +00:00
takemura
ba04c55ed3
Absolute pointing device support.
...
- Wsmouse_input() get new argument 'flag', which indicates whether x/y/z are
relative or absolute.
- Wsmouse get new io controls, WSMOUSEIO_SCALIBCOORDS and
WSMOUSEIO_GCALIBCOORDS.
2000-01-08 02:57:22 +00:00
tsubai
a1da0497d2
Remove two panic conditions.
...
XXX untested.
1999-12-28 13:49:20 +00:00
tsutsui
2b643fda30
Oops, forgot to add scsibus* at ncr?
1999-12-26 13:02:24 +00:00
tsutsui
79a990ffa1
Add ncr* at pci?
1999-12-26 11:39:16 +00:00
kleink
11e6c54cfc
C99: Define a NAN macro in <math.h> which evaulates to a constant expression of
...
a single-precision quiet NaN; only to be defined on platforms that do support
this value.
1999-12-23 10:15:05 +00:00
thorpej
7ec3575193
Update for BAT{U,L}() changes.
1999-12-22 18:57:47 +00:00
thorpej
db1042f3bc
Update some comments.
1999-12-22 18:57:12 +00:00
thorpej
a7f264fd2f
Update for BATU()/BATL() changes.
1999-12-18 01:37:00 +00:00
danw
a9d982e4f4
synchronize various changes to comments between these files to make it
...
even more obvious that they're 90% identical and really ought to be
using common code in arch/powerpc for a most of this...
1999-12-07 16:11:48 +00:00
drochner
0893832078
update for changed struct wsdisplay_accessops:show_screen signature.
...
no functional changes
1999-12-06 19:25:56 +00:00
ragge
0513268399
CL* discarding.
1999-12-04 21:13:19 +00:00
wrstuden
e9c570ec77
Now make an ofwboot.xcf, and XCOFF version of ofwboot. Uses the new
...
fix-coff program.
1999-11-23 01:35:37 +00:00
wrstuden
cd6e26a395
Add fixcoff, a program to be used during a build to help make xcoff'
...
binaries from elf ones.
1999-11-23 01:32:37 +00:00
tsubai
1acee6a50f
Remove D-I cache synchronization code in setregs(). MI part has it now.
1999-11-22 13:31:44 +00:00
itojun
e9a0023b37
bring in content of GENERIC.v6 into GENERIC.
...
remove GENERIC.v6 file (as it is part of GENERIC now).
"faith" interface is commented out by default as it is not really for
general use.
IPsec items are commented out as well, though we can enable "options IPSEC"
without export-related issue ("options IPSEC" will enable authentication
portion only). We may need to think about it again.
if you have problem compiling with INET6 on archs I do not have access to,
please contact me.
XXX what to do with arch/arm32/SHARK{,.v6}?
1999-11-21 14:00:37 +00:00
kleink
eac5784583
Move signal management code common to all PowerPC platforms (sendsig(),
...
sigreturn(), sigcode) to a single place in the shared powerpc directory.
(The struct sigcontext etc. definitions were already being shared.)
1999-11-17 14:56:10 +00:00
wrstuden
0df8bcdc46
We need pciidereg.h to compile now.
1999-11-15 23:52:07 +00:00
fvdl
8bec119fcc
Add commented out option SOFTDEP to all GENERIC kernels.
1999-11-15 19:10:44 +00:00
fvdl
d116707af0
Add
...
prefix ../gnu/sys
cinclude "conf/files.softdep"
prefix
to all std.* files, so that soft dependencies can be activated using
"options SOFTDEP".
1999-11-15 19:00:25 +00:00
thorpej
1946167939
Update for pmap_enter() API change. No functional difference.
1999-11-13 00:30:26 +00:00
mycroft
fd8d1c65eb
Add USB support.
1999-11-10 05:57:52 +00:00
mycroft
74ca1c37ef
Deal with /psuedo-hid in the following atrocious way:
...
* If only one of ukbd or akbd is configured, use the node for that device.
* If both are configured, use ukbd.
Ultimately, the right way to deal with this is probably so simulate the effect
of /psuedo-hid using wsmux. But not today.
1999-11-10 05:23:18 +00:00
mycroft
336e3613c3
Kill wsmux. DIE DIE DIE!
1999-11-08 06:17:42 +00:00
mycroft
fb17cb2665
Disable wsmux for now.
1999-11-08 04:50:30 +00:00
tsubai
3e373da88d
Enable com* at pcmcia.
1999-10-15 12:27:06 +00:00
tsubai
b67b49b7db
Support com* at pcmcia.
1999-10-15 12:24:36 +00:00
tsubai
c1a7ea14a3
Add cardbus support.
1999-10-15 07:55:08 +00:00
tsubai
849421ec54
Add RCS ID.
...
Disable debug messages.
1999-10-15 07:20:42 +00:00
tsubai
26cb48e441
Fix typo.
1999-10-15 07:16:16 +00:00
tsubai
3499cf35ad
Define fdc, because dev/pcmcia needs it.
1999-10-15 06:43:05 +00:00
haya
4eee111127
This is the first check-in of CardBus driver. CardBus driver contains
...
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.
TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.
The affected files are listed below.
sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h
The added files are listed below.
sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h
1999-10-15 06:07:17 +00:00
tsubai
956c00aaf3
Change kernel segment base to 0xf00000. Some PM9500s won't boot with the
...
old value (0xfffff0).
XXX I don't know why...
1999-10-13 04:01:06 +00:00
tsubai
bc7211f403
Use battable to map obio space rather than using bat1 registers statically.
1999-10-13 03:51:32 +00:00
tsubai
9f58dd36d0
Change char *bootpath to char bootpath[].
1999-10-13 03:27:47 +00:00
tsubai
eb1c1bdb92
Make media-bay CD detachable.
1999-10-04 22:58:10 +00:00
thorpej
e6c88a7686
Update for SCSIPI changes.
1999-09-30 22:59:52 +00:00
wrstuden
25faa820de
Add support for reading MacOS-partitioned disks. Stolen from the mac68k
...
port, but modified in that macppc searches for netbsd-partitioned disks
before MacOS partitioned disks, since installboot generates a fake MacOS
partition table which isn't the one we want to use.
1999-09-27 17:02:43 +00:00
tsubai
efb6bddd34
lcsplx() should return old cpl...
1999-09-21 12:36:32 +00:00
matt
9ac5036f93
Make the DEFPA run under the macppc port (tested on a B&W G3). Add it to
...
the GENERIC config file.
1999-09-19 22:02:37 +00:00
thorpej
11cae42531
Centralize the declaration and clearing of `cold'.
1999-09-17 19:59:35 +00:00
thorpej
3b01d1b872
Rename the machine-dependent autoconfiguration entry point `cpu_configure()',
...
and rename config_init() to configure() and call cpu_configure() from there.
1999-09-15 18:10:33 +00:00
chs
f3a668ed84
eliminate the PMAP_NEW option by making it required for all ports.
...
ports which previously had no support for PMAP_NEW now implement
the pmap_k* interfaces as wrappers around the non-k versions.
1999-09-12 01:16:55 +00:00
augustss
14b98cd440
Add uaudio driver.
1999-09-09 12:33:43 +00:00
tsubai
f7b9562c8c
Inline some functions.
1999-09-08 17:28:02 +00:00
tsubai
0724f6dd3b
Recognize PCMCIA eject button. (Tested on only PowerBook 2400.)
1999-09-05 05:30:30 +00:00
thorpej
c068ef8152
Add `umass'.
1999-08-29 16:55:48 +00:00
tsubai
5d7288c24d
Increase md size to 2MB.
1999-08-28 16:49:49 +00:00
tsubai
b65b00c391
Change the start address of INSTALL kernel to 0x800000 to use larger
...
contiguous space for memory disk.
1999-08-27 07:59:49 +00:00
augustss
db574ba708
Add umodem device.
1999-08-16 22:27:08 +00:00
tsubai
775199a39f
Make configurable without ams.
1999-08-16 06:28:09 +00:00
tsubai
be72fab2f7
My last change was wrong. Revert.
1999-08-15 12:47:15 +00:00
thorpej
28fb7c1eb8
Define cpu_number() as discussed on tech-smp.
1999-08-10 21:08:05 +00:00
thorpej
eb20bbc780
Change the semantics of splsoftclock() to be like other spl*() functions,
...
that is priority is rasied. Add a new spllowersoftclock() to provide the
atomic drop-to-softclock semantics that the old splsoftclock() provided,
and update calls accordingly.
This fixes a problem with using the "rnd" pseudo-device from within
interrupt context to extract random data (e.g. from within the softnet
interrupt) where doing so would incorrectly unblock interrupts (causing
all sorts of lossage).
XXX 4 platforms do not have priority-raising capability: newsmips, sparc,
XXX sparc64, and VAX. This platforms still have this bug until their
XXX spl*() functions are fixed.
1999-08-05 18:08:08 +00:00
tsubai
d633663ab8
Add mediabay.
1999-08-05 00:31:01 +00:00
tsubai
4eb4de3592
Make ``boot kernelname'' work on OF-3.x too.
1999-08-03 07:08:36 +00:00
augustss
f641c4b3b6
Make two wsmux pseudo devices and add mux locators.
1999-07-29 19:36:58 +00:00
augustss
3652732791
Add wsmux device.
...
(Also add lots of missing chrtoblktbl[] entries.)
1999-07-29 19:14:35 +00:00
augustss
a7cd454b1d
It's time to be COMPAT_14.
1999-07-29 10:37:12 +00:00
cgd
f886376518
be more efficient when doing the SYSTEM_LD_TAIL for -g kernels: don't
...
copy them just to strip them, use strip -o.
1999-07-26 05:20:44 +00:00
tsubai
07bc0e694d
media-bay CD support.
1999-07-21 19:20:04 +00:00
tsubai
bfba58c1e1
grackle uses different I/O address.
1999-07-20 17:31:59 +00:00
christos
41cc9a0eb8
enable PPP_BSDCOMP, PPP_DEFLATE, PPP_FILTER, PFIL_HOOKS, IPFILTER_LOG
...
on the GENERIC kernels that had them commented out.
XXX: Please note, that not all the kernels have all the options defined!
1999-07-20 07:40:34 +00:00
tsubai
035071b460
Add VM_MAX_KERNEL_BUF definition.
1999-07-18 17:54:19 +00:00
tsubai
e9f1ccdcd1
Decrease default NKMEMCLUSTERS. (128MB -> 8MB)
1999-07-18 17:53:18 +00:00
tsubai
4aec314394
Add PowerBook LCD brightness and speaker volume button device.
...
Only brightness works for now.
1999-07-12 17:48:26 +00:00
tsubai
b7fc95a188
Add read/set LCD brightness and eject PCMCIA card function.
1999-07-12 15:54:55 +00:00
tsubai
a9cb7eabb2
One more pmap_extract() fix.
1999-07-11 17:47:21 +00:00
tsubai
a192e5bd20
Enable soft poweroff on PowerBook.
1999-07-11 16:59:31 +00:00
thorpej
0945bf58b0
Add examples for including the kernel crypto bits from either crypto-us
...
or crypto-intl, commented out, with instructions to use only one, and
adjust the prefix as necessary.
1999-07-09 18:55:33 +00:00
mrg
ecdad0ec33
clean up a bit after jason :)
...
- fix emitrules() like emitfiles() to deal with the prefix (otherwise it
would attempt to find the file in the normal base for the NORMAL_C rule).
- add emitincludes() which adds include directives for each prefix to the
$INCLUDES variable in the makefile.
- add %INCLUDES to each Makefile.arch to deal with the above.
this makes "prefix" actually work in a usable manner, and now i can move
on to fixing compiler warnings (errors) in the ESP code. :)
1999-07-09 09:52:55 +00:00
thorpej
3ebbe095e0
Change the pmap_extract() interface to:
...
boolean_t pmap_extract(pmap_t, vaddr_t, paddr_t *);
This makes it possible for the pmap to map physical address 0.
1999-07-08 18:05:21 +00:00
itojun
5effafcaa6
kernel configuration for IPv6/IPsec. should be in GENERIC in the future.
...
(source code will be committed soon)
1999-07-01 07:00:12 +00:00
tsubai
654e155756
Display verbose messages about L2 cache.
1999-06-30 16:34:19 +00:00
itojun
427639cdce
- Call ip6intr if INET6 is defined.
...
- remove "need-flag" for mac68k esp driver, as it is not used in anywhere
and conflicts with IPsec ESP header.
This should be the only MD change in IPv6 support, except kernel config file.
Very sorry if you have any compilation problem with it (I believe it is okay).
If your favorite arch is not included in here, please add a
call to ip6intr() from softintr handle.
1999-06-28 08:20:40 +00:00
tsubai
5b34d35e45
findroot() should also use "compatible" property.
1999-06-24 08:14:48 +00:00
tsubai
a2ded1ab73
NVRAM read/write functions.
1999-06-22 13:12:11 +00:00
tsubai
2068c8b6e4
Use RTC on PB.
1999-06-22 11:29:11 +00:00
wrstuden
17900cd587
Install ofwboot.elf in addition to ofwboot. Thanks to Chris for info on how
...
to do this!
1999-06-21 21:02:49 +00:00
tsubai
9ac9208434
More initialization by calling Open Firmware.
1999-06-20 05:34:59 +00:00
cgd
7c02d93c04
nuke current definitions provided by __BUS_SPACE_COMPAT_OLDDEFS.
...
I'll do what I can to make new ones soon. 8-)
1999-06-18 04:49:24 +00:00
tsubai
a8d7da0d21
Add "trackpad" definition.
1999-06-17 06:59:05 +00:00
tsubai
c28bad1d51
Define PowerBook G3 Japanese keyboard.
1999-06-16 08:48:37 +00:00
tsubai
a2e8151f8e
Define symbolic name of PMU commands.
1999-06-16 07:43:58 +00:00
tsubai
4df925b8b0
* Don't use DMA interrupt.
...
* Stop DMA explicitly in finish routine.
1999-06-14 08:53:06 +00:00
tsubai
86d2f9253a
Consider "have /psuedo-hid and only ADB keyboard" case to make the
...
new PowerBook G3 happy.
1999-06-14 06:22:50 +00:00
thorpej
2c35c7bd03
Only declare block major numbers for devices which can be the root device.
1999-06-07 20:31:27 +00:00
thorpej
d76e7b8c6d
Don't pass a nam2blk around at all; just have setroot() and friends reference
...
dev_name2blk[] directly. Addresses PR #7622 (ITOH Yasufumi), although
in a different way.
1999-06-07 20:16:08 +00:00
thorpej
2580d306ab
Change the vm_map's "entries_pageable" member to a r/o flags member, which
...
has PAGEABLE and INTRSAFE flags. PAGEABLE now really means "pageable",
not "allocate vm_map_entry's from non-static pool", so update all map
creations to reflect that. INTRSAFE maps are maps that are used in
interrupt context (e.g. kmem_map, mb_map), and thus use the static
map entry pool (XXX as does kernel_map, for now). This will eventually
change now these maps are locked, as well.
1999-05-26 19:16:28 +00:00
thorpej
5832084eaf
bus_dmamem_map() maps DMA safe memory, which is usually one or more
...
managed pages, into KVA space. Since the pages are managed, we should
use pmap_enter(), not pmap_kenter_pa().
Also, when entering the mappings, enter with an access_type of
VM_PROT_READ | VM_PROT_WRITE. We do this for a couple of reasons:
(1) On systems that have H/W mod/ref attributes, the hardware
may not be able to track mod/ref done by a bus master.
(2) On systems that have to do mod/ref emulation, this prevents
a mod/ref page fault from potentially happening while in an
interrupt context, which can be problematic.
This latter change is fairly important if we ever want to be able to
transfer DMA-safe memory pages to anonymous memory objects; we will need
to know that the pages are modified, or else data could be lost!
Note that while the pages are unowned (i.e. "just DMA-safe memory pages"),
they won't consume any swap resources, as the mappings are wired, and
the pages aren't on the active or inactive queues.
1999-05-25 23:14:03 +00:00
lukem
e4a87aa1a9
* convert to using MI allocsys(). most ports were using an MD allocsys(),
...
although a couple still used the old pre-4.4-lite (?) mechanism.
* use format_bytes() to format the various printf()s that print out memory sizes
1999-05-20 08:21:42 +00:00
thorpej
f98d358a1f
Rework layer 2 protocol input routines. Instead of calling e.g. ether_input()
...
directly, call the function pointer (*if_input)(ifp, m). The input routine
expects the packet header to be at the head of the packet, and will adjust
as necessary. Privatize the layer 2 input and output routines, allowing
*_ifattach() to set them up as appropriate.
1999-05-18 23:52:51 +00:00
thorpej
e5f47f6307
Rewrite the USB keyboard console attachment (again). Grumble, Macintosh
...
firmware sets the "stdin" property of /chosen to be a pseudo-hid (yes, they
even spell it incorrectly) that merges all keyboard input into one stream,
so we can't find the USB controller we're attached to. Instead, just give
it to the first USB keyboard found during autoconfiguration. So that we
have SOMETHING available early on, use OpenFirmware i/o to do keyboard
input to the console wsdisplay until the USB code attaches the keyboard.
From Jason Thorpe <thorpej@nas.nasa.gov>
1999-05-13 23:37:19 +00:00
wrstuden
3c5aad8d3c
For whatever reason, we just can't call pci_init() that early on Bandit
...
systems. Why? Who knows. Firmware bugs, maybe. In any case, moving
the call out of the ADB path works. "Good enough for me."
1999-05-07 22:20:38 +00:00
wrstuden
1e90fa5723
BusLogic cards seem to work in my G3. :-)
1999-05-07 20:10:54 +00:00
drochner
fe310dd299
include <lib/libkern/libkern.h> for intoa()/inet_ntoa()
1999-05-07 16:19:27 +00:00
wrstuden
fb7f9b828f
Add pciide config info.
1999-05-06 19:28:20 +00:00
thorpej
680c3ddbd2
Completely rewrite how cninit() determines which keyboard to use with
...
the console. New algorithm:
* if stdin == keyboard, and parent of keyboard == adb, use ADB.
* else, must be a USB keyboard. Search backwards though the parents
until the USB controller is located. Determine its location in the PCI
domain, and which type of controller it is, and tell that controller that
it has the console input device. The USB code will then attach the first
USB keyboard as the console input device during autoconfiguration.
The iMac and Blue and White G3 consoles are fully functional now!
1999-05-06 19:24:47 +00:00
thorpej
ac9eee8693
Take all of the OpenFirmware "stdin" grovelling out of the ADB keyboard
...
driver, as the smarts for this all live somewhere else now.
1999-05-06 19:20:59 +00:00
thorpej
35df607966
Allow pci_init() to be called twice, once just to find the PCI-Host
...
bridges and determine the "pci chipset" values (for making PCI tags),
and again to actually map the configuration space registers.
1999-05-06 19:16:44 +00:00
tsubai
661ae33963
Remove unused codes.
1999-05-06 04:37:44 +00:00
wrstuden
af849de633
MAke this cross-tools happy.
1999-05-06 01:04:48 +00:00
tsubai
9042054e51
Fix a small bug to make both IO and MEM enable bits in csr are set.
1999-05-05 08:43:53 +00:00
thorpej
fc645b996a
- Always config_found() PCI busses, so we know if present PCI busses
...
aren't configured.
- Grab the bus's memory space tag from the pci_bridge structure for
the bus.
1999-05-05 04:40:00 +00:00
thorpej
654b0fff46
- Completely rewrite how bus space tags for PCI space are set up. Instead
...
of hard-coding them, decode the "ranges" property of the PCI bus node in
OpenFirmware.
- Do a little cleanup, and share some more code between the Bandit/Chaos
and MPC106.
XXX The bus_space(9) implementation for macppc really needs to be
rewritten.
1999-05-05 04:37:19 +00:00
thorpej
c448c97f2b
- Add come comments.
...
- Do a little cleanup.
- Protect the entirety of pci_conf_{read,write}() with splhigh()/splx().
1999-05-05 04:32:28 +00:00
thorpej
341f87673b
Add a bus space tag for PCI memory space to the pci_bridge structure.
1999-05-05 04:26:48 +00:00
tsubai
28b7777fd0
Provide CACHELINESIZE when _STANDALONE is defined too.
1999-05-03 05:19:59 +00:00
tsubai
8e885e921e
Check "mac-io" and "/pci/mac-io".
1999-05-01 10:37:57 +00:00
tsubai
8dbaa0169e
Find "mac-io" and "/pci/mac-io".
1999-05-01 10:36:08 +00:00
tsubai
5fff3dafe9
Use "compatible" property to match.
1999-05-01 10:23:42 +00:00
tsubai
9697f9c401
Add more sanity check.
1999-04-30 04:35:35 +00:00
tsubai
599ebb4db1
Now we can use symbols in DDB. :-)
1999-04-29 05:15:30 +00:00
tsubai
741030cc8a
Add loadfile_machdep.h
1999-04-29 03:17:12 +00:00
tsubai
e4e1fcbaa6
Use MI loadfile().
1999-04-29 03:16:20 +00:00
wrstuden
9b0e678d51
Fix compilation errors.
1999-04-22 18:48: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
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
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
chs
f455dd6596
add a `flags' argument to uvm_pagealloc_strat().
...
define a flag UVM_PGA_USERESERVE to allow non-kernel object
allocations to use pages from the reserve.
use the new flag for allocations in pmap modules.
1999-04-11 04:04:04 +00:00
tsubai
bee9b5d9ab
Enable "de".
1999-04-01 16:11:45 +00:00
thorpej
967b8c433c
Don't call configure() from cpu_startup().
1999-04-01 00:17:45 +00:00
tsubai
7c3a6002b3
Use interrupt-map property rather than hard-coding irqs.
...
(From Dan Winship <danw@MIT.EDU>. Slightly modified by me)
1999-03-29 12:12:03 +00:00
tsubai
e1410f9e82
Remove unused file.
1999-03-28 13:39:30 +00:00
tsubai
85cece609b
Remove unused files.
1999-03-28 13:16:45 +00:00
mycroft
9c6b797796
Changes for modified pmap_enter() API:
...
* Map the message buffer with access_type = VM_PROT_READ|VM_PROT_WRITE `just
because'.
* Map the file system buffers with access_type = VM_PROT_READ|VM_PROT_WRITE to
avoid possible problems with pagemove().
* Do not use VM_PROT_EXEC with either of the above.
* Map pages for /dev/mem with access_type = prot. Also, DO NOT use
pmap_kenter() for this, as we DO NOT want to lose modification information.
* Map pages in dumpsys() with VM_PROT_READ.
* Map pages in m68k mappedcopyin()/mappedcopyout() and writeback() with
access_type = prot.
* For now, bus_dma*(), pmap_map(), vmapbuf(), and similar functions still use
access_type = 0. This should probably be revisited.
1999-03-26 23:41:25 +00:00
tsubai
6dbdfeab77
include GENERIC.
1999-03-26 16:40:09 +00:00
tsubai
35a4f16a60
``INSTALL'' + USB doesn't work (binutils bug?).
...
So use this instead.
1999-03-26 14:58:22 +00:00
mrg
7b93dd1117
remove opt_uvm.h
1999-03-25 00:41:46 +00:00
mrg
ca5f9685bb
clean up kernel/config files files for machVM lossage.
1999-03-24 06:06:09 +00:00
mrg
d2397ac5f7
completely remove Mach VM support. all that is left is the all the
...
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
drochner
76fa1751fe
Add a macro to check for sufficient pointer alignment in bus.h context,
...
"BUS_SPACE_ALIGNED_POINTER()".
Equal to the param.h "ALIGNED_POINTER()" normally, but obeys additional
requirements of the bus_space_xxx_n() macros. (BUS_SPACE_DEBUG)
1999-03-23 21:29:03 +00:00
wrstuden
3c8e65b670
Oops. macppc doesn't use PCLK as a baud rate source.
1999-03-23 18:07:19 +00:00
thorpej
63b6321834
VM_MBUF_SIZE is in terms of MCLBYTES, not CLBYTES.
1999-03-23 00:31:59 +00:00
cgd
284689634e
Moved to arch/macppc/include/pci_machdep.h,v
1999-03-19 03:36:19 +00:00
cgd
49e6daa992
Moved from arch/macppc/pci/pci_machdep.h,v
1999-03-19 03:36:18 +00:00
sommerfe
bc533621ed
defopt MINIROOTSIZE
1999-03-17 18:59:21 +00:00
tsubai
79c71e0bae
Check the accessibility before reading from configuration space.
1999-03-15 03:03:10 +00:00
tsubai
07e094073c
Remove bogus comment.
1999-03-15 02:26:10 +00:00
perry
d446fb449c
exterminate ovbcopy. patches provided by Erik Bertelsen, pr-7145
1999-03-12 22:42:30 +00:00
tsubai
5023765f61
Adapt Open Firmware 3.x. 1.x and 3.x are not bug-compatible...
1999-03-05 06:21:17 +00:00
tsubai
4bdf0d9244
Modify parseargs() so that device names can contain '-'.
1999-03-05 06:18:38 +00:00
tsubai
c6a8ff5d24
RSS accounting.
1999-03-05 06:11:18 +00:00
scottr
624b6ac9a6
Implement the BUFCACHE kernel config option.
1999-03-01 21:32:24 +00:00
tsubai
78665b6502
Increase default data size to compile libbfd without `virtual memory
...
exhausted'. Suggested by Scott Reynolds.
1999-02-27 18:32:31 +00:00
scottr
d32ed292af
defopt BUFCACHE and BUFPAGES.
1999-02-27 06:39:34 +00:00
tsubai
b10dbdb37a
Initialize BAT registers in the first place.
1999-02-26 18:36:15 +00:00
tsubai
16442fd649
Add MESH SCSI driver.
...
Sort entries.
1999-02-22 20:25:43 +00:00
tsubai
650f05d8c7
Ensure msgbuf_paddr is accessible (by bat).
1999-02-19 14:11:35 +00:00
tsubai
c8117990ae
Use 6x11 font if screen size is smaller than 1024x768.
...
(Open Firmware ROM has 6x11 font.)
1999-02-19 14:02:33 +00:00
tsubai
da71ba4292
First step of MESH SCSI support.
...
XXX no disconnect/reselect.
XXX sync transfer is very unstable.
1999-02-19 13:06:03 +00:00
tsubai
60307f0ef1
Sync with mac68k.
1999-02-17 14:56:56 +00:00
tsubai
4806be8d02
Use powerpc/reloc.h.
1999-02-16 17:53:42 +00:00
tsubai
adf03cea81
Add copyright notice.
1999-02-16 15:20:51 +00:00
hubertf
100778d54a
RCS ID police
1999-02-15 04:25:28 +00:00
lukem
dcab0210a0
convert from NOxxx= to MKxxx=no.
...
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
mycroft
2a304686e6
Minor cleanup.
...
Make the initializer for BAUDLO depend on PCLK directly; it was incorrect on
some ports where PCLK is not 4.9152MHz.
XXX Is the default value actually used?
1999-02-11 15:28:03 +00:00
tsubai
cd010c972c
Oops, last change is wrong...
1999-02-08 14:32:00 +00:00
tsubai
d1276ebc65
Make this compile. (and sync with dev/ic completely)
1999-02-06 20:04:31 +00:00
tsubai
7177191d30
Allocate DMA-aware memory area using "dma-alloc" method and use them
...
for data buffer.
XXX currently only netif_put() uses this.
iMac can use ofwboot.elf now.
1999-02-04 15:41:15 +00:00
tsubai
78094a09f1
Uncomment PCI-PCI bridges.
1999-02-04 15:04:58 +00:00
tsubai
630abfea00
Add PCI-PCI bridge support for Bandit.
1999-02-04 14:54:00 +00:00
tsubai
610a648c7d
Use "local-mac-address" property to get MAC address.
1999-02-04 12:14:24 +00:00
mycroft
be1af660c0
Don't set DCD_IE in the frontends. KGDB doesn't even use DCD, and the tty
...
frontends get it from zsparam() anyway.
1999-02-03 20:25:05 +00:00
mycroft
54f0a0ae81
Clone changes from the version in dev/ic. (These should be merged!)
...
Note: NOT tested on this port yet.
1999-02-03 20:19:08 +00:00
tsubai
68c9ce2c96
Don't use BAT register. (not needed now.)
1999-02-02 16:48:17 +00:00
tsubai
a4de4218fd
Use private (its own) segment registers in Open Firmware call,
...
instead of BAT register.
1999-02-02 16:47:08 +00:00
tsubai
ef69721044
findroot() now recognizes network devices.
1999-02-02 16:37:51 +00:00
tsubai
378f49eff8
Ensure lowest 256MB is mapped by BAT0.
1999-02-02 16:29:25 +00:00
tsubai
fed24e89c8
Adapt disklabel_mbr.h change.
1999-01-31 19:56:56 +00:00
tsubai
a4f0ae9043
Adapt disklabel_mbr.h change.
1999-01-31 13:54:24 +00:00
thorpej
24d9973308
Use <sys/disklabel_mbr.h>.
1999-01-27 21:30:08 +00:00
tsubai
941abb6bf6
ofmsr[IP] = 0.
1999-01-27 14:46:28 +00:00
tsubai
5ad236211f
Add file-system MFS.
1999-01-27 12:43:17 +00:00
tsubai
711ac04b78
syncicache(sigcode, sigcodesize) before exec.
1999-01-24 15:07:51 +00:00
tsubai
438b781c46
Match "ata0".
1999-01-22 10:44:38 +00:00
tsubai
321f772d99
Invert Y axis (like ums, pms, ...).
1999-01-18 12:36:36 +00:00
tsubai
ffffbb419c
Fix a intrcnt bug.
1999-01-17 11:53:52 +00:00
tsubai
07d83c4919
Add bmac ethernet.
1999-01-17 11:49:56 +00:00
chuck
417e5339f0
MNN is no longer optional
1999-01-16 20:31:50 +00:00
thorpej
8922647c58
Some minor, mostly costmetic, changes to CPPFLAGS/CFLAGS.
1999-01-15 23:37:05 +00:00
bouyer
dc306354b0
Move the bswap functions from libutil to libc (this bups the
...
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
1999-01-15 13:31:15 +00:00
tsubai
12d2afa11a
Use KS_KEYCODE macro.
1999-01-13 08:13:41 +00:00
tsubai
3bc029b332
Add ``#include "akbd.h"''.
1999-01-12 15:12:44 +00:00
tsubai
5998caa414
Support irq > 31.
...
XXX dirty hack...
1999-01-12 12:06:46 +00:00
tsubai
bb426487a5
Move MSGBUFSIZE from machdep.c to param.h
...
Use the last page for msgbuf instead of fixed MSGBUFADDR.
1999-01-12 10:51:40 +00:00
tsubai
90a73bba2c
Always use polling when poweroff/restart.
1999-01-12 10:38:00 +00:00
drochner
35eeb3f1cd
remove dummy "load_font" entries
1999-01-11 21:54:22 +00:00
tsubai
c91ac313c1
Count clock interrupts.
1999-01-11 09:44:51 +00:00
tsubai
477add6bea
Add irq32 - irq63 to intrnames.
1999-01-11 08:49:58 +00:00
tsubai
8190b5f43f
Add sanity checks in akbd_cnattach().
1999-01-10 10:39:13 +00:00
thorpej
e598335d1c
Garbage-collect `mbutl'.
1999-01-09 22:10:12 +00:00
augustss
fc5f9ee81d
Add -Wpointer-arith warning since `void *' arithmetic is not ANSI C.
1999-01-08 19:26:12 +00:00
thorpej
52fa7c35ac
Add pcscp driver.
1999-01-06 23:43:30 +00:00
tsubai
13529d1878
bmac ethernet driver. (tested on iMac. only 10Base-T works.)
1999-01-01 01:27:52 +00:00
tsubai
bdf1b68276
iMac support (not complete yet).
1998-12-29 06:27:59 +00:00
tsubai
8a5e34f28a
Fix a bug of last change.
1998-12-29 05:17:27 +00:00
tsubai
d5fc963f0e
Add USB.
1998-12-29 04:40:19 +00:00
tsubai
2ad7314a82
Configure only one wskbd/wsmouse.
1998-12-28 00:50:44 +00:00
tsubai
e7e9a2e0e1
Use "interrupt" property if "AAPL,interrupt" is not found.
1998-12-28 00:38:18 +00:00
tsubai
86a0b96c10
Search "interrupts" property if "AAPL,interrupts" is not found.
1998-12-22 19:46:28 +00:00
tsubai
89e0cc0a86
Display frame buffer type when attached.
1998-12-22 19:38:35 +00:00
tsubai
1e7ee2d117
Determine the address of interrupt register at runtime.
...
(iMac has different address)
1998-12-22 19:35:49 +00:00
tsubai
07c96d75d6
Wait one second before powerdown.
1998-12-21 21:58:19 +00:00
tsubai
c232b5d803
Add wdc.
1998-12-10 20:49:17 +00:00
tsubai
b517a9d3d8
Add wd and atapi.
1998-12-10 20:21:28 +00:00
tsubai
ef27ffc3de
Add ata/atapi disk support.
1998-12-10 20:10:03 +00:00
tsubai
ea6bba6b90
Fix a typo.
1998-12-07 17:17:14 +00:00
tsubai
fbeabd992c
Implement sparse bus space support.
1998-12-06 15:39:12 +00:00
thorpej
7fa243e59e
Pass the symbol table size, like a.out.
1998-12-04 20:22:36 +00:00
tsubai
619952b3ee
Not used.
1998-12-03 11:05:18 +00:00
thorpej
16eabd8a1f
Add an RCS ID.
1998-11-28 20:59:26 +00:00
hwr
59acb69be1
Add (commented out) 'gre' pseudo device line. Feedback is welcome.
...
Inspired by Klaus Klein.
1998-11-25 20:30:44 +00:00
tsubai
f917584d54
Add more delay in adb_reinit().
1998-11-24 08:26:50 +00:00
tsubai
01a2fb8424
Fix typo.
1998-11-22 15:57:37 +00:00
thorpej
5f0577babc
Adapt to the new scsipi_adapter interface.
1998-11-19 21:43:00 +00:00
mrg
db3051d720
fix problems in many d_mmap routines:
...
- returned EOPNOTSUPP rather than -1.
- no check for negative offset.
many of these fix potential security problems in these drivers.
XXX XXX XXX
the d_mmap cdev routine should be changed to have a prototype like:
paddr_t (*d_mmap) __P((dev_t, off_t, int));
by someone!
1998-11-19 15:38:20 +00:00
tsubai
099f099133
Don't send mouse events to wsmouse layer if wsmouse isn't configured.
1998-11-18 09:11:34 +00:00
oster
cf5710c839
Added a (commented out) configuration line for the RAIDframe device driver.
1998-11-16 16:44:55 +00:00
tsubai
7c939afccf
RTC support for pmu (read only).
1998-11-15 19:41:33 +00:00
oster
c74d32c5fc
Updating of bdev's and cdev's to support RAIDframe.
1998-11-13 04:47:03 +00:00
tsubai
1bf603b543
Sync to mac68k.
1998-11-05 11:46:07 +00:00
tsubai
8634976fb2
Move conversion of PRAM-time to UNIX-time to clock.c (like mac68k).
1998-11-04 15:06:13 +00:00
tsubai
0b3665db48
Add "Paddington" ID.
1998-11-03 12:15:57 +00:00
dante
27e57114e1
Add support for macppc
...
Very special thanks to Itsumi Tsutsui for his invaluable collaboration.
1998-10-28 21:06:27 +00:00
tsubai
d6ebbdb79a
Fix -Wpointer-arith warning.
1998-10-25 17:39:52 +00:00
tsubai
262ba9ad95
Fix miscounting of length in syncicache().
1998-10-25 10:13:21 +00:00
tsubai
325ecdada1
Use PCI function number correctly.
1998-10-21 08:58:36 +00:00
tsubai
e6efdfc6af
Add via-pmu support.
1998-10-20 15:13:14 +00:00
tsubai
330d14c254
Oops, forgot to add them.
1998-10-20 14:59:16 +00:00
tsubai
6f402eb495
Add via-pmu support (only PowerBook 2400c/180 is tested).
1998-10-20 14:56:30 +00:00
tron
b296275bb4
Defopt SYSVMSG, SYSVSEM and SYSVSHM.
1998-10-19 22:09:13 +00:00
tsubai
07e2c44982
Make compilable without aed.
1998-10-18 09:52:16 +00:00
tsubai
541bc2d3d7
Add wsmouse support.
1998-10-18 09:31:40 +00:00
drochner
2468738337
change handling of libkern:
...
-sys/lib/libkern builds as library per default (as it was documented all
the time)
-ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles
(for now; should depend on actual "option LKM" or -better- functions
included for LKM use should be pulled in by a stub)
-always link libcompat before libkern - libkern stuff can be referred to
by libcompat, but not the other way
1998-10-15 18:37:13 +00:00
tsubai
3b892dd579
/chaos/control support. (tested 640x480 mode only)
1998-10-15 14:48:47 +00:00
tsubai
810fcde7eb
Set PCI bus number correctly.
1998-10-15 14:39:53 +00:00
tsubai
4f4676e9c0
Sync to ``POWERMAC'' config.
1998-10-14 13:54:09 +00:00
tsubai
635d4ae57a
Fix typo.
1998-10-14 13:21:10 +00:00
tsubai
c539169765
wskbd support.
1998-10-14 12:56:19 +00:00
tsubai
f6f8f9b3f5
Oops, remove ite/grf.
1998-10-14 12:31:34 +00:00
tsubai
461a9c9361
Add wsdisplay/wskbd.
1998-10-14 12:28:54 +00:00
tsubai
ced4fd09b4
Add wsdisplay.
1998-10-14 12:27:03 +00:00
tsubai
20e56a7571
Add wsdisplay (, wskbd, and wsmouse).
1998-10-14 12:21:21 +00:00
tsubai
9fdd9b72df
Implement PCI tag to OpenFirmware device convert function (pcidev_to_ofdev).
1998-10-14 12:18:20 +00:00
tsubai
b6e7cc68c6
akbd: wskbd support.
...
ofb: OpenFirmware generic framebuffer.
1998-10-14 12:15:10 +00:00
tsubai
7d9356dcca
Fix cut-and-paste miss...
1998-10-13 13:15:29 +00:00
tsubai
b373c846b4
ADB change.
1998-10-13 11:25:26 +00:00
tsubai
7756c05cc4
Split ADB driver to aed (ADB event device), akbd (ADB keyboard),
...
and ams (ADB mouse). adb is a bus now. (from Colin Wood)
1998-10-13 11:21:20 +00:00
thorpej
908cdfe4e3
Add scsibus entry points to the cdevsw[].
1998-10-10 02:00:49 +00:00
thorpej
29d472f53d
Garbage-collect the open_target_lu and close_target_lu entry points from
...
struct scsipi_adapter; they were not used.
Add a scsipi_ioctl entry point to struct scsipi_adapter. This will be
used to issue ioctl commands to the host adapters.
Inspired by PR #6090 , from Matt Jacob.
1998-10-10 00:28:28 +00:00
tsubai
d976f73513
Enable interrupt AFTER autoconfiguration.
1998-10-07 06:24:58 +00:00
tsubai
31314a2d26
Mask clock interrupt properly if >= splclock.
1998-10-07 04:58:23 +00:00
thorpej
d681cf055a
configure() prototype is in <sys/device.h>
1998-10-06 20:50:15 +00:00
thorpej
01a1588265
Initialize the DMA map's bounce threshold to the tag's at map creation time,
...
and use the map's threshold when loading the map.
1998-10-03 21:38:48 +00:00
thorpej
10557b15d7
Add a private bounce threshold to the DMA map, initialized in a bus-dependent
...
fashion.
1998-10-03 21:24:00 +00:00
thorpej
2671c2fa42
Make bus_dmamap_load_uio() work, from Kevin Lahey <kml@nas.nasa.gov>.
1998-09-21 22:51:56 +00:00
tsubai
bd8b85cdd8
Correct battable[] usage.
1998-09-21 17:16:26 +00:00
mycroft
fa31b94af9
Fix omission in previous; remember to record that we're on the signal stack.
1998-09-13 11:57:58 +00:00
thorpej
c7d391b23c
Make signal delivery work again.
1998-09-13 09:15:51 +00:00
wrstuden
eefa9491d1
Turn on support for 115,200 and 230,400 baud. Should work, but might
...
generate lots of interupts (one per char or so) if we don't have
DMA set up.
1998-09-09 20:58:06 +00:00
thorpej
8abe0d6b1c
Adjust for the new "reaper" kernel thread: do not free the vmspace and
...
u-area in machine-dependent code. Instead, call exit2() to schedule
the reaper to free them for us, once it is safe to do so (i.e. we are
no longer running on the dead proc's vmspace and stack).
1998-09-09 00:07:48 +00:00
pk
8a30c7eaef
Assign my copyrights to TNF.
1998-09-05 15:30:24 +00:00
pk
29bae173fa
Relinquish my copyright claims on this file.
1998-09-05 15:29:35 +00:00
lukem
c9db84ecc9
distclean is a synonym for cleandir
1998-09-05 15:15:14 +00:00
tsubai
bd83774fb0
Switch to UVM on macppc.
1998-09-03 15:11:52 +00:00
tsubai
a647a97b1a
Remove HTABENTS definition. (calculated automatically)
1998-09-03 14:10:56 +00:00
tsubai
99c8212d10
Change void mcintr() to int mcintr().
1998-09-03 14:06:06 +00:00
tsubai
8159431e7e
Make disklabel writable even if no disklabel exists.
1998-09-01 17:42:59 +00:00
tsubai
2c6eefb899
Add some prototypes.
1998-09-01 17:33:04 +00:00
tsubai
d5a3d4b4b7
Don't set RTC time before reading it.
1998-09-01 13:07:23 +00:00
cgd
d58173741d
kill the last remnants of __BROKEN_INDIRECT_CONFIG. (only the pica port
...
used it, and it's non-working and apparently slated for replacement.)
1998-08-31 22:28:04 +00:00
tsubai
1c3e72cd0e
Back out previous change.
1998-08-26 11:44:06 +00:00
tsubai
d4d7416198
vm_offset_t --> [pv]addr_t.
1998-08-21 16:13:28 +00:00
thorpej
136e58fb9f
Internal cleanup.
1998-08-17 22:35:04 +00:00
tsubai
573f3aee5c
Enable 115200 and (untested)230400 bps.
1998-08-16 11:24:36 +00:00
wrstuden
961641ad2d
We claim to support some mii-equiped pci ethernet drivers, so we
...
need to include dev/mii/files.mii. :-)
1998-08-16 01:40:29 +00:00
mycroft
6dc903202f
Assign my copyrights to TNF.
1998-08-15 10:10:47 +00:00
mycroft
129cbf95ee
Minor edit.
1998-08-15 05:16:41 +00:00
mycroft
b2827b9d36
Assign copyright to TNF.
1998-08-15 04:16:55 +00:00
mycroft
6d3d8a1350
Make copyright notices with my name consistent.
1998-08-15 03:02:31 +00:00
tsubai
0acc329dad
Remove ``#define ovbcopy bcopy''. This exists in sys/systm.h now.
1998-08-13 06:21:38 +00:00
tsubai
a750861e5d
Mask interrupt by hardware register if possible.
1998-08-13 06:18:27 +00:00
tsubai
b872f9b8e7
avoid lint error.
1998-08-09 12:47:27 +00:00
tsubai
5b03ac980b
Use ite for screen console by default until wscons support.
1998-07-29 05:38:04 +00:00
tsubai
fbd86622a0
Add ``install floppy'' config file.
1998-07-29 05:19:26 +00:00
thorpej
1712467308
fic typi
1998-07-29 00:31:01 +00:00
thorpej
8a2c338704
Use a std options file, like other ports do.
1998-07-29 00:19:20 +00:00
thorpej
7698349700
Ah, we use a _different_ ofcons; rename it macofcons to avoid the
...
name collision.
1998-07-28 23:43:33 +00:00
thorpej
8a3626d966
ofcons attaches to ofbus, not pci! Comment it out, since we do not have
...
any ofbus support in these configurations.
1998-07-28 23:09:07 +00:00
thorpej
d0714d3f21
Support NFS_BOOT_DHCP.
1998-07-28 23:02:06 +00:00