History log of /netbsd-src/sys/arch/sparc/dev/tctrl.c (Results 51 – 65 of 65)
Revision Date Author Comments
# 77a6b82b 06-Sep-2002 gehenna <gehenna@NetBSD.org>

Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant st

Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.

show more ...


# 7e8becd6 11-Mar-2002 pk <pk@NetBSD.org>

* `bus_type_t' is gone.
* Use BUS_ADDR() where appropriate to encode I/O space and physical
address offset into a `bus_addr_t' value.
* Drop obio_bus_map() since it's now completely equivalent to b

* `bus_type_t' is gone.
* Use BUS_ADDR() where appropriate to encode I/O space and physical
address offset into a `bus_addr_t' value.
* Drop obio_bus_map() since it's now completely equivalent to bus_space_map()
* Use bus_space_map2() to map device space at a fixed virtual address.
* Remove the virtual address argument from sbus_sbus_addr()

show more ...


# c52d355d 20-Aug-2001 wiz <wiz@NetBSD.org>

"wierd" is weird.


# 6c80daae 25-Jul-2000 toddpw <toddpw@NetBSD.org>

Ignore all undefined bits in the Tadpole microcontroller status register.
Only the low nibble is defined, and on at least one 3gx (mine) there is an
undefined bit which reads as a one -- bit 6 (0x40)

Ignore all undefined bits in the Tadpole microcontroller status register.
Only the low nibble is defined, and on at least one 3gx (mine) there is an
undefined bit which reads as a one -- bit 6 (0x40). This screwed tctrl_intr()
which would loop forever, thinking it always had new events to process.

show more ...


# 406e0f77 09-Jul-2000 pk <pk@NetBSD.org>

Add a `device class' interrupt level argument (from machine/intr.h)
to bus_interrupt_establish().

It's currently only used in sparc64/dev/psycho.c to assign a CPU interrupt
level to devices in PCI s

Add a `device class' interrupt level argument (from machine/intr.h)
to bus_interrupt_establish().

It's currently only used in sparc64/dev/psycho.c to assign a CPU interrupt
level to devices in PCI slots.

show more ...


# cffb5808 04-Jun-2000 cgd <cgd@NetBSD.org>

Implement the more flexiable `evcnt' interface as discussed (briefly) on
tech-kern and now documented in evcnt(9).


# d11a9a62 04-Apr-2000 thorpej <thorpej@NetBSD.org>

Fix fallout from callout.


# 7b918b40 23-Mar-2000 thorpej <thorpej@NetBSD.org>

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

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.

show more ...


# e8a33a63 14-Mar-2000 jdc <jdc@NetBSD.org>

Add port power management ioctls.


# ea089cf9 09-Mar-2000 garbled <garbled@NetBSD.org>

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 ENV

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.

show more ...


# e89216c7 17-Dec-1999 garbled <garbled@NetBSD.org>

avoid uninterruptable sleep on a CMD_REQ ioctl.


# f02b8041 15-Dec-1999 garbled <garbled@NetBSD.org>

add <machine/tctrl.h> where needed.
Add some undocumented commands to the ts102 registers file, and fix a few
typos.

Modifications to tctrl.c:

Add entrypoints to driver for open/close/ioctl/poll.
M

add <machine/tctrl.h> where needed.
Add some undocumented commands to the ts102 registers file, and fix a few
typos.

Modifications to tctrl.c:

Add entrypoints to driver for open/close/ioctl/poll.
Make device work with apmd. (still no support for suspend/sleep)
Make device work with ENVSYS API.
Slightly restructure handling of events.
Add function to make microcontroller requests.

show more ...


# 633fd1e1 21-Nov-1999 pk <pk@NetBSD.org>

Check presence of Sbus interrupt properties before using them.


# 385ed707 11-Aug-1999 matt <matt@NetBSD.org>

This now works properly and uses interrupts. If you close the lid, the
screen will turn off and when you open the lid screen turns on. If you
do too rapidly, the driver won't be notified but you ca

This now works properly and uses interrupts. If you close the lid, the
screen will turn off and when you open the lid screen turns on. If you
do too rapidly, the driver won't be notified but you can press the micro
switch and it will come back. Also "halt -p" now works so you don't
have to do Pause-P to powerdown.

show more ...


# ede200e1 09-Aug-1999 matt <matt@NetBSD.org>

Add a driver for the Tadpole SPARCbook microcontroller. It doesn't
do much yet (except for power down support). As sson as I figure
out to get its interrupts enabled, it will be much more functiona

Add a driver for the Tadpole SPARCbook microcontroller. It doesn't
do much yet (except for power down support). As sson as I figure
out to get its interrupts enabled, it will be much more functional.
(e.g., print console messages on low power warnings, be able to turn
off the TFT, etc.).

show more ...


123