Move attachment of pccard children into exca library. Attach thecardbus and pccard children before the sysctls are added rather thanafter.
Add slot number ivar to return which slot number the child is attached to.This will always be 0 for pccbb, but may be non-zero for other kinds of bridges,should they show up in the tree. Make quer
Add slot number ivar to return which slot number the child is attached to.This will always be 0 for pccbb, but may be non-zero for other kinds of bridges,should they show up in the tree. Make querying it generic.
show more ...
Regularize my copyright noticeo Remove All Rights Reserved from my noticeso [email protected] everywhereo regularize punctiation, eliminate date rangeso Make sure that it's clear that I don't clai
Regularize my copyright noticeo Remove All Rights Reserved from my noticeso [email protected] everywhereo regularize punctiation, eliminate date rangeso Make sure that it's clear that I don't claim All Rights reserved by listing All Rights Reserved on same line as other copyright holders (but not me). Other such holders are also listed last where it's clear.
Use M. Warner Losh everywhere on my copyrights.Remove 'All Rights Reserved' where I can.
sys/dev: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using misidentified many licenses so this was mostly a manual - error
sys/dev: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using misidentified many licenses so this was mostly a manual - errorprone - task.The Software Package Data Exchange (SPDX) group provides a specificationto make it easier for automated tools to detect and summarize well knownopensource licenses. We are gradually adopting the specification, notingthat the tags are considered only advisory and do not, in any way,superceed or replace the license texts.
Remove pc98 support completely.I thank all developers and contributors for pc98.Relnotes: yes
sys: use our roundup2/rounddown2() macros when param.h is available.rounddown2 tends to produce longer lines than the original codeand when the code has a high indentation level it was not really
sys: use our roundup2/rounddown2() macros when param.h is available.rounddown2 tends to produce longer lines than the original codeand when the code has a high indentation level it was not reallyadvantageous to do the replacement.This tries to strike a balance between readability using the macrosand flexibility of having the expressions, so not everything isconverted.
CardBus instead of cardbus.
__LP64__ is what's defined, not _LP64_, according to the manual (andalso experience).
fix spelling errorSubmitted by: trasz
Don't check for mapping above 4GB on 32-bit platforms.
Add some additional debugging for the memory code.
First cut at fixing memory mapping botch. Nobody must use the ray(4)driver since it couldn't have worked with NEWCARD w/o these fixes.This should allow selecting 16-bit memory width as well (which
First cut at fixing memory mapping botch. Nobody must use the ray(4)driver since it couldn't have worked with NEWCARD w/o these fixes.This should allow selecting 16-bit memory width as well (which waswhat was broken).
- Fix exca_(io|mem)_map() to return proper errno values.- Change exca_activate_resource() to call BUS_ACTIVATE_RESOURCE() before calling exca_(io|mem)_map() since the latter use rman_get_bus(tag|h
- Fix exca_(io|mem)_map() to return proper errno values.- Change exca_activate_resource() to call BUS_ACTIVATE_RESOURCE() before calling exca_(io|mem)_map() since the latter use rman_get_bus(tag|handle) and the recent changes to nexus(4) mean that you need to activate a resource before reading the bus tag and handle. This was true before, but now the nexus(4) drivers on x86 and ia64 are more forceful about it.Reviewed by: imp
exca->pccarddev should always be non-null now. Only call it when thedevice is actually attached.
It turns out that it is easier to not NULL out pccard and cardbusdevice pointers. They don't change as the children device driverscome and go. Rather, check to see if the device is attached where
It turns out that it is easier to not NULL out pccard and cardbusdevice pointers. They don't change as the children device driverscome and go. Rather, check to see if the device is attached where wewould have checked ! NULL. This solves many asymmetries in the codethat likely could lead to crashes when loading/unloading cbb withoutone or more of the expected children's driver not present.
Cleanup sloppy ifdef.
The TOPIC97 and TOPIC100 seem to have a special register in the excaspace that enables low voltage operation (and maybe other stuff).Enable the bits in this register so low voltage 16-bit cards may
The TOPIC97 and TOPIC100 seem to have a special register in the excaspace that enables low voltage operation (and maybe other stuff).Enable the bits in this register so low voltage 16-bit cards may work.Existance noticed in NetBSD driver.
Don't dereference an uninitialized pointer.
Set the name of the chipset found
Minor commentary correction
MFP4: Minor tweaks.
'PC Card' instead of other variants
Properly calculate the offset in mapping the memory of pccards. Thisallows my 3com cards to work again. It appears that this code wasonce there, but I removed it when I added the alignment issues
Properly calculate the offset in mapping the memory of pccards. Thisallows my 3com cards to work again. It appears that this code wasonce there, but I removed it when I added the alignment issues.MFC After: 5 daysPR: 70639 (and likely others)
Start each of the license/copyright comments with /*-, minor shuffle of lines
12