331722 |
29-Mar-2018 |
eadler |
Revert r330897:
This was intended to be a non-functional change. It wasn't. The commit message was thus wrong. In addition it broke arm, and merged crypto related code.
Revert with prejudice.
This revert skips files touched in r316370 since that commit was since MFCed. This revert also skips files that require $FreeBSD$ property changes.
Thank you to those who helped me get out of this mess including but not limited to gonzo, kevans, rgrimes.
Requested by: gjb (re) |
330897 |
14-Mar-2018 |
eadler |
Partial merge of the SPDX changes
These changes are incomplete but are making it difficult to determine what other changes can/should be merged.
No objections from: pfg |
315221 |
14-Mar-2017 |
pfg |
MFC r313982, r314068: sys: Replace zero with NULL for pointers.
Found with: devel/coccinelle |
302408 |
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
298411 |
21-Apr-2016 |
pfg |
Remove slightly used const values that can be replaced with nitems().
Suggested by: jhb
|
297365 |
28-Mar-2016 |
imp |
Move pccard_safe_quote() up to subr_bus.c and rename to devctl_safe_quote() so it can be used more generally.
|
297000 |
18-Mar-2016 |
jhibbits |
Use uintmax_t (typedef'd to rman_res_t type) for rman ranges.
On some architectures, u_long isn't large enough for resource definitions. Particularly, powerpc and arm allow 36-bit (or larger) physical addresses, but type `long' is only 32-bit. This extends rman's resources to uintmax_t. With this change, any resource can feasibly be placed anywhere in physical memory (within the constraints of the driver).
Why uintmax_t and not something machine dependent, or uint64_t? Though it's possible for uintmax_t to grow, it's highly unlikely it will become 128-bit on 32-bit architectures. 64-bit architectures should have plenty of RAM to absorb the increase on resource sizes if and when this occurs, and the number of resources on memory-constrained systems should be sufficiently small as to not pose a drastic overhead. That being said, uintmax_t was chosen for source clarity. If it's specified as uint64_t, all printf()-like calls would either need casts to uintmax_t, or be littered with PRI*64 macros. Casts to uintmax_t aren't horrible, but it would also bake into the API for resource_list_print_type() either a hidden assumption that entries get cast to uintmax_t for printing, or these calls would need the PRI*64 macros. Since source code is meant to be read more often than written, I chose the clearest path of simply using uintmax_t.
Tested on a PowerPC p5020-based board, which places all device resources in 0xfxxxxxxxx, and has 8GB RAM. Regression tested on qemu-system-i386 Regression tested on qemu-system-mips (malta profile)
Tested PAE and devinfo on virtualbox (live CD)
Special thanks to bz for his testing on ARM.
Reviewed By: bz, jhb (previous) Relnotes: Yes Sponsored by: Alex Perez/Inertial Computing Differential Revision: https://reviews.freebsd.org/D4544
|
296336 |
03-Mar-2016 |
jhibbits |
Replace all resource occurrences of '0UL/~0UL' with '0/~0'.
Summary: The idea behind this is '~0ul' is well-defined, and casting to uintmax_t, on a 32-bit platform, will leave the upper 32 bits as 0. The maximum range of a resource is 0xFFF.... (all bits of the full type set). By dropping the 'ul' suffix, C type promotion rules apply, and the sign extension of ~0 on 32 bit platforms gets it to a type-independent 'unsigned max'.
Reviewed By: cem Sponsored by: Alex Perez/Inertial Computing Differential Revision: https://reviews.freebsd.org/D5255
|
296137 |
27-Feb-2016 |
jhibbits |
Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere().
Most calls to bus_alloc_resource() use "anywhere" as the range, with a given count. Migrate these to use the new bus_alloc_resource_anywhere() API.
Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D5370
|
295832 |
20-Feb-2016 |
jhibbits |
Introduce a RMAN_IS_DEFAULT_RANGE() macro, and use it.
This simplifies checking for default resource range for bus_alloc_resource(), and improves readability.
This is part of, and related to, the migration of rman_res_t from u_long to uintmax_t.
Discussed with: jhb Suggested by: marcel
|
294883 |
27-Jan-2016 |
jhibbits |
Convert rman to use rman_res_t instead of u_long
Summary: Migrate to using the semi-opaque type rman_res_t to specify rman resources. For now, this is still compatible with u_long.
This is step one in migrating rman to use uintmax_t for resources instead of u_long.
Going forward, this could feasibly be used to specify architecture-specific definitions of resource ranges, rather than baking a specific integer type into the API.
This change has been broken out to facilitate MFC'ing drivers back to 10 without breaking ABI.
Reviewed By: jhb Sponsored by: Alex Perez/Inertial Computing Differential Revision: https://reviews.freebsd.org/D5075
|
292079 |
11-Dec-2015 |
imp |
Create a generic PCCARD_PNP_INFO from the MODULE_PNP_INFO building block. Use it in all the PNP drivers to export either the current PNP table. For uart, create a custom table and export it using MODULE_PNP_INFO since it's the only one that matches on function number.
Differential Review: https://reviews.freebsd.org/D3461
|
275434 |
03-Dec-2014 |
imp |
Remove unused PCMCIA_CARD* macros.
Always include the card human readable name. We support ~270 cards and at ~20 bytes each, this bloats things by only ~5k. Retain the PCMCIA_CARD vs PCMCIA_CARD_D distinction, though, in case this is intolerable.
|
274879 |
22-Nov-2014 |
imp |
Retire old, transition code for managing the FreeBSD 5 -> 6 migration.
|
267992 |
28-Jun-2014 |
hselasky |
Pull in r267961 and r267973 again. Fix for issues reported will follow.
|
267985 |
27-Jun-2014 |
gjb |
Revert r267961, r267973:
These changes prevent sysctl(8) from returning proper output, such as:
1) no output from sysctl(8) 2) erroneously returning ENOMEM with tools like truss(1) or uname(1) truss: can not get etype: Cannot allocate memory
|
267961 |
27-Jun-2014 |
hselasky |
Extend the meaning of the CTLFLAG_TUN flag to automatically check if there is an environment variable which shall initialize the SYSCTL during early boot. This works for all SYSCTL types both statically and dynamically created ones, except for the SYSCTL NODE type and SYSCTLs which belong to VNETs. A new flag, CTLFLAG_NOFETCH, has been added to be used in the case a tunable sysctl has a custom initialisation function allowing the sysctl to still be marked as a tunable. The kernel SYSCTL API is mostly the same, with a few exceptions for some special operations like iterating childrens of a static/extern SYSCTL node. This operation should probably be made into a factored out common macro, hence some device drivers use this. The reason for changing the SYSCTL API was the need for a SYSCTL parent OID pointer and not only the SYSCTL parent OID list pointer in order to quickly generate the sysctl path. The motivation behind this patch is to avoid parameter loading cludges inside the OFED driver subsystem. Instead of adding special code to the OFED driver subsystem to post-load tunables into dynamically created sysctls, we generalize this in the kernel.
Other changes: - Corrected a possibly incorrect sysctl name from "hw.cbb.intr_mask" to "hw.pcic.intr_mask". - Removed redundant TUNABLE statements throughout the kernel. - Some minor code rewrites in connection to removing not needed TUNABLE statements. - Added a missing SYSCTL_DECL(). - Wrapped two very long lines. - Avoid malloc()/free() inside sysctl string handling, in case it is called to initialize a sysctl from a tunable, hence malloc()/free() is not ready when sysctls from the sysctl dataset are registered. - Bumped FreeBSD version to indicate SYSCTL API change.
MFC after: 2 weeks Sponsored by: Mellanox Technologies
|
237692 |
28-Jun-2012 |
imp |
Simplify resource activation a bit.
|
228471 |
13-Dec-2011 |
ed |
Replace `inline static' by `static inline'.
If I interpret the C standard correctly, the storage specifier should be placed before the inline keyword. While at it, replace __inline by inline in the files affected.
|
227309 |
07-Nov-2011 |
ed |
Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs.
The SYSCTL_NODE macro defines a list that stores all child-elements of that node. If there's no SYSCTL_DECL macro anywhere else, there's no reason why it shouldn't be static.
|
222764 |
06-Jun-2011 |
imp |
Make a couple of debug printfs DEVPRINTF.
|
215034 |
09-Nov-2010 |
brucec |
Fix typos.
PR: bin/148894 Submitted by: olgeni
|
201453 |
03-Jan-2010 |
imp |
cardbus -> CardBus
|
191468 |
24-Apr-2009 |
imp |
Another PC Card that needs the CIS strings for the Surecom EP-427X, which really is just a rebadged OEM card... Plus a tiny whitespace nit.
|
191393 |
22-Apr-2009 |
imp |
A couple of older Melco cards that missed the transition to newcard
|
191390 |
22-Apr-2009 |
imp |
Add Billionton LNT-10TB variant
|
191385 |
22-Apr-2009 |
imp |
Add AmbiCom AMB8002, AMB8010 (2 variants) and AMB8610. These were inferred from data in the linux driver.
|
191036 |
14-Apr-2009 |
imp |
Another NE-2000 clone. The GVC NIC-2000P Ethernet adapter. Based on the MN5017 chipset. There's no vendor/product pair on this card, so it needs to be matched by the CIS strings.
|
190795 |
07-Apr-2009 |
imp |
Another GlobalVillage card.
|
190476 |
27-Mar-2009 |
imp |
Sort NECINFORTIA correctly.
|
190473 |
27-Mar-2009 |
imp |
Harvest a previously unknown Bromax design based on the AX88x90 from the Linux axnet driver.
|
190429 |
25-Mar-2009 |
imp |
RIOS Systems co was naughty and used a 'random' id. Use it with the PCCARD3 name to describe the RIOS PC Card III Ethernet that I have.
|
190408 |
25-Mar-2009 |
imp |
Another akihabra find: Mitsubishi B8895.
|
189683 |
11-Mar-2009 |
imp |
Remove old compat method that's no longer needed (and hasn't been since just before 6.0).
|
189682 |
11-Mar-2009 |
imp |
Allow zero length memroy space descriptor sections. It is apparently legal in the spec. Add newline to the verbose messages we print when debugging when this happens. The Hitachi HT-4840-11 is the only card to hit these in years, and it works well enough if we're liberal about what we accept.
|
189680 |
11-Mar-2009 |
imp |
Add entry for Hitachi HT-4840-11, which is a fe-based card.
|
189679 |
11-Mar-2009 |
imp |
Add 3 new cards that I found today in akihabara...
Toshiba LANCT00A TDK LAK-CD011 TJ PTJ-LAN/T PC-NIC ENCC 990010759-001A
|
189318 |
03-Mar-2009 |
imp |
Add in parsing of the disk FUNCE tuples.
|
188219 |
06-Feb-2009 |
imp |
Store the entire funce for disk type functions (eg CF cards and the like).
|
188212 |
05-Feb-2009 |
wkoszek |
Bring consistent debugging output for all values that are supposed to be printed in a hexadecimal format. Otherwise, '270' doesn't say much.
Reviewed by: imp
|
188180 |
05-Feb-2009 |
imp |
do_product_lookup should return a const struct pccard_product *.
|
188179 |
05-Feb-2009 |
imp |
Fix parameter types for set_res_flags and read_ivars
|
186795 |
05-Jan-2009 |
imp |
Define bits for memory mapping house keeping by bridges.
|
182251 |
27-Aug-2008 |
imp |
Remove opt_wi.h from module and fix typo in pccarddevs.
|
182236 |
27-Aug-2008 |
imp |
The APDL-325 is a Wireless LAN pcmcia adapter that sits inside some Billion Access Points. Fix wi(4) to recognise the adapter.
PR: 77913 Submitted by: Daan Vreeken [PA4DAN] MFC after: 3 days
|
182229 |
27-Aug-2008 |
imp |
Some PC Cards don't have the proper IRQ mask in them. The standard says that in such cases we can pick any interrupt. One of these cards is the LG11 Wireless LAN card. I don't have one of these, but I do know that this doesn't hurt any cards I've tried it with.
PR: 92070 Submitted by: Helge Oldach MFC after: 3 days
|
182142 |
25-Aug-2008 |
imp |
MFp4: necessary quirks to get 3c1 not working (still no interrupts)
|
181395 |
07-Aug-2008 |
imp |
Fix a small problem in the comment about departure from NetBSD. Also, r181392 fixed a small problem with multifunction cards that would cause the card not to power down when the last driver detached from it.
|
181392 |
07-Aug-2008 |
imp |
Add NEC PC-9802N-J02 (confirmed) and NEC PC-9202N-J02R (speculative) to the list of devices.
|
181342 |
06-Aug-2008 |
imp |
Unify the initial card probe/attach procedure with the kldload procedure. There were some subtle differences before that could lead to a variety of bugs, including resources being lost (in one case forever). pccard_probe_and_attach_card does this now, and includes comments about what's going on and why, since it isn't obvious from the code. Please let me know if I've missed anything...
Provide a new function called pccard_select_cfe that allows drivers to select which configuration entry to use. This is needed for some older pre-MFC standard cards with many functions that want to activate all their functions by selecting alternative entries, or to work around broken ones. pccard_select_cfe will migrate into the pccard_if.m interface as its interface stabilizes to keep all the pccard drivers from referencing any symbols in the pccard.ko module directly.
Fix a printf to refer to the right function name.
|
181208 |
02-Aug-2008 |
imp |
Add an alternative ID for the Siemens SpeedStream SS1021: 0x3021.
|
180314 |
06-Jul-2008 |
imp |
Merge from NetBSD's pcmciadev file (rev ~1.208 - 1.226) where appropriate (versions not appropriate to merge omitted): o 1.226 imp nop, save for NetBSD string (minor merging the other way) o 1.225 jnemeth Coreage LAPCCTXD o 1.224 martin (remove 3rd and 4th clauses) o 1.223 kiyohara (TDK bluetooth PC Card) o 1.222 kiyohara (Anycom BlueCard) o 1.221 ichiro (NEC Infrontia AX420N) o 1.219 jmcneill (EDIMAX EP-4101) o 1.213 tsutsui (TEAC IDECARDII entry fix)
Also, while I'm here, fix some tab problems that have crept in.
|
179483 |
01-Jun-2008 |
imp |
Slight simplification of the power parsing code, as well as using autoincrement in some places where it makes sense. This makes this .o about 180 bytes smaller on x86 and amd64 with no apparent functional changes.
|
176868 |
06-Mar-2008 |
rink |
Commit cmx(4), a driver for Omnikey CardMan 4040 PCMCIA smartcard readers.
PR: kern/114582 Submitted by: Daniel Roethlisberger <daniel@roe.ch> Reviewed by: imp, myself Tested by: johans, myself MFC after: 2 weeks
|
172572 |
12-Oct-2007 |
remko |
Bring in some new Sierra Wireless drivers running under pccard.
(AC710/AC750/AC850/A550/A555/A710/A750)
PR: kern/110190 Submitted by: Pascal Vizeli<pvizeli at yahoo dot de> Approved by: imp (mentor)
MFC After: 1 week
|
171352 |
11-Jul-2007 |
imp |
Add Micro Research PCMCIA LAN Adapter MR10TPC support. Patch slightly reworked by me.
Submitted by: Osamu Hasegawa-san PR: 93393 Approved by: re (hrs)
|
170849 |
16-Jun-2007 |
imp |
only register a ithread handler if the card requests an ithread handler.
|
170163 |
31-May-2007 |
piso |
Make the interrupt handler wrapper capable of correctly support filter+ithread handler.
Discussed and reviewed with: bsdimp, simokawa
|
167086 |
27-Feb-2007 |
jhb |
Use pause() rather than tsleep() on stack variables and function pointers.
|
166901 |
23-Feb-2007 |
piso |
o break newbus api: add a new argument of type driver_filter_t to bus_setup_intr()
o add an int return code to all fast handlers
o retire INTR_FAST/IH_FAST
For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current
Reviewed by: many Approved by: re@
|
166789 |
16-Feb-2007 |
imp |
CompUSA mutli-format pcmica flash reader/writer
|
166788 |
16-Feb-2007 |
imp |
Updated tuple list, kinda
|
166787 |
16-Feb-2007 |
imp |
Add poitner to JEDEC publication 106
|
166453 |
03-Feb-2007 |
imp |
We need to free the ivars for the child that we just deleted.
|
161108 |
09-Aug-2006 |
imp |
Thomas Wintergerst reports that when this tsleep went away, certain cards stopped working. Specifically the AVM B1 PCMCIA Card no longer detected. Its CIS chain read back as all FF's. Putting the delay back solves those problems. I've opted to put in a much shorter delay because as far as I can tell, no delay is really needed here. We'll see how well this works in practice.
|
160336 |
14-Jul-2006 |
imp |
Fix a few cis entries that were separated with spaces, not with commas. This caused drivers for the cards they matched to not probe.
|
158371 |
08-May-2006 |
imp |
replace all the 660 with 650 in the cut-n-pasted line, rather than just some of them.
Noticed by: brooks
|
158370 |
08-May-2006 |
imp |
Another NEW MEDIA .WAVjammer.
|
158368 |
08-May-2006 |
imp |
The D-Link DE-650 that I got in the last bulk PC Card purchase needs an entry. Add it (back).
|
158086 |
27-Apr-2006 |
imp |
When pccard_safe_quote is passed NULL for src, it shouldn't panic.
Someone sent me this a while ago, but I can't find who to give them proper credit...
|
153773 |
28-Dec-2005 |
imp |
Add some sanity checking to the pccard insertion case. Whine if the bridge tries to tell us about a new card when we have one already in the socket.
|
151839 |
29-Oct-2005 |
imp |
Add Global Village lan modem. Add Billionton LNA-100B[1]
Reported by: [1] Alan newsletter at acsoftware dot org
|
151368 |
16-Oct-2005 |
imp |
Mempage should be 1024 not 4096. This fixes the multiple 16-bit cards failing to work in, eg, Soekris boxes.
This is a critcal fix for 6.0.
MFC After: ASAP
|
151322 |
14-Oct-2005 |
imp |
Change I-O data WB-B11/CFZ entry to ELSA XI330 as the former is a rebadged version of the latter.
|
151226 |
11-Oct-2005 |
imp |
IDs for generic card, airvast wm_100, i-o data wn-b11/cfz
Some of these may have been obtained from OpenBSD...
|
150533 |
25-Sep-2005 |
imp |
Remove OLDCARD vestiges from here
|
150532 |
25-Sep-2005 |
imp |
Fix comment
|
150519 |
24-Sep-2005 |
imp |
Remove unnecessary Dlink de650 entry
|
150468 |
22-Sep-2005 |
imp |
Remove compat layer for OLDCARD compatibility. All instances of it are now gone from the tree.
|
150441 |
21-Sep-2005 |
imp |
Better descriptions for the Jack of Diamonds cards.
|
150432 |
21-Sep-2005 |
imp |
Don't confuse the tuple code and the tuple length. Ooops. Since most CIS are tiny, this likely hasn't bit anybody yet...
|
150400 |
20-Sep-2005 |
imp |
Use the correct minor number for the pccardX.cis device. Don't destroy a NULL device.
This should fix the panics on boot people are seeing on systems with more than one pccard slot.
|
150391 |
20-Sep-2005 |
imp |
remove some dead code
|
150371 |
20-Sep-2005 |
glebius |
Fix build.
|
150362 |
20-Sep-2005 |
imp |
Implement /dev/pccardN.cis. This mirrors the CIS for the card to userland.
pccardc dumpcis /dev/pccardN.cis will work now, but I may rewrite pccardc.
Also, move more of the private data to a new file called pccardvarp.h.
|
150361 |
20-Sep-2005 |
imp |
Call the passed function on cis scanning for all nodes in the CIS chains, not just the 'real' ones.
|
150098 |
13-Sep-2005 |
imp |
Add a few new functions interfaces to allow reading/writing attribute memory, the CCR and a tweak to cis_scan.
|
150097 |
13-Sep-2005 |
imp |
Define and use PCCARD_MEM_PAGE_SIZE.
|
150095 |
13-Sep-2005 |
imp |
MFp4: Remove stale functions.
|
149922 |
10-Sep-2005 |
imp |
MFp4:
Reduce the size of ed a little by removing some CIS based entries (others likely can be removed too): o The D-Link DFE-670TXD doesn't need its own entry based on strings. o The Xircom CompactCard appears to be a TDK design, so list it there by ID and remove the strings.
Increase the size of ed a little: o Add support for the Addtron AE-660CT and Addtron AE-660. This is a very generic NE-2000 clone (so generic that its CIS tags say NE-2000 generic card!).
|
149869 |
07-Sep-2005 |
imp |
Sorting the belly button lint of history:
o Note that the first 255 locations are reserved for JEDEC Ids from publication 106 (current revision Q, each one verified with JEDEC and the PMCICA). o Move ADAPTEC2 to the right section. o Sort TOSHIBA2 numerically.
|
149674 |
31-Aug-2005 |
imp |
Update for a few recently discovered Olicom token ring cards: OC3231 Token Ring + 28.8 modem OC3232 Token Ring + 33.6 modem
|
149561 |
29-Aug-2005 |
imp |
Global Village appears to be using 0x018c as its vendor ID, but this doesn't appear in the official lists, so make a note of that.
|
148141 |
18-Jul-2005 |
imp |
o Add Toshiba's id. Make AGERE an alias for LUCENT. Add Ungermann's ID. o Add Agere Hermes II and II.5 PC Cards (from zipit web page), TDK GlobalNetworker 3410 (from dmesg for my card) and another alternate PANASONIC KXLC0005_2 (from pcmcia-cs id lists).
|
148107 |
17-Jul-2005 |
imp |
I believe that this tsleep was placed here in 1.28 to try to solve the problems we were having properly mapping the CIS attr space on some cards. Those problems have been solved other ways, so this kludge is no longer necessary. Remove it and have pccards come up a whole second faster.
|
148019 |
15-Jul-2005 |
imp |
Insert missing int i;
|
148012 |
14-Jul-2005 |
imp |
Also provide the function type in the nomatch routine.
|
147988 |
14-Jul-2005 |
takawata |
Add device id for RATOC REX CFU1 sl811 based USB Host Controller.
|
147963 |
13-Jul-2005 |
imp |
o Check to make sure the card has a function (panic if not) in read_ivar. o Use pf more consistantly for pccard_function. o Make sure we quote the strings properly (maybe this function belongs in subr_bus.c) o Tweak a comment to be more accurate after code changed.
|
147962 |
13-Jul-2005 |
imp |
The supposed OLD STYLE network MAC id tuple was really just a buggy expression in the card in question. Since that driver uses a different mechanism, retire the workaround for this bug.
|
147956 |
13-Jul-2005 |
imp |
Add a couple of other products, tweak a few descriptions.
|
147872 |
10-Jul-2005 |
imp |
Add a boatload of new device ids, gleaned from the pcmcia-cs-3.2.8 distribution. Add the appropriate devices to the man pages.
Obtained from: pcmcia-cs Approved by: re (scottl)
|
147796 |
06-Jul-2005 |
imp |
Add device entry for a Farallon EtherMac PC Card that I won on ebay. This one is supported by the sn driver.
Approved by: re (scottl)
|
147729 |
01-Jul-2005 |
imp |
Upon relection, we shouldn't allow the tuple structs to be modified by the functor, so make it a const pointer, and chase down the resulting const-poisoning.
Approved by: re (scottl)
|
147711 |
01-Jul-2005 |
imp |
Add a much-requested feature: The ability for pccard attachments to scan the CIS for interesting tuples. 95% of what can be obtained from the CIS is harvested by the pccard layer and presented to the user in standard function calls. However, there are special needs at times where the standard stuff doesn't suffice. This is for those special cases.
CARD_SCAN_CIS(device_get_parent(dev), function, argp) scans the CIS of the card, passing each tuple to function with the tuple and argp as its arguments. Returning 0 continues the scan, while returning 1 terminates the scan. The value of the last invocation of function is returned from this function.
int (*pccard_scan_t)(struct pccard_tuple *tuple, void *argp) function called for each tuple. Elements of the CIS tuple can be read with pccard_tuple_read_{1,2,3,4,n}(). You are reading the actual tuple memory each time, in case your card has registers in the CIS.
# I suppose these things should be documented in pccard(4) or something like # that.
# I plan on unifying cardbus CIS support in a similar way.
Approved by: re (scottl)
|
147580 |
24-Jun-2005 |
imp |
Eliminate unused argument in PCMCIA_CARD macro.
Provide a backwards compatible way to have the extra macro by defining PCCARD_API_LEVEL 5 before including pccarddevs for driver writers that want/need to have the same driver on 5 and 6 with pccard attachments.
Approved by: re (dwhite)
|
147579 |
24-Jun-2005 |
imp |
Add wireless + flash CF card I have
Approved by: re (pccard API changes)
|
145247 |
18-Apr-2005 |
damien |
Initial import of ipw, iwi, ral and ural drivers:
ipw - Intel PRO/Wireless 2100 iwi - Intel PRO/Wireless 2200BG/2225BG/2915ABG ral - Ralink Technology RT2500 ural - Ralink Technology RT2500USB
Approved by: silby (mentor)
|
144955 |
12-Apr-2005 |
imp |
Big cleanup of resource code for pccard. Once coventry noticed problems here, it became clear we were being too complex.
o Don't keep track of resources in two places o Use resource_list_purge instead of rolling our own o Just reassign the ownership of the resource, rather than freeing it and reallocating it. o Fix compile problems when sizeof(u_long) != sizeof(int)
|
144930 |
12-Apr-2005 |
imp |
Cleanup of resource allocation code after having my attention focused on this code: o rid is stored in the resource, so don't bother keeping track of it here. o Implement memory space o Don't try to activate 'memory card' CFEs. This is type memory, as opposed to the memory resource.
|
144927 |
12-Apr-2005 |
imp |
Use return value of resource_list_add to avoid a second resource_list_find. Check to make sure that rle is not NULL and panic if it is (but it appears that resource_list_add already panics, so I'm not entirely sure it is necessary now).
Add a test to make sure we have a interrupt resource when we're disabling it. This is also a cannot happen, but the extra care shoudln't hurt.
Found by: Coventry tool via sam@
|
144159 |
26-Mar-2005 |
sam |
deal with malloc failure
Noticed by: Coverity Prevent analysis tool
|
144158 |
26-Mar-2005 |
sam |
deal with failed malloc calls
Noticed by: Coverity Prevent analysis tool Glanced at by: mdodd
|
143815 |
18-Mar-2005 |
imp |
Need to initialize the resource list that we keep for our children. STAILQ's require this, while it is optional for SLIST (well, as long as the memory is bzeroed).
Noticed by: phk's crash
|
143785 |
18-Mar-2005 |
imp |
Use STAILQ in preference to SLIST for the resources. Insert new resources last in the list rather than first.
This makes the resouces print in the 4.x order rather than the 5.x order (eg fdc0 at 0x3f0-0x3f5,0x3f7 is 4.x, but 0x3f7,0x3f0-0x3f5 is 5.x). This also means that the pci code will once again print the resources in BAR ascending order.
|
142260 |
22-Feb-2005 |
imp |
Belkin F5D5020 is an OEM'd card from RACORE based on the AX88190 chipset. Add support for this card. Office Max has them on sale and I was surprised that we didn't have it in our supported list when I plugged it in...
|
142027 |
17-Feb-2005 |
imp |
memspace is set to some value by masking off bits. When these bits are equal to PCCARD_TPCE_FS_MEMSPACE_NONE, memspace will be zero, so testing for this case inside of the if statement results in dead code. We'd fail to set a value to zero that's already zero (since it is initialized to 0 indirectly) with this code being there. Well, except in the very rare case that we have a card that has a defualt entry that includes a memory space followed by one that has no memory space (these are extremely rare, I don't recall ever having seen one :-).
Fix this by setting num_memspace to 0 in a more appropriate place.
Submitted by: Coverity Prevent analysis tool
|
141959 |
16-Feb-2005 |
imp |
Add an XXX comment about string quoting.
|
141936 |
15-Feb-2005 |
imp |
Remove more deadwood that never got implemented in NEWCARD, since NEWCARD went a different direction than was anticipated when these compatibility shims were added.
|
141930 |
14-Feb-2005 |
imp |
o It turns out that most of the ne-2000 cards that I have got real unhappy with the latest changes. They actually have valid ROM data at location 0 of memory, just like a real NE-2000 ISA card. Use this data, if the ROM passes a few basic tests, as an additional source for the MAC address. Prefer the CIS over this source, but have it take precidence over falling back to reading the attribtue memory. o Minor cleanup of a few devices that we match on based on CIS string.
|
141882 |
14-Feb-2005 |
imp |
Remove card_get_function. It looks like it was intended to be a bridge between OLDCARD and NEWCARD for drivers to inquire after the function number (eg, 0, 1, 2). Nobody ever used it, so retire it with honors. NEWCARD never implemented it, and the same information can be obtained by the pccard_get_function_number().
MFC After: 3 days
|
141559 |
09-Feb-2005 |
imp |
Remove DLINK_3, its unused. Remove NETGEAR FA410TX, since it is the same as the LINKSYS COMBO_ECARD (which also seems to be the same as another linksys product that also has a modem, but I can't find that one at the moment). Remove the PCM100, since it is now no longer used.
|
141223 |
03-Feb-2005 |
imp |
Sort PANASONIC products numerically
|
141122 |
01-Feb-2005 |
imp |
The two PLANEX cards listed in pccarddevs, identified only by their CIS, weren't actually used anywhere (other than the generic PC Card code when certain variables are defined). They aren't used in NetBSD either. Make things simpler by removing them. Change PLANEX_2 to PLANEX and tweak wi and owi to use that instead. The PLANEX id seems to actually be pci ID assigned to planex, not its pcmcia id. Ooops. I don't know if this is a reporting error from where this entry came from, or if it is a mistake on PLANEX's part. I suspect the latter, as ACTIONTEC and NEWMEDIA made the same mistake (although new media may be because it uses an advansys chip inside). Make a note of this in the file. The 0xc entires may be JEITA assigned, so note that as well.
# This leaves just 3 entries that are totally unknown: airvast, archos # and edimax although the arivast number is the same assigned to # avertec in usb...
|
140957 |
29-Jan-2005 |
imp |
The Olicom OC2220 has an ID of 0x101, not 0x2220 as I previously thought. I'm unsure why I thought this was the case, but it definitely isn't for this card. If another card with the other ID makes an appearance, then we'll add a second entry for it.
# With this change my Olicom OC2220 is now working again, since I make # this commit with that device. :-)
|
140887 |
27-Jan-2005 |
imp |
Add back support for D-LINK DMR-650TX, and all the other OEMd versions of this card (evidentally MultiMobile also sold this card as MT5634ZLXI/E).
Reported by: Bastian Brinkman
|
140886 |
27-Jan-2005 |
imp |
Move 143 back to its rightful owner: Grey Cell systems, which OEMd enet cards
|
140837 |
25-Jan-2005 |
imp |
Turns out that Digital's DEPCM-BA and I-O Data PCLATE are both OEM versions of the Racore PC Card Ethernet card. Rearrange to reflect this reality. This ejects IODATA from 0x1bf, which belongs to Racore.
Thanks to Wilko for providing me with a dumpcis for the DEPCM card.
Also, added Nextcom Nexthawk card from NetBSD
|
140829 |
25-Jan-2005 |
imp |
Unbreak the Digital DEPCM-BA. Since it doesn't seem to have a proper manufacturer ID, we need to use -1 rather than 0x100 when matching. Do this by defining and using DIGITAL2 .
|
140798 |
25-Jan-2005 |
phk |
Remove dummy vendor id for DIGITAL now that we have the real one.
|
140793 |
25-Jan-2005 |
imp |
Minor whitespace cleanup Add Digitial vendor ID (from NetBSD) Add Anycom vendor and products (from NetBSD)
|
140792 |
25-Jan-2005 |
imp |
Add NEXTCOM NEXTHAWK ethernet card.
From NetBSD
|
140752 |
24-Jan-2005 |
imp |
There have been a substantial number of changes to this file from the NetBSD original, so add our copyright notice as well.
|
140749 |
24-Jan-2005 |
imp |
Add an entry for Magic Ram, Inc's ETHERNET PC CARD 933926 card I just won on ebay. Also, add a pointer to the PCMCIA's web site for the registered tuples (== manufacturer ID's).
|
140693 |
24-Jan-2005 |
imp |
Ignore the expected function number.
NetBSD went this route a while ago. FreeBSD originally tried this to cope with multifunction cards. However, it turns out that we're better off not worrying about the function number, and instead worry about the function type for the function. This has worked well in NetBSD, and all FreeBSD's relevant drivers have been converted.
# I'll rework the macros that specify them shortly, as soon as I can # come up with a good, compatible way to deal...
|
140692 |
24-Jan-2005 |
imp |
u_intXX_t -> uintXX_t
|
140542 |
21-Jan-2005 |
imp |
Some older PC Cards have a weird format for FUNCE tuples. They appear as type 0, rather than the usualy type 4. Assume that this format is from an old standard and go with it. The Fujitsu FMV-186A and Silicom Ethernet cards I have both have tuples with this format, and they are both pretty old cards.
# if somebody knows for sure, please let me know.
|
140520 |
20-Jan-2005 |
imp |
Use Intersil chip names for the symbols, since many makers use the intersil IDs but their own name in the CIS.
|
140515 |
20-Jan-2005 |
imp |
Minor tweaks to properly order things.
|
140488 |
19-Jan-2005 |
imp |
Fix spelling error
submitted by: Anders Hanssen
|
140366 |
17-Jan-2005 |
imp |
Go ahead and match on CIS3 and CIS4 strings as well. These are NULL for the vast majority of our cards. However, they are critically needed to distinguish different fe based PC Cards (the FMV-182 from the 182A) which need to be treated differently (the ethernet address is loaded not from the standard CIS-based ethernet tuples, but from differing locations in attribute space based on the version string in CIS3. This should have no impact for other users of this function.
|
139963 |
10-Jan-2005 |
imp |
Tweaks to the name of this card, based on input from Sean Shapira.
|
139953 |
10-Jan-2005 |
imp |
Add Eagle NE200 Ethernet LAN MBH10302 card. This appears to be a fe card, and works with that driver. However, Eagle is using Fujitsu's vendor number and a product code of 4, which seems a little odd. Still, there's no conflicts...
|
139749 |
06-Jan-2005 |
imp |
Start each of the license/copyright comments with /*-, minor shuffle of lines
|
135002 |
09-Sep-2004 |
emax |
Shame on me. I screwed up product ID for the 3COM Bluetooth PC-Card. It's 0x0040 not 0x0400.
MFC after: 3 days
|
133865 |
16-Aug-2004 |
imp |
Some cards don't have the info entries in the CIS, so vendorstr and/or prodstr may be NULL when fetched. For the default device description, guard against this and return the numeric IDs instead when this happens. For the matching routines, and consider NULL to not match those entries that aren't NULL w/o calling strcmp.
Early patches by: Anders Hanssen
|
129799 |
28-May-2004 |
imp |
Don't nest includes here. There's no need and the subset included is lame.
Submitted by: bde
|
129798 |
28-May-2004 |
imp |
Include required machine/bus.h
|
129781 |
27-May-2004 |
imp |
Fixing disorder is the hardest thing in the world: Learn to sort :-)
Submitted by: bde
|
129763 |
27-May-2004 |
imp |
These are now not needed, after repo copy and conversion.
|
129762 |
27-May-2004 |
imp |
Sort includes, remove unnecssary ones.
Submitted by: bde
|
129740 |
26-May-2004 |
imp |
Move to generating pccarddevs.h on the fly, both for the kernel and the modules.
Also generate usbdevs.h automatically now, but a non-kernel file is stopping that at the moment.
|
129165 |
13-May-2004 |
imp |
Sync to pccarddevs 1.84
|
129164 |
13-May-2004 |
imp |
Add Intel EtherExpress PRO/100 LAN Modem. This will eventually be added to xe once the pccard issues are resolved...
|
129080 |
10-May-2004 |
emax |
Resync
|
129079 |
10-May-2004 |
emax |
Mode few Bluetooth defines into system include files
Reviewed by: imp
|
129063 |
09-May-2004 |
imp |
This file has never been used, nor will it ever be used in FreeBSD, so remove it.
|
128169 |
12-Apr-2004 |
imp |
Improve reading of CIS cards:
(1) Align to 64k for the CIS. Some cards don't like it when we aren't aligned to a 64k boundary. I can't find anything in the standard that requires this, but I have 1/2 dozen cards that won't work at all unless I enable this. (2) Sleep 1s before scanning the CIS. This may be a nop, but has little harm. (3) The CIS can be up to 4k in some weird, odd-ball edge cases. Since we have limiters for when that's not the case, it does no harm to increase it to 4k.
#1 was submitted, in a different form, by Carlos Velasco.
|
128065 |
09-Apr-2004 |
rsm |
Sync to pccarddevs 1.83
Reviewed by: imp (mentor)
|
128064 |
09-Apr-2004 |
rsm |
Add Xircom XEM5600 and known versions of CE2, CEM33 and CEM56. Xircom had an unfortunate habit of re-using PCMCIA IDs for quite different cards - the xe driver knows about this and uses the first byte of 'extra' PCMCIA ID info to identify cards with ambiguous IDs.
Reviewed by: imp (mentor)
|
127423 |
25-Mar-2004 |
imp |
Sync to pccarddevs 1.82
|
127422 |
25-Mar-2004 |
imp |
Add a new Intersil card that DLINK is selling as the DWL-650.
Reported by: Brian O'Shea
|
127135 |
17-Mar-2004 |
njl |
Convert callers to the new bus_alloc_resource_any(9) API.
Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde
|
124790 |
21-Jan-2004 |
ume |
Sync to pccarddevs 1.81.
|
124789 |
21-Jan-2004 |
ume |
There is PANASONIC KXLC005 which has another product id.
|
124016 |
31-Dec-2003 |
kato |
Sync to 1.80.
|
124015 |
31-Dec-2003 |
kato |
Added ID for TDK LAK-CD031 Ethernet card.
Reviewed by: imp
|
122032 |
04-Nov-2003 |
imp |
Use %#jx for both args.
Non-use of %# mocked by: bde
|
121987 |
03-Nov-2003 |
imp |
Fix two small style nits pointed out by bde: Remove spaces after cast and indent continued line 4 spaces instead of 2.
|
121961 |
03-Nov-2003 |
imp |
Sync to 1.79
|
121960 |
03-Nov-2003 |
imp |
Add intel EtherExpress PRO PCMCIA card ID. Well, I don't know if it is really EtherExpress or EEPro or what, but it does appear in a couple of ethernet cards that have appeared recently on ebay. Silicom appears to make these cards, and they have the 82595TX chipset in them, and sometimes uarts. The ex driver needs some work to support these cards, but I thought I'd get the device into pccarddevs.
|
121959 |
03-Nov-2003 |
imp |
Sync to 1.78
|
121958 |
03-Nov-2003 |
imp |
o Use %j and uintmax_t rather than uint64_t for casting. o use more proper bus_size_t for iosize rather than bus_addr_t.
Noticed by: bde
|
121920 |
03-Nov-2003 |
imp |
ia64 tenderbox hates what I did wrt a printf, so cast the snot out of it and hope for the best.
|
121905 |
02-Nov-2003 |
imp |
MFp4: o Fix MFC cards. We were bogusly setting CCR_IOBASE[01] and CCR_IOLIMIT. now when we activate the resource, we adjust these for MFC cards, per the spec. o Change type of pf_mfc_* to be bus_addr_t, which is more correct than long.
This makes my 3C362D/3C363D and 3CXEM556 cards work! Woo Hoo!
|
121599 |
27-Oct-2003 |
imp |
sync to 1.77
|
121598 |
27-Oct-2003 |
imp |
Correct CEM33
|
121587 |
26-Oct-2003 |
imp |
Sync to pccarddevs 1.76
|
121586 |
26-Oct-2003 |
imp |
Add Olicom GoCard 28.8k version
|
121585 |
26-Oct-2003 |
imp |
Sync to 1.75 of pccarddevs
|
121584 |
26-Oct-2003 |
imp |
Minor tweak to Olicom 2220. Also add the OC-2232 while I'm here. Looks like 'special magic' is needed to access the ethernet part of that combo card, so I've not added it to ex.
|
121564 |
26-Oct-2003 |
imp |
Sync to pccarddevs 1.74
|
121563 |
26-Oct-2003 |
imp |
Add ID for olicom GOCARD Ethernet (OC2220)
|
121521 |
26-Oct-2003 |
imp |
Const poison string accessor functions.
|
120899 |
08-Oct-2003 |
imp |
sync to 1.73
|
120898 |
08-Oct-2003 |
imp |
Xircom Wireless ethernet
Submitted by: Keith Davis
|
120869 |
07-Oct-2003 |
imp |
Add new file for definitions of CIS. We can share this with cardbus. the filename isn't that bad, because all of these are defined in the PC Card standard :-)
|
120868 |
07-Oct-2003 |
imp |
o move the cis tuple definitions into a common file. o minor optimization of cardbus_cis processing. Remove a bunch of generic entries that are handled by generic. o no longer need the card_get_type stuff.
|
120849 |
06-Oct-2003 |
imp |
refactor how we do the quirk matching. this puts an ugly if into a routine of its own, and allows us to move the indentation back two layers making the code more readable.
delete a prototype that should have been killed years ago in pccardvar.h.
# adding quirks here is way harder than it needs to be. :-(
|
120848 |
06-Oct-2003 |
imp |
Remove the cis reading bus methods. They were never implemented and there's been some critism about the API not being lock friendly.
|
120331 |
22-Sep-2003 |
imp |
sync to 1.72
|
120330 |
22-Sep-2003 |
imp |
Merge from NetBSD: 1.186: onoe; Sony's PEGA-WL110 CF WLAN (which strangely has fujitsu's vendor id) 1.185: ichiro; Quatech Inc, PCMCIA Enhanced Parallel Port Card
Also: o update $NetBSD$ o minor tweaks to FUJITSU. We've tried to keep the CIS only entries seprate from vendor id/product id.
|
120291 |
20-Sep-2003 |
imp |
update to 1.71
|
120290 |
20-Sep-2003 |
imp |
EXPsys PCMCIA Ethernet Combo
Submitted by: Ludwig Pummer
|
120289 |
20-Sep-2003 |
imp |
Remove unused #defines.
|
120276 |
20-Sep-2003 |
imp |
sync to 1.70
|
120275 |
20-Sep-2003 |
imp |
OEM version of Proxim Harmony card
Submitted by: Jeremy Bingham
|
119755 |
05-Sep-2003 |
imp |
Whacked out CIS configurations can cause us to not have any child. When such a card is ejected, we'd panic. Instead, just ignore it.
I should also add a sanity check in the FUNCID code as well, but this isn't wrong since the check is cheap and happens infrequently.
|
119545 |
29-Aug-2003 |
imp |
Remove unneeded field after CIS changes.
|
119462 |
25-Aug-2003 |
imp |
Probe routines can return < 0 for speculative matches. In the compatibility routine, go ahead and accept that as 'success'. A properly written compatible driver should return < 0 for both the compat match and compat probe routines, so this will wind up doing the right thing.
|
119418 |
24-Aug-2003 |
obrien |
Use __FBSDID(). Also some minor style cleanups.
|
119241 |
21-Aug-2003 |
imp |
Sync
|
119240 |
21-Aug-2003 |
imp |
Sort the vendors into three sections. First section is for those vendors that list the vendor ID in the proper byte order. The second section is for vendors that get it backwards. The third is for what appear to be 'random' ones (although 0xcxxx appears to be coherent enough that maybe somebody else is assigning those numbers).
|
119235 |
21-Aug-2003 |
imp |
Sync to 1.68
|
119234 |
21-Aug-2003 |
imp |
Compaq's ID is 0x138. However, it looks like they also released something with the vendor ID of 0x183. That could be a typo, or it could be Paralon Technologies. Add an entry for Paralon, but don't use it yet.
|
119232 |
21-Aug-2003 |
imp |
Update to pccarddevs 1.67
|
119231 |
21-Aug-2003 |
imp |
Vendor ID 0x274 is Bromax Communications, not Linksys. Linksys sells them as 'Instant Wireless' cards.
|
119226 |
21-Aug-2003 |
imp |
Sync to 1.66
|
119225 |
21-Aug-2003 |
imp |
Vendor ID 0x0128 is registered to DSP Solutions, Inc. Megahertz sold these under X-Jack and XJEM1144. Update to reflect this.
|
119216 |
21-Aug-2003 |
imp |
Sync to 1.65
|
119215 |
21-Aug-2003 |
imp |
Change INTERSIL to INTERSIL2 for the -1 case. Chances are good that this card has a real ID, but I don't know what it is at this time.
|
119214 |
21-Aug-2003 |
imp |
Regen for 1.64
|
119213 |
21-Aug-2003 |
imp |
Vendor 0xb is intersil, not Netgear. The MA401RA is just Netgear's modle number, and I continue to use it as a place holder until I find out what Intersil's name for it is.
|
119162 |
20-Aug-2003 |
imp |
pc98pcic isn't the name of the media driver. tcic likely will never happen (unless someone sends one to me). Kill bogus module depend that I commented out over a year ago.
|
119161 |
20-Aug-2003 |
imp |
When debugging CIS, only print 10 CISTPL_NULLs. Chances are good they are all bogus, and the cards that don't decode things quite right often have hundreds of them. This will fix starvation of small dmesg buffers and allow better debugging to happen. I thought about adding an override, but there is such a thing as too many knobs. :-)
|
119060 |
18-Aug-2003 |
imp |
Put a band-aide(tm) on the CIS panic problem. This is a similar fix to what is in NetBSD. I have a few cards that tickles this bug, and this just keeps us from panicing. It doesn't actually fix the problem (that will happen once I figure out why some cards hate the address their CIS is mapped to high memory).
|
118896 |
14-Aug-2003 |
imp |
resync to pcarddevs 1.63
|
118895 |
14-Aug-2003 |
imp |
add microsoft mn-520 wlan card.
submitted by: Kirk Strauser
|
118635 |
07-Aug-2003 |
imp |
Sync to 1.62 of pccarddevs
|
118634 |
07-Aug-2003 |
imp |
MELCO has a similar product to Buffalo LPC3-CLX: named the same and has the same product id, but different vendor id. It also appears that the MELCO's id should be 0x18a instead of 0x8a01. Fix this.
Submitted by: Shizuka Kudo-san
|
118064 |
26-Jul-2003 |
imp |
Sync to 1.61 of pccarddevs
|
118063 |
26-Jul-2003 |
imp |
MFNetBSD: 1.183: gmcgarry; Add Sharp PALDIO 611S 1.184: martin; Socket LP 10/100 CF
Obtained from: NetBSD
|
117766 |
19-Jul-2003 |
imp |
Sync to 1.60
|
117764 |
19-Jul-2003 |
imp |
Add Linksys compact flash wireless card
Submitted by: Scott Lambert PR: 53881
|
117760 |
19-Jul-2003 |
imp |
sync to 1.59
|
117759 |
19-Jul-2003 |
imp |
Add Buffalo LPC3_CLX.
PR: 47786 Submitted by: IHA, genta -san
|
117614 |
15-Jul-2003 |
imp |
OpenBSD calls this AIRVAST, so use that instead
|
117613 |
15-Jul-2003 |
imp |
sync to 1.58
|
117603 |
15-Jul-2003 |
imp |
sync to pccarddevs 1.57
|
117602 |
15-Jul-2003 |
imp |
Add Siemens SpeedStream 1021
Obtained From: openbsd (1.105; millert)
|
117445 |
11-Jul-2003 |
simokawa |
Fix if_wi breakage.
|
117441 |
11-Jul-2003 |
imp |
sync to pccarddev 1.55
|
117440 |
11-Jul-2003 |
imp |
remove stray ASUS
|
117439 |
11-Jul-2003 |
imp |
sync to pccarddev 1.54
|
117438 |
11-Jul-2003 |
imp |
Add asus wl100
PR: 49033, 53249
|
116483 |
17-Jun-2003 |
imp |
Sync to 1.53
|
116481 |
17-Jun-2003 |
imp |
Add FREECOM PCCARD-IDE
|
116311 |
13-Jun-2003 |
imp |
Add a comment about the MPSAFEness of this pccard_intr handler. Given how we registered pccard_intr, it is MPSAFE. However, since we register the pccard_intr handler with the flags of the ISR we call, that is the gating factor. We need do nothing specific here.
Prompted by: seeing pccard_intr in a panic.
|
116208 |
11-Jun-2003 |
imp |
regen for 1.52
|
116207 |
11-Jun-2003 |
imp |
Add ARtem ONAIR wi card.
Submitted by: Ben Gras Forgotten by: imp
|
115755 |
03-Jun-2003 |
imp |
Sync to 1.51
|
115754 |
03-Jun-2003 |
imp |
Add another PCMCIA IDE CARD
|
114101 |
27-Apr-2003 |
imp |
Sync to 1.50
|
114100 |
27-Apr-2003 |
imp |
Mystery OEM #1: A really no-name prism3 card that wi supports.
Submitted by: mwlucas
|
114094 |
27-Apr-2003 |
imp |
Sync to 1.49
|
114089 |
26-Apr-2003 |
imp |
Add a generic cdrom.
|
113945 |
23-Apr-2003 |
imp |
Add accessor for cis4 string. Neither OLDCARD nor NEWCARD support this yet, but that will change soon.
Pr: 51333 Submited by: Scott Mitchell
|
113668 |
18-Apr-2003 |
sanpei |
Sync to 1.48
|
113667 |
18-Apr-2003 |
sanpei |
fix corega vendor id(use vendor string and product string)
Submitted by: imp
|
113322 |
10-Apr-2003 |
imp |
Remove bogus line and entry, restore cnet ne2000 add smc 8041
|
113319 |
10-Apr-2003 |
imp |
Sync to 1.46
|
113318 |
10-Apr-2003 |
imp |
MFNetBSD: 1.182; christos A cardflash NE2000 from Michael Francini 1.181; perry support Corega PCCL-11 -- from Christopher SEKIYA in PR 20932 1.180; ichiro add product TOSHIBA PA2673U CBIDE2 (IODATA OEM) 1.179; kanaoka Add SMC 8041TX 10/100 Ether PC Card.
|
113313 |
10-Apr-2003 |
imp |
In [bsd-nomads:16650] shibagaki-san presented an example product id of 0 in a problem that is being discussed. That means that the test for product != 0 may cause problems. Looking at pccarddevs (which i should have done earlier) we see:
product BONDWELL B236 0x0000 Game Card Joystick product CONTEC CNETPC 0x0000 Contec C-NET(PC)C product IBM MICRODRIVE 0x0000 IBM Microdrive product RAYTHEON WLAN 0x0000 WLAN Adapter product SOCKET EA_ETHER 0x0000 Socket Communications EA product TDK LAK_CD011WL 0x0000 TDK LAK-CD011WL
so use only the vendor field for the end sentinel.
|
113308 |
09-Apr-2003 |
imp |
1.37 was committed prematurely: back out until I can commit all parts at the same time.
|
113307 |
09-Apr-2003 |
imp |
1.77 was bogus: there is no logic bug. Back it out and compare the correct fields instead.
|
113306 |
09-Apr-2003 |
jhb |
Fix a logic bug in previous commit (use || rather than &&). In order to terminate the loop only when both the name and vendor are zero, we should keep looping so long as either one is not zero.
|
113300 |
09-Apr-2003 |
imp |
Make sure that both pp_name and pp_vendor are zero to know we're at the end of the list now that some valid entries don't have pp_name set. Also, don't print a warning if pp->name is NULL and it is a total wildcard.
|
113257 |
08-Apr-2003 |
imp |
Create new _ND versions to allow one to not specify the description be stored in the table.
|
113242 |
08-Apr-2003 |
imp |
MFP4: o don't access struct resource members directly. o Set a default device description based on the CIS name.
|
113241 |
08-Apr-2003 |
imp |
u_int*_t -> uint*_t -1 -> 0xffffffff
|
113078 |
04-Apr-2003 |
sanpei |
fix typo
|
112736 |
28-Mar-2003 |
imp |
pccarddevs_data.h no longer generated
|
112735 |
28-Mar-2003 |
imp |
MFp4:
Don't generate the data file. Use 0xffffffff rather than -1 for sign safety as these fields are uint32_t.
|
112359 |
18-Mar-2003 |
imp |
Use %jd and a cast to intmax_t instead of a cast to long. Minor style nit while I'm here.
|
112358 |
18-Mar-2003 |
imp |
Tag longling_addr as maybe using a bad type, I'm not sure.
|
112357 |
18-Mar-2003 |
imp |
Regenerate for 1.45
|
112356 |
18-Mar-2003 |
imp |
Add DLINK DWL650H
From NetBSD by way of deichen
|
111119 |
19-Feb-2003 |
imp |
Back out M_* changes, per decision of the TRB.
Approved by: trb
|
110936 |
15-Feb-2003 |
shiba |
Regen.
|
110935 |
15-Feb-2003 |
shiba |
Add YIS YWL-11B. This card has same vendor id and product id as XI300 Wireless LAN.
|
110176 |
01-Feb-2003 |
shiba |
Regen.
|
110175 |
01-Feb-2003 |
shiba |
Allied Telesis WR211PCM(wi) and Corega PCC-T(ed) have same manufacture id and product id. So use CIS info (PCCARD_CISTPL_VERS_1).
reported by HONDA Yasuhiro <yasu@yasu.org>
|
109623 |
21-Jan-2003 |
alfred |
Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
|
109455 |
18-Jan-2003 |
shiba |
Add BUFFALO LPC-CF-CLT(10Base-T Compact Flash Ether Card).
|
109454 |
18-Jan-2003 |
shiba |
Regen.
|
109453 |
18-Jan-2003 |
shiba |
Add Accton EN2216.
|
109452 |
18-Jan-2003 |
shiba |
Regen.
|
109430 |
17-Jan-2003 |
shiba |
Add Allied Telesis WR211PCM.
|
109429 |
17-Jan-2003 |
shiba |
Regen.
|
109104 |
11-Jan-2003 |
shiba |
Regen.
|
109103 |
11-Jan-2003 |
shiba |
RATOC REX-R280(10Base-T Ether Card) and REX-9530(SCSI2 Card) have same product id. So use CIS info(PCCARD_CISTPL_VERS_1).
|
107360 |
28-Nov-2002 |
non |
regen to 1.38
Reviewed by: imp Approved by: re
|
107359 |
28-Nov-2002 |
non |
o Add PC-Cards' ID or CIS strings which are supported by ncv, nsp, or stg driver. They are,
Macnica mPS110, PANASONIC(KME) KXLC004, Qlogic Fast SCSI, Workbit Ultra Ninja-16, (ID based)
Future Domain SCSI2GO, IBM SCSI PCMCIA card, I-O DATA CBSC16, Macnica mPS100, Newmedia BASICS-SCSI, RATOC REX-5536, RATOC REX-5536AM, RATOC REX-5536M, RATOC REX5572, Workbit NinjaSCSI-3 (CIS based)
Note: We need vendor IDs WORKBIT2 and IODATA3 which is -1, since some cards does not have IDs in the CIS and fails to be probed without this fake vendor IDs.
o Change the strings of RATOC REX_R280 from REX-R280 to REX-R280/REX-9530. This reminds us that REX-R280 and REX-R9530 have same ID (same product).
Reviewed by: imp Approved by: re Obtained from: /etc/defaults/pccard.conf, List of CIS tupples by Toshihiko ARAI and PAO project: http://www.linkclub.or.jp/~clover/cis/ Change suggestion by: HASEGAWA Tomoki <thasegawa@mta.biglobe.ne.jp> for I-O DATA CBSC16 entry
|
106914 |
14-Nov-2002 |
mux |
Fix printf() format errors.
Reviewed by: imp
|
106898 |
14-Nov-2002 |
imp |
MFp4: o Use 32-bit unsigned types for things that really are 32-bit quantities, not bus_addr_t. These are not the same as a bus_addr_t, so don't use that here. Harmless on i386, introduced problems on sparc64.
Submitted by: jhb
|
106896 |
14-Nov-2002 |
imp |
Remove an impossible condition. pf->dev is always non-null here.
|
106892 |
14-Nov-2002 |
imp |
regen to 1.37
|
106891 |
14-Nov-2002 |
imp |
Add a third aic-based bustoaster.
|
106362 |
02-Nov-2002 |
imp |
MFp4: o Always release the resources on device detach. o Attach resources the same with driver added as we do we do in the insert case (maybe this should be a routine). o signal the wakeup of the thread on resume instead of trying to force an interrupt. o Minor debug hacks. o use 0xffffffff instead of -1 for uint32_t items. o Don't complain when we're asked to detach no cards. This is normal. o Eliminate the now worthless second parameter to card_detach_card. o minor style(9)isms
Some of these patches may be from: iwasaki-san, jhb, iadowse
|
104855 |
11-Oct-2002 |
imp |
sync to 1.36 of pccarddevs
|
104854 |
11-Oct-2002 |
imp |
Merge from NetBSD plus diff reduction to netbsd's pcmciadevs 1.177 file: o NETGEAR2 -> NETGEAR_2 o PLANEX2 -> PLANEX_2 o ACTIONTEC HWC01170 -> ACTIONTEC PRISM o linksys iwn2 -> iwn3 o Add: Ositech, DLINK_3, BAY emobility, buffalo lpc3_clt, netgear fa410TX. dynalink accton EN2216, corega ether II PCC TD, dlink dfe670TXD, dynalink l10c
Obtained from: NetBSD
|
104832 |
11-Oct-2002 |
imp |
sync to 1.35 of pccarddevs
|
104831 |
11-Oct-2002 |
imp |
Add a new NewMedia BUSTOASTER that I bought on ebay (sadly w/o scsi dongle). Add PLANEX GWNS11H submitted by hanai-san.
|
104641 |
07-Oct-2002 |
imp |
o Add a nomatch routine so we whine when we don't know what to attach to the card. o Add comments about how we're doing the CIS activation. o Add location and pnp info functions. o Add better code to hopefully deal with ata cards better (and other drivers that allocate resources that we didn't preallocate from the CIS). OLDCARD used to allow it, but NEWCARD was pickier. I'm not 100% sure this works, but it doesn't break anything.
|
104640 |
07-Oct-2002 |
imp |
Merge changes from NetBSD through version 1.17 of this file. These give us slightly better error checking than before and interpret what default bits mean better. See the NetBSD CVS tree for the authors of these changes (revs 1.10 .. 1.17).
|
104610 |
07-Oct-2002 |
imp |
MFp4: o Return the right string for CIS4_STR o kill obsolete comment about not doing something that we now do.
|
104604 |
07-Oct-2002 |
imp |
Better comment for the product ID thing.
|
103171 |
10-Sep-2002 |
imp |
o Dike out the bogus reprobe stuff. It was getting in the way of newbus' own reprobe code working. This bogusness was thrust upon me. o Don't delete the device if no drivers attach. I had thrust this bogusness upon others.
These two changes make kldload of a pccard driver work again.
|
103170 |
10-Sep-2002 |
imp |
regen for 1.34
|
103169 |
10-Sep-2002 |
imp |
Add ARGOSY SP320
cis submitted by: phk
|
102923 |
04-Sep-2002 |
imp |
More in the continuing saga of phk vs his strange serial card.
In this installment, we learn that it is bad to access registers that are only defined for mfc cards in the interrupt handler when we do not in fact have a mfc card. For MFC cards, we'll only call the ISR if the this card interrupted bit is set. For non mfc cards (which are basically 90% of pccards in use), we always call the ISR and avoid touching the suspect registers. We always pacify the bit in the MFC case on the off chance that will help in the itnerrupt handler not being registed.
|
102896 |
03-Sep-2002 |
phk |
Drop another cookie to wet Warners appetite:
We need to call the drivers interrupt function even though the card is not multifunction.
|
102713 |
31-Aug-2002 |
imp |
Make modems work:
Don't set the CCR_OPTION register when registering/deregistering interrupts unless the card is a MFC card. This makes a lot of cards work that didn't work before. These bits are only defined for MFC cards.
Remove COOKIE_FOR_WARNER kludges that phk introduced.
Add more debug info.
Annoy the purists by committing two minor style nits at the same time.
Many thanks to phk. He tracked this problem down to what was screwing things up, so fixing it became trivially easy once the problem was understood.
|
102704 |
31-Aug-2002 |
phk |
Different and more correct workaround for broken cards under NEWCARD: don't spam the configuration index register.
I'm not sure where those bits truly belong, but spamming the config index sure doesn't do us any good.
|
102702 |
31-Aug-2002 |
phk |
Ignore all config entries which have a non-zero start I/O address.
This is a bandaid which makes some more PCCards work under NEWCARD which would otherwise not work.
Cards with only fixed address windows still loose.
|
101905 |
15-Aug-2002 |
imp |
pccbb -> cbb
|
101762 |
12-Aug-2002 |
imp |
Don't redundantly include \n in panic messages
|
100218 |
17-Jul-2002 |
imp |
Eliminate the need for pccard_common.c by moving the function inline in the .h file. Make it static __inline to make sure that it doesn't wind up defined in any files.
Also, fix a typo that said null_do_attach instead of null_do_probe.
|
100214 |
17-Jul-2002 |
imp |
regen from pccarddevs 1.33
|
100213 |
17-Jul-2002 |
imp |
MFOpenBSD:
1.93; henning; MA401RA wi card 1.92; millert; elsa XI-325 wi card 1.91; fgsch; gemplus cpr400 smartcard reader 1.90; mickey; Nokia c110/c111 is prism2 card 1.89-1.86 (similar to what we do already)
|
97613 |
30-May-2002 |
takawata |
Make oldcard and newcard kernel module work.
|
94462 |
11-Apr-2002 |
imp |
Catchup to 1.32
|
94461 |
11-Apr-2002 |
imp |
Add ACTIONTEC HWC01170 from OpenBSD
|
93894 |
05-Apr-2002 |
imp |
catch up to 1.31
|
93893 |
05-Apr-2002 |
imp |
Add 3crwe77a
|
93623 |
02-Apr-2002 |
imp |
Regen for 1.30 pccarddevs
|
93622 |
02-Apr-2002 |
imp |
Actually merge proxim rangelands and addtron awp-100
|
93621 |
02-Apr-2002 |
imp |
regen to 1.29 pccarddevs
|
93620 |
02-Apr-2002 |
imp |
Merge from both NetBSD and OpenBSD's pcmciadevs: NetBSD: 1.163; martin; ELSA MicroLink mc all 1.162; is; typo 1.161; is; typo 1.160; is; Add Lantech Fastnet/TX OpenBSD: 1.85; millert; proxim rangelan-ds 1.84; provos; linksys wpc11 1.83; mickey; now wires needed wlan 1.82; mickey; socket low power wlan from netbsd [*] 1.81; mickey; ericsson wlan 1.80; fgsch; add openbsd tag back (not needed) 1.79; fgsch; Netgear FA411 1.78; mickey; simple spectrum25 from netbsd [*] 1.77; mickey; emtac wavelan from netbsd [*] 1.76; mickey; buffalo wavelans from netbsd [*] 1.75; jakob; 3com wilress lan pccard 1.74; mickey; linksys2 instant wireless 1.73; mickey; oops (add closing quote) 1.72; mickey; pcm100 [*] (already in freebsd)
Obtained from: NetBSD, OpenBSD
|
93370 |
29-Mar-2002 |
imp |
Improve support of MFC cards (Multi-function cards). This commit allows us to properly parse cards with attribute memory based CIS that before wouldn't parse correctly, sometimes with a panic. This allows me to get my 3C562 modem/ethernet card to fail to attach due to problems in the ep and sio drivers rather than due to problems in the CIS parsing code :-).
We weren't setting the address to jump to for the function entries. This caused us to only work when the addional entries were after the first ones. On the 3C562/3C563 card this was not the case.
We were also mapping Attribute memory when common memory was asked for in the target of the LONGLINK_{A,C} or LONGLINK_MFC.
My IBM Home And Away Modem/LAN card still fails for reasons unknown.
|
92472 |
17-Mar-2002 |
imp |
Regen for 1.28 of pccarddevs
|
92471 |
17-Mar-2002 |
imp |
Add support for the home Wireless Network airway wireless pcmcia card. I cannot find where I got these patches, but I think it was from the bsd-nomads mailing list. Please contact me if you posted them there.
|
91786 |
07-Mar-2002 |
imp |
Make hw.pccard.debug and hw.pccard.cis_debug tunable/sysctl. Setting to 1 will enable more verbose debugging output from the pccard system.
|
90964 |
20-Feb-2002 |
shiba |
Add u_int16 prodext value in CISTPL_MANF_ID. This gets a fifth byte when manufacturer id tuple length is 5. This change is for xe driver. This is a dirty hack. But there is no better idea.
Reviewd by: imp
|
90897 |
19-Feb-2002 |
imp |
o Count the number of mem and io spaces we allocate. If none work, bail out o Add some better debugging code. o Minor style(9) fixes.
|
90896 |
19-Feb-2002 |
imp |
Do the cast away of unsignedness in a way that is more commprehensible.
|
90454 |
10-Feb-2002 |
imp |
Null interrupt handlers should be OK, so if we don't have a function, just return.
|
90445 |
10-Feb-2002 |
imp |
o Use bus_generic_setup_intr instead of bus_setup_intr. o Call bus_generic_setup_intr and check its return value. Don't setup func until we successfully get the interrupt from our parent. o Add comments about some maybe questionable stuff so I can check later to make sure that it really is that way.
|
90436 |
09-Feb-2002 |
imp |
Boot verbosify printing the CIS, since we don't normally need to do that.
|
90338 |
07-Feb-2002 |
imp |
Remove DETACH_NOWARN
|
90187 |
04-Feb-2002 |
imp |
Default debugging to OFF now.
|
89959 |
29-Jan-2002 |
imp |
Move cardaddr to memory structure.
Forgotten by: imp Reminded by: Dave Cornejo
|
89946 |
29-Jan-2002 |
imp |
Sync to 1.27 of pccarddevs
|
89945 |
29-Jan-2002 |
imp |
MFNetBSD: 1.159: sorting (not relevant to us, since I'd done thie before) 1.158: joda; Ericsson PRISM2 WIRELEASS LAN CARD. 1.157: aymeric Edimax Technology ethernet card
|
89104 |
08-Jan-2002 |
imp |
Regenerate from 1.26 pccarddevs
|
89103 |
08-Jan-2002 |
imp |
Catch up to NetBSD: 1.156 pooka; Socket Low-Power CF WLAN 1.155 ichiro; IBM Smart Capture Card II 1.152-154 ichiro; Fujitsu CF EtherCard and FMV-181,182,182A 1.151 christos; Symbol Spectrum24
|
87975 |
15-Dec-2001 |
imp |
Add support for suspending/resuming CardBus bridges.
We really should have and use power state information, but none exists today.
Submitted by: YAMAMOTO Shigeru-san <shigeru@iij.ad.jp>
|
87758 |
12-Dec-2001 |
imp |
Sync to pccarddevs 1.25
|
87757 |
12-Dec-2001 |
imp |
Move LINKSYS2 to its correct numerical location. Add BONDWELL B236 Game Card Joystick. A PC Card joystick card.
|
87352 |
04-Dec-2001 |
imp |
implement MFC links properly (and I think long links too). This make the sprint wireless card try to attach. Sadly, the pci code at the bridge keeps this from happening.
Bug w/o PR: jhb :-)
|
87045 |
28-Nov-2001 |
imp |
Sync to 1.24
|
87044 |
28-Nov-2001 |
imp |
Merge from NetBSD: 1.147 (my changes to sync to FreeBSD's file) 1.148 Buffalo AirStation CFtytpe WLAN Card (ichiro) 1.149 IBM SCSI PCMCIA (yamt) 1.150 <restore 1.148 lost in 1.149> (enami)
|
86907 |
26-Nov-2001 |
imp |
Only call pccard_function_disable when we have a configured config entry. Otherwise we panic on boot for cards that we can't allocate a config entry for (my 3.3V wavelan card currently fails thusly).
|
86642 |
20-Nov-2001 |
imp |
Weed out those pccard entries that match everything. These are too dangerous to allow :-)
This should fix the ed1: <PLANEX ... bug.
|
86581 |
19-Nov-2001 |
imp |
Update to 1.23 pccarddevs
|
86580 |
19-Nov-2001 |
imp |
Add ZOOM as one of the bgous vendors
|
86578 |
19-Nov-2001 |
imp |
Update to 1.22 pccarddevs
|
86577 |
19-Nov-2001 |
imp |
Nits to make it whitespace compatible with what I'm about to commit to NetBSD
|
86576 |
19-Nov-2001 |
imp |
Update to 1.21 pccarddevs
|
86575 |
19-Nov-2001 |
imp |
Merge NetBSD 1.146: Linksys Instant Wireless Network card.
Obtained From: NetBSD
|
86572 |
19-Nov-2001 |
imp |
Update to 1.20 pccarddevs
|
86571 |
19-Nov-2001 |
imp |
Merge NetBSD 1.145: Xircom XE2000
|
86456 |
16-Nov-2001 |
imp |
Regenerate with 1.19 of pccarddevs
|
86455 |
16-Nov-2001 |
imp |
Merge in most (hopefully all) of the devices that OpenBSD has that NetBSD/FreeBSD doesn't have listed.
|
86393 |
15-Nov-2001 |
imp |
Sync to 1.18 of pccarddevs
|
86392 |
15-Nov-2001 |
imp |
Add vendor for NDC.
|
86385 |
15-Nov-2001 |
imp |
Hoist the Card/Card2 macros that I invented for the wi driver into pccard layer and rename them PCMCIA_CARD and PCMCIA_CARD2 respectively (note, this is being done with an eye towards NetBSD integreation so it is easier to keep lists of cards between us and them in sync).
Use this in the an and wi drivers.
|
86282 |
11-Nov-2001 |
imp |
Sync to 1.17 of pccarddevs
|
86281 |
11-Nov-2001 |
imp |
Add GENTEK as one of the bogus vendors we need to id cards from the cis
|
86272 |
11-Nov-2001 |
imp |
Sync to 1.16 pccarddevs to get new PCMCIA_ symbols
|
86271 |
11-Nov-2001 |
imp |
Move from using PCCARD_ symbols gereated from this file to using PCMCIA_ symbols so that driver lists are easier to share and keep in sync.
|
86270 |
11-Nov-2001 |
imp |
Sync to 1.15 pccarddevs
|
86269 |
11-Nov-2001 |
imp |
MFNetBSD: 1.140 imp (that's me) sort the file 1.141 christos Another cdrom 1.142 mjl Corega PCCB-11 1.143 mjl Corega PCC-TD 1.144 ichiro ELSA CF wavelan card XI-800
|
84515 |
05-Oct-2001 |
imp |
Regen.
|
84514 |
05-Oct-2001 |
imp |
MFNetBSD: 1.139: augustss; Add EigerLabs sound card. 1.138: ichiro; Typo 1.137: ichiro; GEMTEK CF-size WaveLAN card based on Prism2.5 eval 1.136: ichiro; Symbol Spctrum24 LA4100 Series CF WaveLAN card 1.135: pooka; Psion Gold Card 1.134: christos; zonet zen (Henrik Berglund) 1.133: christos; dlink-660+ (janberg@netbsd.org) 1.132: itojun; 3Com 3CRWE62092A Wireless LAN
|
82781 |
02-Sep-2001 |
shiba |
Update cis tuple parser, add a pccarddevs entry, and improve PCCARD_IVAR_ETHADDR in pccard_read_ivar().
Change points:
(1) Read Function Ext tuple. (2) Add Ratoc REX-R280 entry(fe driver). (3) Take ether address from function ext tuple.
Reviewed by: imp Obtained from: NetBSD
|
82415 |
27-Aug-2001 |
jon |
Make pccard_product_lookup non-static again...
When something is exported, do not mark it as static for no apparent reason...
Broken by: me
|
82383 |
27-Aug-2001 |
imp |
More notes to the reader about issues in pccard code here.
|
82382 |
27-Aug-2001 |
imp |
Merge notes, but not code, from my latest tree on pccard_function_init and pccard_function_free
|
82378 |
27-Aug-2001 |
jon |
Part two of this NEWCARD update:
Briefly, the significant changes include: * Way better resource management in pccbb, pccard and cardbus. * pccard hot-removal now appears to work. * support pre-fetchable memory in cardbus. * update cardbus to support new pci bus interface functions. * Fix CIS reading to no longer use rman_get_virtual().
What's not there, but in the works: * pccard needs to do interrupt properly and not read the ISR on single function cards. * real resource management for pccard * a complete implementation of CIS parsing * need to look into how to correctly use mutex in pccbb
|
82376 |
26-Aug-2001 |
jon |
Non-functional changes to NEWCARD stuff.
This is the first part of a two-part update to NEWCARD. Changes in this commit are non-functional, and includes the following: * indentation and other changes to meet style(9). * other minor style consistancy changes * addition of comments * renaming of device_t variables to be consistant across all of NEWCARD.
(note that not all style violations are fixed in this commit -- those that aren't will be clobbered by the next commit.)
|
80090 |
21-Jul-2001 |
assar |
null_do_probe: mark as unused
|
79271 |
05-Jul-2001 |
imp |
Sync to pccarddevs 1.12
|
79270 |
05-Jul-2001 |
imp |
Merge from NetBSD: 1.131: crhistos; cn40bc ne clone 1.130: ichiro; COREGA FEther PCC-TXF 1.129: ichiro; nits 1.128: ichiro; National Instruments pcmcia GPIB 1.127: jhawk; Socket EA ethernet 1.126: ichiro; Intel PRO/Wireless 2001 LAN PC Card 1.125: ichiro; BUFFALO AirStation 11Mbps WLAN Card 1.124: ichiro; Corega FEther PCC-TXD 1.123: onoe; Cisco Aironet 350 Series 1.122: ichiro; I-O DATA WN-B11/PCM wlan 1.121: aymeric; Synergy 21 S21810+ 1.120: thorpej; D-LINK DMF-560TX 1.119: ichiro; typo 1.118: ichiro; some wavelan card 1.117: ichiro; Contec FLEXLAN/FX-DS100-PCC wavelan 1.116: ichiro; COMPAQ Wireless CARD NC5004(Prism2) 1.114: thorpej; Xircom CreditCard Token Ring II
|
76424 |
10-May-2001 |
imp |
Fix the panics for real this time. When something can't be allocated, we need to delete the info from the list as well as zero out the res pointer we saved in the code.
Also made a few style(9) changes while I was at it. Don't use if (ptr) or if (!ptr), but compare against NULL. Compare against NULL rather than 0. Don't have useless blocks.
There are likely other problems as well, but at least the wi based wireless card with memory listed in its cis doesn't panic the system when the card is inserted.
|
76387 |
08-May-2001 |
dmlb |
Add additional enumeration types for CARD_SET_RES_FLAGS.
Approved by: imp MFC: after 1 week
|
75761 |
21-Apr-2001 |
imp |
Add accessor/ivar for the "function". This is so we can generically match disks and serial ports and maybe others.
|
75756 |
21-Apr-2001 |
imp |
Only try to delete the resource if we actually got it.
|
74636 |
22-Mar-2001 |
imp |
First step towards making loadable modules independent of having pccard in the kernel for those drivers with pccard attachments. This makes the compat layer a little larger by introducing some inlines, but should almost make it possible to have independent attachments. The pccard_match function are the only one left, which I will take care of shortly.
|
74635 |
22-Mar-2001 |
imp |
Sync to last changes.
|
74634 |
22-Mar-2001 |
imp |
Add zoom air 4000.
|
74632 |
22-Mar-2001 |
imp |
Style(9) changes: put parens around return (statements); Use ANSI funcitons only.
|
72012 |
04-Feb-2001 |
phk |
Another round of the <sys/queue.h> FOREACH transmogriffer.
Created with: sed(1) Reviewed by: md5(1)
|
71322 |
21-Jan-2001 |
imp |
Convert the vendor/product cis strings to an array of CIS entries. This allows us to use the PCCARD_CIS #defines generated to distinguish cards that don't have a Manufacturer and OEM.
|
71315 |
21-Jan-2001 |
imp |
remove duplicate entry that snuck in during the merge.
|
71284 |
20-Jan-2001 |
imp |
Sync to pccarddevs 1.9
|
71283 |
20-Jan-2001 |
imp |
Sync with NetBSD (again, after I got the most up to date file): o 1.111 imp Sync with FreeBSD. o 1.110 nonaka Add Roland SCP-55 o 1.109 ichiro add NANOSPEED ROOT-RZ2000 WLAN Card o 1.108 ichiro add EMTAC A2424i 11Mbps WLAN Card
|
71282 |
20-Jan-2001 |
imp |
sync with pccarddevs 1.8.
|
71281 |
20-Jan-2001 |
imp |
Correct entry for RATOC REX_R280 to comply with style used in the rest of the file.
|
71280 |
20-Jan-2001 |
imp |
Sync with pccarddevs.
|
71279 |
20-Jan-2001 |
imp |
Sync with NetBSD. v1.98->1.107: o 1.107 haya Add IO Data CBIDE2 ata interface card. o 1.106 jhawk s/NULL}/NULL }/ o 1.105 thorpej " " -> "&sp" in two entries, per Rafal Boni. o 1.104 thorpej Add SMC 2632W. From Rafal Boni, kern/11775. o 1.103 drochner add IBM microdrive o 1.102 soren Typo. o 1.101 hubertf Add ELSA WaveLAN card & a noname clone(?) o 1.100 toddpw Socket Comm. PC Card Ethernet, and tidy up naming. o 1.99 msaitoh MELCO LPC2-TX, Telecom Device TCD-HPC100, MACNICA ME1-JEIDA o 1.98 imp Sort BAY into numerical order. (already in FreeBSD)
|
70766 |
07-Jan-2001 |
peter |
This is a bandaid for a problem that is not entirely fixed yet.
The pccard_function_init() call creates a bunch of inactive resources that are persistant and configured on demand. When the child driver "allocates" a resource it is connected up to one of these. When the child releases the resource, we should not delete our copy, just deactivate it again. Otherwise there is nothing to recreate it again after several probe functions have run and done an alloc/release cycle. INVARIANTS shows 0xdeadc0de without this.
More work is needed to do a sweep though the pccard_function_disable() call to actually delete the resources for real. Right now, we leak memory on eject (at best), so Dont Do That(TM) yet. This affects 16 bit pccards on a cardbus bridge only. This will be fixed soon, but for now it gets the cards working.
Reviewed by: imp
|
70762 |
07-Jan-2001 |
imp |
This file follows style(9), so adjust various nits in the last few commits to conform to style(9), plus one other convention that I use: o Declare variables at the start of the function, rather than in blocks when it doesn't help understanding (mine). o 80 column limit. o BSD style statement continuation, rather than "gnu" style.
|
70761 |
07-Jan-2001 |
imp |
For bus_setup_intr, cookiep is a pointer to storage for the parent bus to use. We need to set it here.
This fixes the problem where a probe routine establishes and disestablishes the interrupt and then we get a panic in the probe routine.
However, we pass the pointer to the interrupt hanlder count to the parent bus, which writes its own cookie there, so there may be some problems with that which isn't apparent at the moment.
Commit made from: laptop running NEWCARD with sn driver (which works, but gets the wrong ethernet address).
|
70748 |
07-Jan-2001 |
imp |
o Now that I've had time to test the new interface, reintegrate it back in. o Fix OLDCARD to use the new interface. o Rename the offsetp argument to deltap to more closely reflect what it is returning (it returns the delta from the requested value to the actual value). o Remove duplicate $FreeBSD$ in pccbb.c o Allow deltap to be NULL. o Convert new isa pcic driver and add XXX comments that this function isn't actually implemented there (which means that NEWCARD pccard stuff won't work there until it is). o Revert attempts to make old inferface work in NEWCARD.
Subitted by: peter (Parts of the new version code)
|
70746 |
07-Jan-2001 |
imp |
Undo the interface change to CARD_GET_MEMORY_OFFSET. It wasn't tested by even a compile of the OLDCARD code, was unapproved by me the keeper of OLDCARD and broke OLDCARD and the ray driver.
Adjust new code to cope with the older interface.
If the interface changes in the future, it ***MUST*** be cleared by me so that the OLDCARD impacts taken into account. It code in card_if.m is used jointly by both OLDCARD and NEWCARD.
|
70742 |
07-Jan-2001 |
peter |
We do not, and hopefully never will, use the static pccard device table.
|
70715 |
06-Jan-2001 |
jon |
* Better kld support in pccbb/cardbus - pccbb no longer needs to remember whether a card is inserted. - pccbb reissues insertion on load of cardbus/pccard modules. - got rid of unnecessary delays in power functions. - Cardbus children are no longer deleted if probe/attach fails. - non-attached child devices are reprobed at driver_added.
* CARD interface to read CIS - added card_cis_read/card_cis_free interface to read arbitrary CIS data. This currently is only implemented in cardbus.
* pccard begins to work - pccard can now use higher memory space (and uses it by default). - set_memory_offset interface changed. - fixed ccr access, which was broken at multiple locations. - implement an interrupt handler - pccard can now share interrupts. - resource alloc/release/activate/deactivate functions gutted: some resources are allocated by the bridge before the child device is probed or attached. Thus the resource "belongs" to the bridge, and the pccard_*_resource functions need to fudge the owner/rid. - changed some error conditions to panics to speed debugging.
* Mutex fix - Giant is entered at the beginning of thread
|
69308 |
28-Nov-2000 |
jon |
Oops, broke newcard because I forgot to commit this in my last round of changes to pccbb.c
|
69139 |
25-Nov-2000 |
peter |
Regenerate. Note that pccarddevs_data.h is not used.
|
69138 |
25-Nov-2000 |
peter |
Add Kingston and the KNE-PC2 card
|
67897 |
29-Oct-2000 |
dwmalone |
Make a few more mallocs use M_ZERO.
Submitted by: josh@zipperup.org Submitted by: Robert Drehmel <robd@gmx.net> Approved by: imp
|
67424 |
22-Oct-2000 |
imp |
o Remove lots of kludges with iospace and irq. o Make sure that I/O space is aligned properly based on the length of the resource we're allocating. o Add bootverbose message when we fail.
|
67399 |
20-Oct-2000 |
imp |
Get the interrupt correct.
|
67333 |
19-Oct-2000 |
imp |
o Fix memory leak in ivars o Change name of bus o Change the panic on resource allocation failure to just a message. We'll work out why this fails later in the pcic/pccbb code merge.
|
67269 |
18-Oct-2000 |
imp |
o Remove a boatload of debugging printfs. o Report function number and config index on probe line o Activate the resources (I hope) when RF_ACTIVE is set on those resources I'm allocating on behalf of my children. o Always enable interrupts on multifunction cards in the multifunction register.
|
67242 |
17-Oct-2000 |
imp |
More NEWCARD fixes. We now almost properly print the probe message. o Remember the resources we allocate for the config entry. o When we get the resource, do an resource_list_add and do a resource_list_delete if we fail later in the resource list. o In the pccard bus, we allocate the resources. When a child asks for them, just return the resources that we allocated (thanks to Paul Richards and Mike Smith for the idea).
|
67187 |
16-Oct-2000 |
imp |
First cut at allocating the resources from the CIS after the probe, but before the attach. Things aren't completely working, but this is a good checkpoint.
Also, initialize the dev member of the function as soon as we add it to the parent.
|
67167 |
15-Oct-2000 |
imp |
Lots of little fixes. We no longer panic on card insert: o initialize ivars with bzero. o remove interrupt function pointer. netbsd needs it, but we don't. o add lots of comments about bogus things that I've been kludging to try to make the simple cases work. o add new ivar accessor for cis4 to match cis3. likely neither will be needed, but it doesn't hurt to have it.
|
66847 |
09-Oct-2000 |
imp |
o Record the pccard_function in the ivar. o Use a macro function to get the ivar for the child rather than the casting directly. This should be a little safer and easier to read.
|
66779 |
07-Oct-2000 |
imp |
o Implement get_ivars so matching routines will work (this causes compat probe routines to work). o Have a null driver_added routines. We need to be careful about probing until after we know we have a card. For the moment, we do nothing (which is safe). This fixes a panic when a driver is loaded w/o a card in the slot.
XXX still need to fix the resource list code. It is totally busted and XXX causes a panic in the child printing routine after the probe has XXX succeeded.
|
66200 |
22-Sep-2000 |
imp |
o Merge in changes to the NetBSD sources: pcmciavar.h 1.9->1.12 1.12, enami, minor coding nits 1.11, augustss, (pcmcia_devinfo NRFB) 1.10, cgd, add generic lookup routines pcmcia.c 1.14->1.23 1.23, drochner, (probe code printing, NRFB) 1.22, augustss, KNF 1.21, uch, (hpcmips tweaks NRFB) 1.20, chopps, remove bogus debug 1.19, enami, minor coding nits 1.18, augustss, (pcmcia_devinfo NRFB) 1.17, nathanw, LP64 printf fixes 1.16, cgd, add generic lookup routines 1.15, aymeric, printf fixes NRFB == not relevant to freebsd o Expand the pccard matching routines to include the ability to match against the CIS strings since our current driver database is based on that. o Add lots more ivars to get the information necessary to snag these values.
|
66058 |
19-Sep-2000 |
imp |
Implement indirection in the pccard probe/attach. This should make it possible to have different probe/attach semantics between the two systems and yet still use the same driver for both.
Compatibility methods for OLDCARD drivers. We use these routines to make it possible to call the OLDCARD driver's probe routine in the context that it expects. For OLDCARD these are implemented as pass throughs to the device_{probe,attach} routines. For NEWCARD they are implemented such such that probe becomes strictly a matching routine and attach does both the old probe and old attach.
compat devices should use the following:
/* Device interface */ DEVMETHOD(device_probe), pccard_compat_probe), DEVMETHOD(device_attach), pccard_compat_attach), /* Card interface */ DEVMETHOD(card_compat_match, foo_match), /* newly written */ DEVMETHOD(card_compat_probe, foo_probe), /* old probe */ DEVMETHOD(card_compat_attach, foo_attach), /* old attach */
This will allow a single driver binary image to be used for both OLDCARD and NEWCARD.
Drivers wishing to not retain OLDCARD compatibility needn't do this.
ep driver minorly updated.
sn driver updated more than minorly. Add module dependencies to allow module to load. Also change name to if_sn. Add some debugging code. attempt to fix the cannot allocate memory problem I'd been seeing. Minor formatting nits.
|
65917 |
16-Sep-2000 |
imp |
Change the interface to pccard_function_init. The interface is such that it looks for an acceptible one. Once it finds it, it should set the resources for the device. I say "should" because I've not written that. Also set an ivar for the child of pccard. Minor fix to the attach message printed, we lose the slot number, which I'll have to restore later. Adjust the pccard ivar so that we can save the function that corresponds to this driver so we can enable and disable it more easily. Save a pointer to the function so we know what we're dealing with.
There should be some way for the driver to specify which cfg it wants to activate. For now the pccard_function_init function just picks one, but we'll have to revisit this going forward. I'm not doing it now because I'd need some way to activate the card many times and I'm not sure that is desirable or even safe with some cards.
|
65483 |
05-Sep-2000 |
imp |
MFNetBSD: 1.6 2000/04/12 21:07:55 scw Add support for the SOHOware PCMCIA Ethernet card, model ND5100-E. This seems to be a re-badged NDC (National Datacomms. Corp) card. It needs a quirk entry due to lack of manufacturer tuple in the CIS. For some reason, the 'Tx/Rx' LED on the connector module is inverted such that it is off during network activity...
|
65098 |
26-Aug-2000 |
imp |
Minor tweaks to have the card be properly enabled via the CCR. Minor debug changes Minor power management pessimizations
|
65040 |
24-Aug-2000 |
imp |
Sync to pccarddevs 1.5
|
65039 |
24-Aug-2000 |
imp |
o Fix unterminated comment o Sync to NetBSD (rev NetBSD-user edited-log): 1.97 onoe add Samsung MagicLAN SWL-2000N 1.96 gmcgarry Add entries for all Xircom ethernet models. 1.95 onoe Add Farallon SkyLINE 11mb card as Intersil Prism2 [...] 1.94 joda add 3Com 3CRWE737A (AirConnect) 1.93 soren Include vendor name for IBM products. 1.92 onoe Add Farallon SkyLINE Wireless LAN Card for awi(4) [...] 1.91 soren Add Olicom GoCard. 1.90 gmcgarry Clean up XIRCOM entries - Add entry for Xircom CreditCard Ethernet + Modem 28 - Add entry for Intel EtherExpress PRO/100 - Add entry for Compaq Netelligent 10/100 Ethernet 1.89 is RATOC REX-R280 (another if_mbe_pcmcia card) support by [...] 1.88 joda Panasonic KXLC003 1.87 scw [...] SOHOware PCMCIA Ethernet card, model ND5100-E [...] 1.86 itojun add CIS for Corega Wireless LAN PCC-11 [...] o Minor diffs between the two files corrected to aid future sync.
|
64927 |
22-Aug-2000 |
imp |
Save a pointer to the dev, if any, that each function attach. Remove some bogus printfs.
|
64850 |
19-Aug-2000 |
imp |
o Move to using PCCARD_SOFTC(dev) o fill in the size of the actual softc, rather than 1 in data structure o minor debugging improvements.
|
64544 |
11-Aug-2000 |
imp |
Define get_memory_offset method
|
61788 |
18-Jun-2000 |
imp |
Matching commits to pccard for last pcic changes. We now at least to probe/attach. This is a checkpoint.
|
61779 |
18-Jun-2000 |
imp |
Add new functions. Also add comments to existing functions. These are needed for the pccard changes I've just committed.
|
60938 |
26-May-2000 |
jake |
Back out the previous change to the queue(3) interface. It was not discussed and should probably not happen.
Requested by: msmith and others
|
60833 |
23-May-2000 |
jake |
Change the way that the queue(3) structures are declared; don't assume that the type argument to *_HEAD and *_ENTRY is a struct.
Suggested by: phk Reviewed by: phk Approved by: mdodd
|
59427 |
20-Apr-2000 |
imp |
Remove bogus comment
|
59389 |
19-Apr-2000 |
imp |
OK. Next step: we read in CIS.
I've done this by having requests to allocate memory propigate up the tree. We'll see how well this works and reevaluate if it isn't working well. Also initialize ptr in the tuple. As well as minor reorg of memory allocation. Likely need to do similar things for I/O when the time comes.
I've move all defines from pccardchip.h into pccardvar.h and eliminated pccardchip.h.
|
59272 |
16-Apr-2000 |
imp |
Include <sys/bus.h>, which is needed after Doug's latest object changes.
|
59193 |
13-Apr-2000 |
imp |
checkpoint latest pccard/pcic hacking:
o Eliminate cross calls between the devices. Instead move to using the newbus messaging system. Added three new card calls: attach_card, detach_card, get_type. o Eliminate interrupt routine in pccard we never use. o Move from deactivate to detach for removing cards. o Start mapping CIS memory, but it is broken and causes panics. At least it is closer to working than before. o Eliminate struct device everywhere. It was bogus. o Initialize softc for pccard device so we have valid pointers to ourselves. o Implement routine to find the pcic ivar for a child device of the pccard so we can use it to talk to the pcic hardware. o Lots of minor tiding up.
This version now panics when we try to read the CIS. The next batch of work to make this work is what was outlined in my posting to mobile about resource allocation and such.
|
58997 |
04-Apr-2000 |
imp |
Fix pcic_detach_socket to get right pcic_handle. Pass sc->dev rather than a bogusly cast pccard_softc *sc.
This allows us to insert and remove cards w/o panicing the kernel. However, the cis isn't mapped in, so the pccard_scan_cis function fails.
|
58581 |
26-Mar-2000 |
imp |
Minor changes to some of the interfaces. Remove RF_PCCARD_ATTR in anticipation of removing it from sys/rman.h Add interface for setting "attributes" of pccard/cardbus devices. Minor formatting nits.
|
58546 |
25-Mar-2000 |
imp |
Regen
|
58545 |
25-Mar-2000 |
imp |
Merge 1.60 to 1.85 of NetBSD's pcmciadevs into our database.
|
56361 |
21-Jan-2000 |
hosokawa |
Propagate MAC address in CIS tupple to dev/ed/ driver. Many ed-based Ethernet PC-cards can't get correct MAC address without this patch.
Submitted by: Takanori Watanabe <takawata@shidahara1.planet.sci.kobe-u.ac.jp> Reviewed by: Warner Losh <imp@village.org>
|
55723 |
10-Jan-2000 |
imp |
Move xe driver from dev/pccard to dev/xe. Convert driver to newbus. Driver is not functional yet, but does compile. Tests with xe cards indicates that it doesn't panic the machine when they are present, but fail to probe. Interface help in the pcic/pccard layers are needed to complete this driver.
|
55720 |
10-Jan-2000 |
imp |
Eliminate pccard_chip_* tonight. o ifdef out pccardchip.h (almost all of it, there are dangling bits o Add rid/res members to pccard_function o remove pct/pch from pccard_softc o map memory properly in scan_cis (almost, see XXX for more work) o manage ccr. o remove bogus comment I added about touching the ccr being a layering violation for pccard. It is properly done at that level. o More function prototyping
|
55500 |
06-Jan-2000 |
imp |
Checkpoint of today's changes. We now get to the point where the pccard 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.
|
55325 |
03-Jan-2000 |
imp |
Connect interrupts and start processing them. We panic on card removal 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.
|
54250 |
07-Dec-1999 |
imp |
Tonight's cleanups. 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
|
54073 |
03-Dec-1999 |
mdodd |
Remove the 'ivars' arguement to device_add_child() and device_add_child_ordered(). 'ivars' may now be set using the device_set_ivars() function.
This makes it easier for us to change how arbitrary data structures are associated with a device_t. Eventually we won't be modifying device_t to add additional pointers for ivars, softc data etc.
Despite my best efforts I've probably forgotten something so let me know if this breaks anything. I've been running with this change for months and its been quite involved actually isolating all the changes from the rest of the local changes in my tree.
Reviewed by: peter, dfr
|
53898 |
29-Nov-1999 |
imp |
Sync generated files
|
53897 |
29-Nov-1999 |
imp |
Merge NetBSD 1.60 by jun: Support for TDK LAC-CF010 by Ichiro Fukuhara (ichiro@ichiro.org) on kern/8900 ichiro test TDK CF Card on Opensource matsuri,tokyo and send patch to us. thanx.
|
53873 |
29-Nov-1999 |
imp |
Flesh out the pccard bus_ methods with either the generic one (where it would work), or a specialized one. Most of these have been creatively stolen from pccard_nkb, which in turn stole from isa showing that generic bus_ versions of bus_{set,get,delete}_resource might be profitable.
Fix a couple of minor bugs introduced in the last round of updates from NetBSD.
Start on the pccard_ivar structure which will hold the resources and slot number.
Add tcic as a possible attachment for pccard and rename the attachment for pcicx to pcic since the name has changed since I originally wrote this stuff.
Next up: stringing together the various memory and I/O allocation/mapping primitives in i82365.c, final touches on the isa attach routine and other fun stuff in that line of attach.
|
53855 |
28-Nov-1999 |
imp |
Add resource activation routines to pcic driver. Minor cleanup of 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.
|
53814 |
28-Nov-1999 |
imp |
commit (re)generated files last.
|
53813 |
28-Nov-1999 |
imp |
Update pccard code to latest NetBSD code. This is the last merge 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
|
52632 |
29-Oct-1999 |
imp |
Disable old PCCARD_MODULE code.
This should fix LINT.
Prompted by: phk's explicit message about LINT breakage
|
52506 |
26-Oct-1999 |
imp |
Moderately hacked pccard code from newconfig. It is somewhat in incomplete and likely has problem. The code was originally pcmcia, but I renamed it to pccard and made it compile on FreeBSD -current. I converted SIMPLEQ to STAILQ as well as a few sc->dev.xname -> device_printf changes. This is a green port of fairly mature code.
I derived this work from the FreeBSD newconfig project (http://www.jp.freebsd.org/newconfig). Any problems with it are likely introduced by me.
Obtained from: newconfig project
|
51646 |
25-Sep-1999 |
phk |
Remove NBPF conditionality of bpf calls in most of our network drivers.
This means that we will not have to have a bpf and a non-bpf version of our driver modules.
This does not open any security hole, because the bpf core isn't loadable
The drivers left unchanged are the "cross platform" drivers where the respective maintainers are urged to DTRT, whatever that may be.
Add a couple of missing FreeBSD tags.
|
51594 |
23-Sep-1999 |
peter |
Restore vendor $Id$ now that it won't be clobbered.
|
50477 |
28-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
49535 |
08-Aug-1999 |
phk |
Decommision miscfs/specfs/specdev.h. Most of it goes into <sys/conf.h>, a few lines into <sys/vnode.h>.
Add a few fields to struct specinfo, paving the way for the fun part.
|
48645 |
06-Jul-1999 |
des |
Rename bpfilter to bpf.
|
48118 |
22-Jun-1999 |
obrien |
Wrap the definition of "XE_DEBUG" so it is overridable from the ``cc'' commandline or kernel conf file.
|
48117 |
22-Jun-1999 |
obrien |
Fix conflicts.
|
48115 |
22-Jun-1999 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r48114, which included commits to RCS files with non-trunk default branches.
|
47640 |
31-May-1999 |
phk |
Simplify cdevsw registration.
The cdevsw_add() function now finds the major number(s) in the struct cdevsw passed to it. cdevsw_add_generic() is no longer needed, cdevsw_add() does the same thing.
cdevsw_add() will print an message if the d_maj field looks bogus.
Remove nblkdev and nchrdev variables. Most places they were used bogusly. Instead check a dev_t for validity by seeing if devsw() or bdevsw() returns NULL.
Move bdevsw() and devsw() functions to kern/kern_conf.c
Bump __FreeBSD_version to 400006
This commit removes: 72 bogus makedev() calls 26 bogus SYSINIT functions
if_xe.c bogusly accessed cdevsw[], author/maintainer please fix.
I4b and vinum not changed. Patches emailed to authors. LINT probably broken until they catch up.
|
47156 |
14-May-1999 |
obrien |
if_xe* now lives in sys/dev/pccard/
|
47152 |
14-May-1999 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r47151, which included commits to RCS files with non-trunk default branches.
|
47149 |
14-May-1999 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r47148, which included commits to RCS files with non-trunk default branches.
|
47146 |
14-May-1999 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r47145, which included commits to RCS files with non-trunk default branches.
|
47143 |
14-May-1999 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r47142, which included commits to RCS files with non-trunk default branches.
|
47140 |
14-May-1999 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r47139, which included commits to RCS files with non-trunk default branches.
|
47137 |
14-May-1999 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r47136, which included commits to RCS files with non-trunk default branches.
|
47134 |
14-May-1999 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r47133, which included commits to RCS files with non-trunk default branches.
|