| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=70303
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add PIOCSRESOURCE(IOC_GET_RESOURCE_RANGE).
Now /usr/sbin/pccardd read free resource(io,irq) range with
this ioctl.
- Add Vpp power at 5.0V rather than 0.(sys/pccard/pccard.c)
- Remove 9 unnecessary includes.
- here is no atdevbase on the alpha. Hide this case statement
on alpha until the design/implementation is complete
(sys/pccard/pccard.c 1.107->1.108)
- Add PnP Id: ACTIONTECH and SMC Swapbox Plug and Play
- Add some debug stuff hidden behind bootverbose.
(sys/pccard/pcic.c 1.96->1.97)
- check {IO,IRQ}_ASSIGNED flags before release {io,irq} resources.
- fix multi io window in release io routine
- print out error reason if it was failed in assign_io
sys/pccard
cardinfo.h 1.17 -> 1.18
pccard.c 1.107 -> 1.108
1.109 -> 1.112
pccard_nbk.c 1.21 -> 1.22
pcic.c 1.96 -> 1.98
pcic.h 1.6 -> 1.7
sys/dev/pcic
i82365reg.h 1.3 -> 1.5
usr.sbin/pccard/pccardd
cardd.c 1.56 -> 1.63
cardd.h 1.25 -> 1.26
util.c 1.15 -> 1.16
Obtained from: PAO
Notes:
svn path=/stable/4/; revision=67140
|
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=60810
|
| |
|
|
|
|
|
| |
Approved by: jkh
Notes:
svn path=/head/; revision=57881
|
| |
|
|
|
|
|
|
| |
working on this code, or things that I think are layering violations.
Plus a minor whitespace cleanup in one place while I'm at it.
Notes:
svn path=/head/; revision=55712
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
layer is trying to access the now unexistant chip functions.
o Added DEVPRINTF which is like DPRINTF only calls device_printf.
o Made it possible to define PCICDEBUG
o Remove ph_parent and use the softc pointer sc instead in pcic_handle.
o Remove all references to dv_xname
o Add some debug messages.
o enable MI attach/detach calling for pccard.
o convert pcic_chip_socket_{en,dis}able to pcic_{dis,en}able_socket
and connect them to the power_{enable,disbale}_socket.
o Remove pccard pointer from pcic_softc.
o GC some unused pccard functions.
o Convert pccard_chip_socket* to POWER_ENABLE_SOCKET
o kill pccard_attach_args.
o power_if.m updates. More to come.
Notes:
svn path=/head/; revision=55500
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
now, but we're getting interrupts!
o Add pcic_suspend/pcic_resume so we can detach our children on suspention
and fix the state of the pcic on resume.
o Remove some unused parts of softc.
o Centralize resource activation/deactivation for pcic bridge chip in
the stylistic pcic_activate/pcic_deactivate.
o Add bus_print_child method so we can see the pccard attachment.
o Add pcic_identify in an attempt to make it possible to automatically id
the pcic devices. This works great, but we cannot divine the irq to use
from this method, nor the memory hole. For the moment, KLUDGE irq to be
10 and memory hold to be 0xd0000.
o Loose the pnp probe stuff. This may be a big mistake, but it is easy
enough to add back later. I did this so the identify routines can do their
thing unmolested by pnp information. The whole identify thing may be a bad
idea to be ripped out later.
o change return type of pcic_intr to void, make it static and ripple
this through the code.
o Add explicit call to bus_generic_attach at the end of pcic_attach to
get any children probed/attached.
o add some comments about future directions/questionable things being
done at different layers, etc.
Notes:
svn path=/head/; revision=55325
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
or less. This is a kludge because there is no support for delayed
creation of threads early in the boot process.
NEWCARD new boots and the thread process starts and is visible from
ps.
Now, on to dev/pccard.
Notes:
svn path=/head/; revision=54938
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
config_intrhook_establish doesn't work. Children aren't yet attached
properly, but that's ok because pccard would likely panic in its
current shape.
o Save dev of pcic early in attach process
o save dev in pcic_handle for use in pcic_create_event_thread.
o Remove direct attachments of pccard children for now
o move establishment of pcic kthread to config_intrhook.
Notes:
svn path=/head/; revision=54871
|
| |
|
|
|
|
|
|
|
| |
o Attach children in a better way than before.
o Remove some dead code
o collapse the socket attach routines into pcic_attach
Notes:
svn path=/head/; revision=54812
|
| |
|
|
|
|
|
|
|
|
|
| |
o minor formatting nits
o remove the bus_map/unmap calls. FreeBSD doesn't need them.
o Fix most of the compiler warnings remaining (some still remain, but they
are releated to calling functions that are going to change, so I did
not bother).
Notes:
svn path=/head/; revision=54733
|
| |
|
|
| |
Notes:
svn path=/head/; revision=54626
|
| |
|
|
|
|
|
|
|
| |
Saticize _isa.c
Kill compile warnings for _isa.c
Remove obsolete comment from i82365.c
Notes:
svn path=/head/; revision=54347
|
| |
|
|
|
|
|
|
|
|
|
| |
per discussions on -arch. This is different than -current's pccard
code, but shouldn't have any real difference.
o More code cleanup.
Next step: convert bus_space_* mapping stuff to newbus.
Notes:
svn path=/head/; revision=54276
|
| |
|
|
|
|
|
|
|
|
| |
o Implement memory and I/O activation/deactivation. irq not handled.
o switch pcic_chip functions around to use more convenient types.
o kill __P and most of the old K&R prototypes just to be mean.
o minor other nits
Notes:
svn path=/head/; revision=54250
|
| |
|
|
| |
Notes:
svn path=/head/; revision=54193
|
| |
|
|
|
|
|
|
|
| |
pcic_attach_sockets. Rework bus width probe mapping and unmapping to
use the newbus bus_{allocate,release}_resource with a rid of 1 to work
on FreeBSD. Remove a few now unneeded #includes.
Notes:
svn path=/head/; revision=53876
|
| |
|
|
|
|
|
|
|
|
| |
socket attach code. We now have at least a chance for pccard devices
appearing in the future.
This is a snapshot of ongoing work. Proceed at your own risk.
Notes:
svn path=/head/; revision=53855
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
before newbusification hits full steam ahead.
All:
Adjust NetBSD labels to reflect new base versions.
dev/pcic/i82365.c:
1.24 Interface change for kernel threads
1.25 Massive unification for cardbus
dev/pcic/i82365var.h
1.8 Massive unification for cardbus
dev/pcic/i82365_isasubr.c
1.3 Massive unification for cardbus
dev/pccard/pccard_cis.c
1.11 Massive unification for cardbus
(better device printing, better memspace calcs)
dev/pccard/pccard_cis_quirks.c
1.4,1.5 Lotsa 3com devices
dev/pccard/pccardchip.h
1.4 Massive unification for cardbus
dev/pccard/pccarddevs
1.33..1.59 Lots of devices
Notes:
svn path=/head/; revision=53813
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Delete pcic1 from NEWCARD
o Add explicit resource hints to pcic0
o Get attach working with newbus, kinda (it does all the newbus stuff,
but doesn't try to attach the pccard yet, too many panics).
o Disable ie0 and le0 in NEWCARD config. There appears to be a bug in
the isa_compat code wrt memory conflicts with newbus drivers for
reasons unknown.
o Minor cleanups.
Notes:
svn path=/head/; revision=53449
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Rewrite probe code to work in the newbus world.
o Add preliminary pnp support. I have no clue what the pnp ids for
the older ISA machines/cards. I don't have any of these cards/machines
so I'll have to rely on the user community to give me help.
o Minor code reformatting.
Attach hasn't been touched, and there may be some config issues that
we need to deal with as well. These will follow in time.
Notes:
svn path=/head/; revision=53318
|
| |
|
|
| |
Notes:
svn path=/head/; revision=52548
|
|
|
(yet) compile and link. Renamed pcic back to pcic from pcicx, but
conditionalize its inclusion on pccard being included also. card is
the old and pccard is the new, which is a handy way to have both in
the tree at the same time.
Obtained from: newconfig project
More to follow...
Notes:
svn path=/head/; revision=52528
|