| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Notes:
svn path=/head/; revision=188634
|
|
|
|
| |
Notes:
svn path=/head/; revision=154163
|
|
|
|
| |
Notes:
svn path=/head/; revision=139825
|
|
|
|
|
|
|
|
|
|
|
|
| |
2. Include backwards compatibility good for the moment (eventually will
be turned off in current, but allow for a short transition period).
PR: 51333
Submited by: Scott Mitchell (1)
MFC after: 2 weeks
Notes:
svn path=/head/; revision=113946
|
|
|
|
|
|
|
|
|
| |
the slot info. This brings OLDCARD's API much closer to NEWCARD and
will allow moving more information into the kernel from pccard.conf
for common drivers (ed).
Notes:
svn path=/head/; revision=100484
|
|
|
|
|
|
|
|
|
| |
that's binary compatible for -stable. While binary compatibility doesn't
matter much in -current, it is critical for -stable. This change requires
pccardd/pccardc to be recompiled.
Notes:
svn path=/head/; revision=99943
|
|
|
|
|
|
|
|
|
| |
id transfer from pccardd.
Reviewed by: imp
Notes:
svn path=/head/; revision=90967
|
|
|
|
| |
Notes:
svn path=/head/; revision=80464
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o kill blank line that I introduced in cardinfo.h
o Delete unused variable wasinactive.
o return 0 from pccard_resume.
o Set the state and lastsate initially to be empty.
o move comment above code for interrupt dispatching.
o Powerstate interface is now available as of 430002, not 500000 (note that
this change will be not 100% correct since the power state stuff didn't
enter current until well after 500000, but it is good enough for the two
branche we have going now).
Notes:
svn path=/head/; revision=80440
|
|
|
|
| |
Notes:
svn path=/head/; revision=80439
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
power x 0.
pccardc power x 0 used to disable the slot. But a suspend/resume
would reactivate the pccard. It no longer does that. Now the
disabling of the slot is sticy until it is reset with power x 1 or the
card is ejected. This seems closer to correct behavior to me.
o Process all card state changes the same using pccard_do_stat_change().
o Cleanup disabling the card so that we can preserve the state after
the change. Basically, don't set it to empty as often as we do.
o On suspend, the new state is "empty" and the laststate is "suspend"
o Document state machine with a diagram of states and edges. The
edges are labeld to tell the reader what event causes the external
state changes.
o "machdep.pccard.pcic_resume_reset" may be obsolete now. We always
call the bridge driver's resume method on resume now. Otherwise cards
won't automatically show up. If it needs to stay, I'll add it back.
Notes:
svn path=/head/; revision=80438
|
|
|
|
| |
Notes:
svn path=/head/; revision=76500
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
region for CIS reading" problem:
Use bus_alloc_resource to get the memory that we'll be using. Also
has the benefit of doing usage checking as well. This gets rid of the
ugly kludge that we had before for mapping pmem to vmem.
Second, move PIOCSRESOURCE to its own routine and make it conform more
to style(9) in the process.
Notes:
svn path=/head/; revision=74807
|
|
|
|
| |
Notes:
svn path=/head/; revision=67650
|
|
|
|
|
|
|
|
|
|
| |
Now /usr/sbin/pccardd read free resource(io,irq) range with
this ioctl.
Original Idea from: PAO3
Notes:
svn path=/head/; revision=65991
|
|
|
|
|
|
|
|
|
|
| |
related PAO3/ports such as gxcardmon work.
Reviewed by: imp
Obtained from: PAO3
Notes:
svn path=/head/; revision=64878
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For example, when /etc/pccard.conf had ed0 in config line, but kernel
refused this name and said
devclass_alloc_unit: ed0 already exists, using next availale unit
number
Kernel used ed1 as device name and it did not match with config and
insert/remove lines. Fortunately, dhclient was called without args,
and it works, but if we wanted to use static IP address for PC-card,
it did not work.
This modification makes pccardd to execute insert/remove lines with
the true device name that returns from kernel. (Last change to
etc/pccard.conf.sample eliminated all hardwired device name from
insert/remove lines in /etc/pccard.conf)
Notes:
svn path=/head/; revision=56095
|
|
|
|
|
|
|
|
|
| |
is an application space macro and the applications are supposed to be free
to use it as they please (but cannot). This is consistant with the other
BSD's who made this change quite some time ago. More commits to come.
Notes:
svn path=/head/; revision=55206
|
|
|
|
| |
Notes:
svn path=/head/; revision=54021
|
|
|
|
|
|
|
|
|
|
|
| |
o Add field to dev_desc for the size of the io port range. This isn't
used yet in the committed sources, but will make the transition easier
in the future.
If you build this into your kernel, you will need to rebuild pccardd.
Notes:
svn path=/head/; revision=49352
|
|
|
|
|
|
|
|
| |
Obtained from: PAO3
Reviewed by: -current list
Notes:
svn path=/head/; revision=43964
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
was really removed, or simply 'faked' by a suspend/resume. Keep track
of both current and previous state, and send that information to the
userland programs.
[
XXX - This breaks binary compatability with older pccardd programs, but
they don't work reliably. :(
]
Notes:
svn path=/head/; revision=35345
|
|
|
|
|
|
|
|
|
| |
the card.h that config builds.
[ Repository renaming done in the background to save the card.h history ]
Notes:
svn path=/head/; revision=31289
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
removed. Add a new state 'suspend' so we 'fake' insertion events at
resume time for the cards that have been suspended.
[
The code still works if you remove the card during suspend, switch the
card during suspend, or combinations of both.
]
Reviewed by: frf@xocolatl.com
Notes:
svn path=/head/; revision=30815
|
|
|
|
|
|
|
|
|
|
| |
around with different noises for the different events and not have it
affect other files.
Inspired by: PAO
Notes:
svn path=/head/; revision=30723
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
follow.
* Rename/reorder all of the pccard structures, change many of the member
names to be descriptive, and follow more closely other 'bus' drivers
naming schemes.
* Rename a bunch of parameter and local variable names to be more
consistant in the code.
* Renamed the PCCARD 'crd' device to be the 'card' device
* KNF and make the code consistant where it was obvious.
* ifdef'd out some unused code
Notes:
svn path=/head/; revision=30720
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- don't include <sys/ioctl.h> in any header. Include <sys/ioccom.h>
instead. This was already done in 4.4Lite for the most important
ioctl headers. Header spam currently increases kernel build
times by 10-20%. There are more than 30000 #includes (not counting
duplicates) for compiling LINT.
- include <sys/types.h> if and only it is necessary to make the header
almost self-sufficient (some ioctl headers still need structs from
elsewhere).
- uniformized idempotency ifdefs. Copied the style in the 4.4Lite
ioctl headers.
Notes:
svn path=/head/; revision=18444
|
|
|
|
|
|
|
|
|
|
| |
Japanese BSD-Nomad release.
Reviewed by: phk
Submitted by: hosokawa@mt.cs.keio.ac.jp and the rest of the Nomads
Notes:
svn path=/head/; revision=14172
|
|
|
|
|
|
|
|
|
|
| |
Remove the APM stuff
Add support for VA469
Submitted by: Janic.Thaillandier@ratp.fr
Notes:
svn path=/head/; revision=12173
|
|
|
|
| |
Notes:
svn path=/head/; revision=10914
|
|
This is still very green, but I have managed to get my modem working.
Lots of work still to do, but now at least we can commit it. /phk
Reviewed by: phk
Submitted by: Andrew McRae <andrew@mega.com.au>
Notes:
svn path=/head/; revision=10216
|