pk
b6a73eb3a1
Make this compile without RASTERCONSOLE too.
2000-03-31 12:58:54 +00:00
pk
a41d265271
Add hardware acceleration features for use with the RASTERCONSOLE option.
...
Code posted on port-sparc by `der Mouse'; it was slightly re-arranged to
fit the layout of this driver.
2000-03-30 13:57:50 +00:00
tsutsui
58714261cc
Remove register declarations.
2000-03-30 11:37:21 +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
tsutsui
9100212ef0
Add a "sc_rev" member to ncr5380_softc and handle CXD1180 quirk
...
in MI ncr5380sbc.
2000-03-25 15:27:54 +00:00
hannken
43e3ea96f3
Fix typos from last commit (callout).
2000-03-24 11:46:46 +00:00
hannken
f7049d302a
Fix a typo from last commit.
2000-03-24 10:30:12 +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
pk
3b3bcd2a10
The global `mmu_3l' has been obsolete for a long time already.
2000-03-21 21:30:33 +00:00
pk
b5b8fcc5b5
Nuke global `fbnode'.
2000-03-21 21:29:16 +00:00
pk
5eb7625f42
findzs() is now used only by the kgbd initialision code.
2000-03-21 12:48:45 +00:00
pk
2db200ad14
Missing _C_LABEL().
2000-03-21 12:47:02 +00:00
pk
c5bbc50487
Delete debugging printf().
2000-03-21 11:24:02 +00:00
pk
436638ab3a
Call rcons_ttyinit() on first open.
2000-03-20 11:27:16 +00:00
pk
c1813da35e
Use fb_is_console(); retract fbconstty & fbnode from service.
2000-03-19 15:38:45 +00:00
pk
aca7e7fa24
Just don't force the baud rate in the driver, ever.
2000-03-19 14:58:02 +00:00
pk
86f03b383e
Remove __BROKEN_CONFIG_UNIT_USAGE.
2000-03-19 14:43:13 +00:00
pk
753a0ebc67
kd.c should not depend on NKBD.
2000-03-19 14:20:54 +00:00
pk
2ab6f90563
kd.c should not depend on `kbd'.
2000-03-19 14:19:17 +00:00
pk
c969f1b7df
Add `fb_is_console()', which is a helper function for frame buffer
...
device drivers used to decide whether or not to act as console output.
2000-03-19 13:48:44 +00:00
pk
b0eba37586
Add fields to hold PROM info to be used in console device matching.
2000-03-19 13:45:23 +00:00
pk
e654ecd0d8
Nuke dead code.
2000-03-19 13:38:54 +00:00
pk
0ed0e258db
Declare the prom stdio nodes and arguments.
2000-03-19 13:25:10 +00:00
pk
41fb5989fe
Revise console device handling:
...
* do not require a `zs' driver for console handling
* run the console on PROM primitives until a device recognises
itself as a console device during normal autoconfiguration.
* allow (keyboard) devices to take over the input channel of
the PROM primitive-based console device.
As a result, consinit() is much simplified and does no longer have
to "detect" devices to setup a working console device. This complexity
has moved to individual drivers which interpret the PROM information
after they have attached to decide whether or not to act as a console.
2000-03-19 13:22:14 +00:00
mycroft
0af581a1a1
Add a ncr5380_attach() routine which does part of the initialization, attaches
...
the scsibus, and does the addref/delref dance.
2000-03-18 16:13:22 +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
mycroft
02905321b2
Foolish consistency. Mainly, always use underscores and sys/endian.h.
2000-03-16 15:09:34 +00:00
jdc
e8a33a63d1
Add port power management ioctls.
2000-03-14 21:24:54 +00:00
jdc
48ba774212
Fix RCS ID.
...
Add port power management.
2000-03-14 21:23:45 +00:00
jdc
797ac20035
Add power management hooks.
2000-03-14 21:20:51 +00:00
jdc
fa4417ef0c
Add enable/disable and power management hooks for serial ports.
...
Port states : always on / on when open (default) / always off
2000-03-14 21:18:27 +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
mycroft
b27007be2c
Make dependall work.
2000-03-13 03:25:20 +00:00
garbled
ea089cf90c
New features:
...
tctrl now initializes the state of the internal LCD icons. The icons
are unprogrammed at boot time. This incidentally makes the DC-POWER icon
work.
Fixes:
Fix my stupidity in the ENVSYS stuff, and actually follow the API.
2000-03-09 07:04:08 +00:00
kleink
ad7dbd825c
Define ISO C99 (unsigned) long long (min, max) symbols.
2000-03-07 19:33:00 +00:00
tsutsui
d16c6f3272
Use DISKPART/DISKMINOR/DISKUNIT instead of dkpart/dkminor/dkunit.
2000-03-07 15:55:14 +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
mrg
6bf88d7e9a
add a "struct device *booted_device" so that raidframe can link.
2000-03-05 08:21:57 +00:00
simonb
4eb55e447c
Do the "<space><tab>" thing with the RAID_AUTOCONFIG option.
2000-02-29 06:32:20 +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
pk
546bda740f
Revert to using <bsd.prog.mk> again, so we support all targets that may
...
be presented when building the system (noticed by Juergen Hannken-Illjes).
2000-02-26 11:48:15 +00:00
jdc
ecf1c1eb21
Add auxiotwo (Tadpole 3GX aux 2 register) entry.
2000-02-25 18:24:40 +00:00
jdc
7840960350
Driver for Tadpole 3GX "Power Down Control (Aux 2) Register".
...
Based on existing auxreg.[ch] (Sparc Aux Register driver).
2000-02-25 18:17:24 +00:00
pk
9bbc61deaa
We need <bsd.obj.mk>.
2000-02-25 16:53:22 +00:00
pk
c64db6cec7
Remove out-dated comment.
2000-02-25 16:02:49 +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
pk
dd6a9d86b0
SUN_BOOTPARAM compile-time option is no longer used.
2000-02-21 15:13:11 +00:00
pk
f89828d99f
bootxx links at 0x340000
...
2nd-stage boot programs choices: 0x200000,0x300000,0x400000,0x700000 (default: 0x300000)
2000-02-21 15:07:32 +00:00