| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Submitted by: Michel Lavondès <fox@vader.aacc.cc.md.us>
PR: docs/66823
Reviewed by: simon
|
|
|
|
|
|
|
|
| |
GCC doesn't warn about them without -pedantic.
Approved by: das (mentor)
PR: 56649
Reviewed by: md5
|
|
|
|
|
| |
No objections from: ume
MFC after: 2 weeks
|
|
|
|
|
|
|
|
| |
in rev. 1.15 pccardd.c.
Reported by: osa
OK'ed by: imp
MFC after: 2 weeks
|
|
|
|
| |
Update the comments too.
|
|
|
|
|
|
|
| |
'any' interrupt. There's no reason not to be liberal here and accept
the PAO syntax.
MFC After: 2 weeks
|
|
|
|
|
|
| |
devices. Only some devices support above 0x400, but since you have to
explicitly enable this range, you are assumed to know what you are
doing.
|
|
|
|
|
|
|
| |
specification format.
Approved by: schweikh (mentor)
MFC after: 2 weeks
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
PR: 51333
Submitted by: Scott Mitchell
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
one three times before we did the dump. Also, we printed 0x00 for the
tuple type rather than the actual tuple type. Now, we print the
actual tuple type. This appears to have no ill effects.
Should get rid of the
Code NN not found
and
code Unknown ignored
messages. The ignored messages are still generated for tuples tuples
who have a minimum length set and we find a tuple of that type that's
shorter than the minimum length.
|
| |
|
|
|
|
|
|
| |
structure from a file instead of a PC-CARD itself before parsing and
dumping it. (E.g. useful when you get a CIS file from a manufacturer
which fixes they broken card's CIS, and add it to the pccard quirks.)
|
|
|
|
| |
Add FreeBSD Id tag where missing.
|
|
|
|
| |
Approved by: re
|
|
|
|
|
|
|
| |
just say that the reasons are historical.
Pr: 41104
Submitted by: hiten
|
|
|
|
|
|
|
| |
is useful for low memory systems.
PR: 36418
Submitted by: Forrest W. Christian
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
|
|
|
|
|
| |
PR: 36214
Submitted by: Nagy Attila <bra@fsn.hu>
|
|
|
|
| |
Reviewed by: imp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before, we were using
while (*p++ && --len > 0);
to do this. However, len doesn't get decremented for the NUL byte, so when
we used len later to see if we still have CIS left for some optional fields,
we'd run off the end of an array and dump core.
Instead, replace it with
len -= strlen(p) + 1;
p += strlen(p) + 1;
which is more correct. It is a little bogus to assume that p points to
a valid C string, but only a little. The PC Card SPEC mandates that it
does, and we already depend on that with the use of strdup a few lines
earlier. Since much of the rest of the cis parsing code isn't hyper
retentive about error checking, I'll leave that level of checking for
another time and/or another committer :-).
|
|
|
|
|
|
|
|
|
|
|
| |
card "MELCO" "LPC2-T"
and
card "MELCO" "LPC2-TX"
by this fix.
Reported by: Kitagawa Shoichi <sk@xstar.kiu.ac.jp>,
NINOMIYA Hideyuki <nin@shikoku.ne.jp>
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
the config file. This fixes the breakage caused by the recent change
in the behavior of device_add_child for ata (which shows soren's
reservations were well founded).
Submitted by: OGAWA Takaya <t-ogawa@triaez.kaisei.org>
|
|
|
|
| |
Debug info from: Ben Hockenhull <benh@jpj.net>
|
|
|
|
|
|
|
|
| |
16 bits access is required by nsp driver to work in SMIT mode.
Since previously (1.65 and before in current, and 1.46.28 and before
in stable branch) 16 bits access was default, I hope it will break nothing.
Okayed-by: imp
|
|
|
|
|
|
|
|
| |
on older kernels correctly. Terminate the loop when we find a
suitable irq. Also, only try to select from the pool. Cleaned up the
two cases (IRQ picked by the user and ?) into one.
MFC upon re approval.
|
|
|
|
|
|
| |
use it. If not, then loop asking for each one, with normal -I
processing. This will effectively disable -I for when the pcic is in
PCI function interrupt routing mode.
|
|
|
|
|
|
|
| |
some of the config problems that we've been seeing (where wi0 tries to
allocate 0x138-0x198, for example).
Use err(1,"foo") rather than perror + exit while I'm here.
|
|
|
|
|
|
|
|
|
|
| |
will soon return the irq from the pcic bridge in cases where't that's
appropriate.
Note: I've had to disbale -I option for the moment. I've made it easy
to reenable it for people that need it.
MFC After: soon!
|
|
|
|
|
| |
Document intended correct behavior for pccardc power and how it interacts
with suspend/resume.
|
|
|
|
|
| |
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
#ifdef it out for now.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The PCCard daemon can hang indefinately while reading its
configuration file. If the last line of the file is a comment line
that does not end in a newline, the program goes into an infinite
loop searching for the non-existent newline.
This fix, provided by the PR, will allow files ending without a newline
to be read without hanging.
Submitted by: Crist J. Clark <cjclark@alum.mit.edu>
PR: bin/25791
|